cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
235
Views
2
Helpful
3
Replies

Cisco Router 4200 series setup, dhcp not going through HELP

mailabiny
Level 1
Level 1

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

2 Accepted Solutions

Accepted Solutions

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

View solution in original post

@mailabiny hi, correct your DHCP pool network as below


Ip dhcp pool mainusers
Network 30.30.30.0 255.255.240.0

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

View solution in original post

3 Replies 3

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

@mailabiny hi, correct your DHCP pool network as below


Ip dhcp pool mainusers
Network 30.30.30.0 255.255.240.0

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

mailabiny
Level 1
Level 1

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

Review Cisco Networking for a $25 gift card