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!

Non Cisco ADSL router Connecting to Cisco 2801 router help

Status
Not open for further replies.

skk391

Technical User
Mar 3, 2009
332
GB
I have an problem that I am trying to setup in my test lab.

I have a standard adsl modem its a 3com. I want to connect a cisco 2801 router to the adsl modem so that I can get a internet connection on a machine connected to the router to test ACLs on.

I got to the point where I could ping by domain name and ip on the cisco router. but I could never get the
host to connect to the Internet. Does anyone have any experience of connecting a non cisco adsl modem to
a cisco router and getting host to connect to the net?

I havent posted a show config because I have been messing around with it for about 2 days and got mayself into a huge tangle!
So Im probladly going to wipe the config and start again with it.

Can someone please point me in the right direction with it.
I have done a tracroute on the pc and it stops at the cisco router. Even though I put an gateway of last resort route on the cisco router ...

ip route 0.0.0.0 0.0.0.0 192.168.1.1 where 192.168.1.1 is the non cisco router.

I also tried the next hop address to be the ISP's default gateway..
 
Post the config, please...

What device is doing NAT? I would bridge the MODEM and just have it do PPPoE, and the router do the NAT. Set the WAN interface of the Cisco router for dhcp.

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!
 
Will give a go later on, to give me rough idea- should I try to carry out the follwoing config?


ip name- server (isp dns server? or ip address of the ADSL modem)

config t
int fa 0/0
ip address 10.10.10.100 255.255.255.0
no shut
ip nat inside

int fa 0/0
ip address 192.168.1.2 255.255.255.0
no shut
ip nat outside

ip route 0.0.0.0 0.0.0.0 <ip address of ADSL router> or <ISP default gateway>?

enter in pat statement
with acl to allow 10.10.10.0 0.0.0.255 network out

to get me started is this the theory behind the config ?

Thanks



 
Hi Guys , here is the config

Router#
Router#show config
Using 1141 out of 196600 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
ip cef
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.1.1
ip dhcp excluded-address 192.168.1.2
!
ip dhcp pool client
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 62.24.128.190
!
!
ip name-server 62.24.128.190
!
!
!
!
interface FastEthernet0/0
description Interface to the Internal LAN
ip address 10.10.10.1 255.255.255.0
ip nat inside
duplex auto
speed auto
!
interface FastEthernet0/1
description Interface connected to ADSL router WAN
ip address dhcp
ip nat outside
duplex auto
speed auto
!
interface Serial0/3/0
no ip address
shutdown
clockrate 2000000
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
ip http server
ip nat inside source list 102 interface FastEthernet0/1 overload
!
!
control-plane
!
!
line con 0
line aux 0
line vty 0 4
login
!
end



the ip address of int fa 0/1 is supplied by the non cisco ADSL router. I had turned off the dhcp but couldnt get an IP address assigned.

I have tried a couple of different statement on the gateway of last resort command, ie the ISP default gateway but still no joy on getting a client to connect to the net.

from the router I can ping by domain name and of course ip to
the client is connected to int fa 0/0 with the following ip
10.10.10.100 255.255.255.0, default gateway 10.10.10.1

when I try to tracert to I can get to the 10.10.10.1 interface but just times out after that.

looks like its there is no route to take packets from int fa 0/0 to int fa 0/1 so that it can reach the ADSL modem, but I thought the 0.0.0.0 0.0.0.0 would take care of that.

some more troubleshooting prints

Router#sho ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.10.10.1 YES manual up down
FastEthernet0/1 192.168.1.2 YES DHCP up up
Serial0/3/0 unassigned YES unset administratively down down
NVI0 unassigned YES unset up up

output from debug ip packet when trying to ping from client

*Feb 9 22:06:21.115: IP: tableid=0, s=10.10.10.100 (FastEthernet0/0), d=10.10.10.255 (FastEthernet0/0), routed via RIB
*Feb 9 22:06:21.115: IP: s=10.10.10.100 (FastEthernet0/0), d=10.10.10.255 (FastEthernet0/0), len 78, rcvd 3
*Feb 9 22:06:21.863: IP: tableid=0, s=10.10.10.100 (FastEthernet0/0), d=10.10.10.255 (FastEthernet0/0), routed via RIB
*Feb 9 22:06:21.863: IP: s=10.10.10.100 (FastEthernet0/0), d=10.10.10.255 (FastEthernet0/0), len 78, rcvd 3
*Feb 9 22:06:22.615: IP: tableid=0, s=10.10.10.100 (FastEthernet0/0), d=10.10.10.255 (FastEthernet0/0), routed via RIB
*Feb 9 22:06:22.615: IP: s=10.10.10.100 (FastEthernet0/0), d=10.10.10.255 (FastEthernet0/0), len 78, rcvd 3
*Feb 9 22:06:29.819: IP: tableid=0, s=10.10.10.100 (FastEthernet0/0), d=10.10.10.255 (FastEthernet0/0), routed via RIB
*Feb 9 22:06:29.819: IP: s=10.10.10.100 (FastEthernet0/0), d=10.10.10.255 (FastEthernet0/0), len 235, rcvd 3
*Feb 9 22:06:31.499: IP: tableid=0, s=10.10.10.100 (FastEthernet0/0), d=10.10.10.255 (FastEthernet0/0), routed via RIB
*Feb 9 22:06:31.499: IP: s=10.10.10.100 (FastEthernet0/0), d=10.10.10.255 (FastEthernet0/0), len 78, rcvd 3
*Feb 9 22:06:32.251: IP: tableid=0, s=10.10.10.100 (FastEthernet0/0), d=10.10.10.255 (FastEthernet0/0), routed via RIB
*Feb 9 22:06:32.251: IP: s=10.10.10.100 (FastEthernet0/0), d=10.10.10.255 (FastEthernet0/0), len 78, rcvd 3
*Feb 9 22:06:33.003: IP: tableid=0, s=10.10.10.100 (FastEthernet0/0), d=10.10.10.255 (FastEthernet0/0), routed via RIB
*Feb 9 22:06:33.003: IP: s=10.10.10.100 (FastEthernet0/0), d=10.10.10.255 (FastEthernet0/0), len 78, rcvd 3
 
Just looking at my post,

show ip int br - print is interesting

the protocol for int fa 0/0 is down?

can someone point me in the right direction?
 
By the looks of the config, you have DHCP setup, but it is trying to hand out addresses on the interface pointing to your dsl modem. No need for that in there, so I'd take it out.

As for the problem you identified in your traceroute, I believe there are a couple of ways to fix it, but since this is for your home lab, going to ask it this way for you. If you need to route from one network to another, what do you need to do?

Also, what does line protocol being down usually indicate a problem with?
 
thansks for the reply lerdalt,

I prefer to be answers to be put in this way!
to route from one network to the other I need to setup a routing problem, rip, ospf or eigrp??

and line protocol down usually means that one interface is in hdlc and the other is ppp, is that correct, how will I find out what the ADSL router fast ethernet is? or is it a case of trying each one out on the cisco router.

I'll get back onto my lab

thanks for your help
 
Take another look at the interface. Think you missed a piece on which interface is which.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top