cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
298
Views
10
Helpful
6
Replies

Pc does not access isp through router 2811

Translator
Community Manager
Community Manager

Hello good night, I am having the following problem, I have a router 2811 in my personal lab and I am trying to put this router connected directly to the isp and my connected machines in 2811.

ISP —> ROUTER 2811 —> PC

Well Router 2811 has port 0/0 configured to receive the isp and this working normal, I can drip the dns from google and even the isp gateway normally through the 2811, there port 0/1 is connected one of my machines and on this port a dhcp was made and it works fine the Pc can get the ip from dhcp normally, but the Pc can not access the isp, on the cmd I can drip the router normally and the router drips the normal Pc, but the Pc does not drip the isp and you don't even have internet access. I had done this before and it worked, but I must have forgotten something, I did some routes to see if it worked, but they didn't work, so please help me in this task. I'm going to send the show running here to you.

ip dhcp excluded-address 192.168.10.254
!
ip dhcp pool VIVO
network 192.168.10.0 255.255.255.0
dns-server 8.8.8.8
default-router 192.168.10.254
!
!
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
crypto pki token default removal timeout 0
!
!
!
!
license udi pid CISCO2811 sn FTX1434AHWS
!
redundancy
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address dhcp
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.10.254 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0/0
no ip address
shutdown
no fair-queue
clock rate 2000000
!
interface Serial0/0/1
no ip address
shutdown
clock rate 2000000
!
interface Serial0/1/0
no ip address
shutdown
clock rate 2000000
!
interface Serial0/1/1
no ip address
shutdown
clock rate 2000000
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 192.168.15.1
!
logging esm config
!
!
!
!
!
!
control-plane
!

 

6 Replies 6

Hi,

1. use #ip routing command to enable routing

2. i assume your ISP connected interface as Fa0/0 and you have already received IP via DHCP to interface. check that using #sh ip int bri  command and make sure ip is there.

3. check #sh ip route and verify your default route is available in routing table

4. check pining to 192.168.10.254 and make sure your PC can ping to gateway properly via LAN

 

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

Hello,

there are numerous issues with your configuration. What is the IP address you are getting through DHCP ? The easiest would be to configure the routet for NAT. Add the below to your router:

interface FastEthernet0/0

ip nat outside

interface FastEthernet0/1

ip nat inside

Ip nat inside source list 1 interface FastEthernet0/0 overload

access-list 1 permit 192.168.10.0 0.0.0.255

Just now i did lab, it is working perfectlyISP.png

,,
Ashish K
***Please Rate Helpful Responses***

sorry one colleague is mention this point.
No more addition 

paul.driver
Level 1
Level 1

Hello
In addtion to NAT please change your default static route

no ip route 0.0.0.0 0.0.0.0 192.168.15.1
ip route 0.0.0.0 0.0.0.0  fa0/0 dhcp

Hello
In addtion to NAT please change your default static route

no ip route 0.0.0.0 0.0.0.0 192.168.15.1
ip route 0.0.0.0 0.0.0.0  fa0/0 dhcp


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking products for a $25 gift card