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

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

Reply to
gymarines
Loading thread data ...

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

Reply to
www.networking-forum.com

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.