Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco Router 2600

Status
Not open for further replies.

Geek1004932

Technical User
Feb 5, 2012
1
GB
Hi,

Hoping someone can help me here. I am wanting to do the following and it isnt working (see the attached file)

I am able to ping the Modem and get replies - Infact I am able to ping anything but I cannot get anything from the internet.I have tried pinging 8.8.8.8 and I get Request timed out.

Any ideas? I have copied a sh run for you to take a look at the config.

If I ping the Modem on 192.168.100.1 I get replies, If i do a trace route it stops at 192.168.1.1



RTR1#sh run
Building configuration...
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname RTR1
!
enable password ******
!
!
!
!
!
ip subnet-zero
no ip domain-lookup
!
ip dhcp pool DHCP
network 192.168.1.0 255.255.255.192
dns-server 8.8.8.8
default-router 192.168.1.1
!
ip audit po max-events 100
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.100.2 255.255.255.252
no ip directed-broadcast
duplex auto
speed auto
no cdp enable
!
interface FastEthernet0/1
ip address 192.168.1.1 255.255.255.0
no ip directed-broadcast
duplex auto
speed auto
no cdp enable
!
interface Ethernet1/0
no ip address
no ip directed-broadcast
shutdown
no cdp enable
!
interface Ethernet1/1
no ip address
no ip directed-broadcast
shutdown
no cdp enable
!
interface Ethernet1/2
no ip address
no ip directed-broadcast
shutdown
no cdp enable
!
interface Ethernet1/3
no ip address
no ip directed-broadcast
shutdown
no cdp enable
!
ip classless
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
no ip http server
!
access-list 101 permit ip any any
access-list 101 deny ospf any any
no cdp run
!
line con 0
transport input none
line aux 0
line vty 0 4
login
!
no scheduler allocate
end
RTR1#

I have also tried changing the IP route to 0.0.0.0 0.0.0.0 196.168.100.1 (the IP address of my modem)

Any help would be great
 
well unless you are running some sort of routing protocol between your Modem and your router, your modem wont know how to get to 192.168.1.0/24 network ...

so you'll need to nat.
Code:
!
int fa0/0
ip nat outside
!
int fa0/1
ip nat inside
!
access-list 1 remark NATTING 
acces-list 1 permit 192.168.1.0 0.0.0.255
!
ip nat inside source list 1 interface fa0/0 overload
!
**most of this is off memory so you might have to use a question mark here and there to get the full commands.. but THAT should do it.. .


We must go always forward, not backward
always up, not down and always twirling twirling towards infinity.
 
on a second note remove the default route fro your router.

a) the dhcp client config on fa0/0 will inject a default route into your table.

b) you dont want your router to start caching arp for every page you'll ever visist.



We must go always forward, not backward
always up, not down and always twirling twirling towards infinity.
 
As alluded to above, you're modem will need a route back to 192.168.1.0/24
Is that in?
 
you don't want your router caching ARP fOr every page you visit"

Why would it do that?

It's going to use the default GW for every page he visits so ARP will give the MAC of his next hop.
 
vince...
cause he has it pointed to the interface.. and not the next hop ...



We must go always forward, not backward
always up, not down and always twirling twirling towards infinity.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top