10-03-2016 06:56 PM - edited 03-05-2019 07:11 AM
Hi, I am trying to configure an old cisco 881 router on my office to allow internet access for my LAN PC/laptops. ISP has provided me with internet access DHCP. I have tried configuring it and able to ping to internet from the router itself. But when i plug in a PC into port 2 for example, it is able to get ip address from DHCP but it cannot ping or go out of internet. Here is my running config: show running-config Building configuration... Current configuration : 1655 bytes ! ! Last configuration change at 06:44:38 UTC Mon Oct 3 2016 ! NVRAM config last updated at 06:44:39 UTC Mon Oct 3 2016 ! version 15.0 no service pad service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname test ! boot-start-marker boot-end-marker ! ! no aaa new-model memory-size iomem 10 ! ! no ip source-route no ip routing ! ! ip dhcp pool DHCPpool import all network 192.168.2.0 255.255.255.0 dns-server 8.8.8.8 8.8.4.4 default-router 192.168.2.99 ! ! no ip cef no ip domain lookup ip name-server 8.8.8.8 ip name-server 8.8.4.4 no ipv6 cef ! ! license udi pid CISCO881-K9 sn FGL152926YX interface FastEthernet0 ! interface FastEthernet1 ! interface FastEthernet2 ! interface FastEthernet3 ! interface FastEthernet4 ip address dhcp ip nat outside ip virtual-reassembly no ip route-cache duplex auto speed auto ! interface Vlan1 ip address 192.168.2.99 255.255.255.0 ip nat inside ip virtual-reassembly no ip route-cache ! ip forward-protocol nd no ip http server no ip http secure-server ! ip nat inside source list 1 interface FastEthernet4 overload ip route 0.0.0.0 0.0.0.0 dhcp ! ip access-list extended NAT permit ip 192.168.2.0 0.0.0.255 any permit udp any eq bootps any eq bootpc ip access-list extended inside-nat-pool permit ip 192.168.2.0 0.0.0.255 any ! access-list 1 permit 192.168.2.0 0.0.0.255 ! ! ! ! ! control-plane ! ! line con 0 no modem enable line aux 0 line vty 0 4 login ! scheduler max-task-time 5000 end I need advise on how can i get the PC to ping out to internet. thanks
Solved! Go to Solution.
10-03-2016 07:12 PM
Hi There,
It looks like in your config you have ip routing and cef disabled.
Can you please enable the following in your config?
ip routing
ip cef
Please let us know if that fixes your issue.
10-03-2016 07:12 PM
Hi There,
It looks like in your config you have ip routing and cef disabled.
Can you please enable the following in your config?
ip routing
ip cef
Please let us know if that fixes your issue.
10-03-2016 07:21 PM
it works.
thanks!
10-03-2016 08:59 PM
Thanks for following up and confirming!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide