cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
859
Views
8
Helpful
15
Replies

CISCO 4321 suddenly not generating ip from POOL

FIPD
Level 1
Level 1

Greeting!  After the power outage our router started not giving out IP addresses from a List of Pools. im puzzled bcoz setting used to work fine.


ip dhcp excluded-address 192.168.2.1 192.168.2.30
ip dhcp excluded-address 192.168.10.1 192.168.10.100
ip dhcp excluded-address 192.168.20.1 192.168.20.100
ip dhcp excluded-address 192.168.30.1 192.168.30.30
!
ip dhcp pool MAS
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
domain-name MASr9
dns-server 192.168.10.98 1.1.1.3
!
ip dhcp pool vlan10
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
dns-server 192.168.10.98 1.1.1.3
!
ip dhcp pool vlan20
network 192.168.20.0 255.255.255.0
default-router 192.168.20.1
dns-server 192.168.10.98 1.1.1.3
!
ip dhcp pool vlan30
network 192.168.30.0 255.255.255.0
default-router 192.168.30.1
dns-server 192.168.10.98 1.1.1.3
!
!
!
!
!
subscriber templating
!
multilink bundle-name authenticated
!

!
!
license udi pid ISR4321/K9 sn FDO21330XTK
!
spanning-tree extend system-id
!
!
redundancy
mode none
!
!
vlan internal allocation policy ascending
!
!
class-map type inspect match-all 587
match access-group name smtps
!

!
interface GigabitEthernet0/0/0
no ip address
negotiation auto
pppoe enable group global
pppoe-client dial-pool-number 1
!
interface GigabitEthernet0/0/1
ip address 10.10.10.2 255.255.255.252
negotiation auto
!
interface GigabitEthernet0/2/0
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet0/2/1
switchport access vlan 20
switchport mode access
!
interface GigabitEthernet0/2/2
switchport access vlan 30
switchport mode access
!
interface GigabitEthernet0/2/3
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0
vrf forwarding Mgmt-intf
no ip address
shutdown
negotiation auto
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
ip address 192.168.10.1 255.255.255.0
ip helper-address 192.168.10.1
ip nat inside
!
interface Vlan20
ip address 192.168.20.1 255.255.255.0
ip helper-address 192.168.20.1
ip nat inside
!
interface Vlan30
ip address 192.168.30.1 255.255.255.0
ip helper-address 192.168.30.1
ip nat inside
!
interface Vlan100
ip address 192.168.2.1 255.255.255.0
ip helper-address 192.168.2.1
ip nat inside
!
interface Dialer2
mtu 1492
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
ppp chap hostname PGN
ppp chap password 0
!
!
router eigrp 10
network 10.10.10.0 0.0.0.3
network 192.168.1.0
network 192.168.2.0
network 192.168.10.0
network 192.168.20.0
network 192.168.30.0
!
ip nat inside source static tcp 192.168.2.11 3389 x.x.x.x 3389 extendable
ip nat inside source static tcp 192.168.2.14 8000 x.x.x.x 8000 extendable

ip nat inside source list 101 interface Dialer2 overload
ip forward-protocol nd
no ip http server
no ip http secure-server
ip tftp source-interface GigabitEthernet0
ip route 0.0.0.0 0.0.0.0 Dialer2

15 Replies 15

Share 

Show ip dhcp pool

Show ip dhcp statistics 

MHM

IMG_20240620_145202.jpg

 these are the results..

run 

debug dhcp server 
and 
sorry I dont see 
show ip dhcp statistics

MHM 

IMG20240621082552.jpg

 all at zero..

there is no Packet at all all counter is zero 
can you share the router and Sw config let me check it in lab

MHM

If you do show log are there any messages that relate to DHCP?

I am interested in this statement "i can configure the PC with static ip but cant ping the gateway" This suggests that there may be a basic connectivity issue. Can you post the output of these commands on the router:

show ip interface brief

show arp

I notice in the router config that you are specifying helper address

interface Vlan10
ip address 192.168.10.1 255.255.255.0
ip helper-address 192.168.10.1

While I am not sure that it is a problem it is certainly not needed. I suggest that you remove the helper address commands on the router.

I see in the router config what appear to be 4 switch ports configured as access ports

interface GigabitEthernet0/2/0
switchport access vlan 10
switchport mode access

Can you tell us what is connected on these ports?

I am a bit puzzled about the fact that there are 4 vlan interfaces with IP addresses on the router and 4 SVIs with IP addresses on the switch. Is there a reason for this?

Can you tell us how the switch is connected to the router?

HTH

Rick

Hello,

try and stop/start the DHCP service:

4321(config)#no service dhcp

4321(config)#service dhcp

No go, tried no service dhcp then reload then sevice dhcp ..

