Need help with DHCP

Sep 26, 2007 3 Replies

Hi, I'm having problem adding DHCP service to my existing network. My laptop is getting priviate IP assigned when plugged into FastEthernet4/0/0, and I can ping them within network from my public subnet aa.bb.cc.0/20, but I can't seem to get out to the Internet from private subnet. Possibly a routing issue? Please help. Note: aa.bb.cc.0/20 is my public subnet, xx.yy.zz.48/30 is upstream provider, 10.1.1.0/24 is unable to brows.



!
10.1.1.0 255.255.255.0 dns-server aa.bb.cc.3 aa.bb.cc.4 default-router 10.1.1.1 domain-name abc.com lease infinite ! interface FastEthernet4/0/0 ip address 10.1.1.1 255.255.255.0 no ip redirects no ip unreachables no ip proxy-arp ip route-cache flow no ip mroute-cache load-interval 30 full-duplex no cdp enable ! interface FastEthernet5/0/0 description --- Internet Gateway ip address xx.yy.zz.50 255.255.255.248 ip access-group 111 in ip verify unicast reverse-path no ip redirects no ip unreachables no ip proxy-arp ip route-cache flow no ip mroute-cache load-interval 30 full-duplex no cdp enable ! interface FastEthernet5/0/1 description --- LAN for Switch ip address aa.bb.cc.1 255.255.240.0 no ip redirects no ip unreachables no ip proxy-arp ip route-cache policy ip route-cache flow no ip mroute-cache load-interval 30 full-duplex no cdp enable ! ip route 0.0.0.0 0.0.0.0 xx.yy.zz.49

Without NATing, how is this supposed to work? You may route out to the internet, but the internet does not know how to get back to a private IP address range that is not NATed to a public IP. Am I missing something?

Sorry, I forgot about NAT. Below didn't work: ! interface FastEthernet5/0/0 ... ip nat outside ! ip nat inside source list 1 interface FastEthernet5/0/0 overload ! access-list 1 permit 10.1.1.0 0.0.0.255 !

Was missing "ip nat inside". It's working now. Thank you.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required