cisco 2621 router I can ping www.google.com through the console but no internet

Sep 30, 2005 1 Replies

My router config Using 825 out of 29688 bytes ! version 12.2 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname ucdcp ! enable secret 5. enable password xxxxxxx ! memory-size iomem 15 ip subnet-zero no ip routing ! ! ip name-server 151.198.0.39 ip name-server 151.202.0.85 ! ! ! ! interface FastEthernet0/0 description "WAN INTERFACE OF 2621" ip address 68.236.212.157 255.255.255.0 ip nat outside no ip route-cache speed auto full-duplex ! interface FastEthernet0/1 description "LAN INTERFACE OF 2621" ip address 192.168.0.1 255.255.255.0 ip nat inside no ip route-cache speed auto full-duplex ! ip classless ip route 0.0.0.0 0.0.0.0 68.236.212.1 no ip http server ! ! line con 0 line aux 0 line vty 0 4 password xxxxxxxx login ! end



You need something like:

access-list 1 permit 192.168.0.0 0.0.0.255

ip nat pool ANYTHING 68.236.212.157 68.236.212.157 netmask 255.255.255.0 ip nat inside source list 1 pool ANYTHING overload

This tells the NAT what traffic to translate and what IP address to use...

Regards, Steve

formatting link

Join the Discussion

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

Didn't find your answer?

Ask the community — no account required