balaji.bandi
Hall of Fame
Hall of Fame
Greeting!  After the power outage our router started not giving out IP addresses from a List of Pools. im puzzled bcoz setting used to work fine.

This was not clear where the clients connected and not able to get IP address - is the client connected same device ?

or is the clients connected to switch ? if that is switch, what port that is connected on the router ?

Can you configure static IP to PC in that range and able to ping gateway and able to get internet ?

 

ip nat inside source list 101 interface Dialer2 overload

Also you have ACL 101 - i do not see anything matching ?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

router - switch-devices

clients are connected to a switch, router has a NIM that has 4 switch ports and here the switch is connected.

Can you configure static IP to PC in that range and able to ping gateway and able to get internet ?

i can configure the PC with static ip but cant ping the gateway

the ACL 101 is only for giving internet access to the enrolled ip, i failed to copy the entire setting

access-list 101 permit ip host 192.168.20.20 any

router - switch-devices

what port that switch connected on the router ? can you post switch configuration.? (is the switch acting layer2 ?)

as i see some of the config on router, as below is the any chance connected to switch.

interface GigabitEthernet0/0/1
ip address 10.10.10.2 255.255.255.252
negotiation auto

 can you post below command output

show cdp neigh from switch and router.

show run from switch

show ip interface brief from switch and router.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

spanning-tree mode rapid-pvst
spanning-tree extend system-id
diagnostic bootup level minimal
!
vlan internal allocation policy ascending
!
!
!
!
!
interface GigabitEthernet0/1
switchport trunk allowed vlan 10
switchport trunk native vlan 10
switchport mode trunk
ip dhcp snooping trust
!
interface GigabitEthernet0/2
switchport trunk allowed vlan 20
switchport trunk native vlan 20
switchport mode trunk
ip dhcp snooping trust
!
interface GigabitEthernet0/3
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet0/4
switchport access vlan 20
switchport mode access
!
interface GigabitEthernet0/5
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet0/6
switchport access vlan 20
switchport mode access
!
interface GigabitEthernet0/7
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet0/8
switchport access vlan 20
switchport mode access
!
interface GigabitEthernet0/9
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet0/10
switchport access vlan 20
switchport mode access
!
interface GigabitEthernet0/11
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet0/12
switchport access vlan 20
switchport mode access
!
interface GigabitEthernet0/13
switchport trunk allowed vlan 30
switchport trunk native vlan 30
switchport mode trunk
ip dhcp snooping trust
!
interface GigabitEthernet0/14
switchport trunk allowed vlan 100
switchport trunk native vlan 100
switchport mode trunk
ip dhcp snooping trust
!
interface GigabitEthernet0/15
switchport access vlan 30
switchport mode access
!
interface GigabitEthernet0/16
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/17
switchport access vlan 30
switchport mode access
!
interface GigabitEthernet0/18
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/19
switchport access vlan 30
switchport mode access
!
interface GigabitEthernet0/20
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/21
switchport access vlan 30
switchport mode access
!
interface GigabitEthernet0/22
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/23
switchport access vlan 30
switchport mode access
!
interface GigabitEthernet0/24
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/25
!
interface GigabitEthernet0/26
!
interface GigabitEthernet0/27
!
interface GigabitEthernet0/28
!
interface Vlan1
no ip address
no ip route-cache
!
interface Vlan10
ip address 192.168.10.2 255.255.255.0
no ip route-cache
!
interface Vlan20
ip address 192.168.20.2 255.255.255.0
no ip route-cache
!
interface Vlan30
ip address 192.168.30.2 255.255.255.0
no ip route-cache
!
interface Vlan100
ip address 192.168.2.2 255.255.255.0
no ip route-cache
!
ip http server
ip http secure-server

Unfortunately i don't have right information to guide you  - let me repost my question here and if you can able to answer them to understand how you connected Router and Switch is very important - since you have access port on router and you have trunk config on other side in different ports - it was not clear here.

If the switch is layer then you do not so many SVI on the switch.

 

router - switch-devices

what port that switch connected on the router ? can you post switch configuration.? (is the switch acting layer2 ?)

as i see some of the config on router, as below is the any chance connected to switch.

interface GigabitEthernet0/0/1
ip address 10.10.10.2 255.255.255.252
negotiation auto

 can you post below command output

show cdp neigh from switch and router.

show run from switch

show ip interface brief from switch and router.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

FIPD
Level 1
Level 1

thank you everyone for the help,  i found the culprit. somewhat the command 'ip dhcp snooping trust' was not present inside my config which was there before the outage, but this fix my issue since i was using DHCP snooping on my router and switches. thank you again for the support. the community is really nice and really supportive

Review Cisco Networking for a $25 gift card