cisco dhcp & nat

May 14, 2005 2 Replies

Hi all,



I'm trying to setup my cisco 3620 router as a broadband router. For this i've set eth0/0 to dhcp and this interface receives an ip address without any problems from my isp.


Internet[eth0/0]3620router[eth1/0]2950switchlaptop



I've setup nat overloading and a dhcp pool.



Eth1/0 has an ip-address(192.168.0.1) and is connected to a 2950 switch. On this switch my laptop is attached and gets an ip address (192.168.0.100)


From my router i can ping everything (also
formatting link

>From my laptop i can ping all interfaces on my router but not

formatting link
Resulting in that i can't reach the internet.


Can someone please take a look at my running-config and hopefully tell me what's wrong.


Thxs in advance guy's


here's my show run: c3600#sh run Building configuration...


Current configuration : 1021 bytes ! version 12.2 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname c3600 ! logging queue-limit 100 ! ip subnet-zero ! ! no ip dhcp conflict logging ip dhcp excluded-address 192.168.0.1 192.168.0.99 ! ip dhcp pool intranet import all network 192.168.0.0 255.255.255.0 default-router 192.168.0.1 ! frame-relay switching call rsvp-sync ! ! ! ! ! ! ! ! interface Ethernet0/0 bandwidth 1500 ip address dhcp ip nat outside half-duplex fair-queue ! interface Serial0/0 no ip address shutdown ! interface Serial0/1 no ip address dce-terminal-timing-enable no cdp enable ! interface BRI1/0 no ip address encapsulation hdlc shutdown ! interface Ethernet1/0 ip address 192.168.0.1 255.255.255.0 ip nat inside half-duplex fair-queue hold-queue 32 in ! ip default-gateway 81.164.92.91 ip nat inside source list 1 interface Ethernet1/0 overload ip classless ip http server ! ! dial-peer cor custom ! ! ! ! line con 0 line aux 0 line vty 0 4 login ! end


c3600#



Lorre



What does "sorce list 1" refer to? You need to add an access list...

access-list 1 permit 192.168.0.0 0.0.0.255

Hi Lorre,

This should be a default route, not a default gateway. IE ip route 0.0.0.0 0.0.0.0 81.164.92.91 Default gateway is for Router management (why the router can get outside), Default route is for Routing traffic passing through the Router.

I can't find your source list 1 ACL - that should be the inside network you wish to translate using NAT.

Cheers.....................pk.

Join the Discussion

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

Didn't find your answer?

Ask the community — no account required