12-06-2024 06:34 PM
I am configuring a Cisco router, 4200 series, and the router is not giving out DHCP.
I have set the router to take DHCP from the ISP router. Config below. Please help.
Interface gigabitethernet 0/0
Ip address dhcp
Ip nat outside
No shutdown
Interface gigabitethernet 0/1
ip address 30.30.30.1 255.255.240.0
Ip nat inside
No shutdown
Ip dhcp pool mainusers
Network 30.30.0.0 255.255.240.0
default-router 30.30.30.1
Dns-server 8.8.8.8 4.2.2.2
Ip route 0.0.0.0 0.0.0.0 192.168.1.1
Ip access-list standard 1
Permit any
Ip nat inside source list 1 interface gigabitethernet 0/0 overload
Solved! Go to Solution.
12-06-2024 06:45 PM
Network 30.30.0.0 255.255.240.0
The network and it mask not match your interface IP 30.30.30.1 255.255.240.0
MHM
12-06-2024 07:44 PM
@mailabiny hi, correct your DHCP pool network as below
Ip dhcp pool mainusers
Network 30.30.30.0 255.255.240.0
12-06-2024 06:45 PM
Network 30.30.0.0 255.255.240.0
The network and it mask not match your interface IP 30.30.30.1 255.255.240.0
MHM
12-06-2024 07:44 PM
@mailabiny hi, correct your DHCP pool network as below
Ip dhcp pool mainusers
Network 30.30.30.0 255.255.240.0
12-11-2024 06:57 PM
Thanks, for the help I have sorted out my dhcp now, but my internet is not going through. I changed my ip route 0.0.0.0 0.0.0.0 192.168.1.1 to ip route 0.0.0.0 0.0.0.0 dhcp since my WAN is dhcp, but still internet can't go through. What could be the problem? Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide