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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP

Status
Not open for further replies.

mireles10

IS-IT--Management
Apr 26, 2004
18
US
I am learning CISCO IOS. I have linked two 1600 routers together. each router has a E0 and S1 (T1 i/f card)
Router 1
e0 192.168.10.1
s1 10.1.1.1

router 2
e0 192.168.20.1
s1 10.1.1.2
routers linked together with a t1 cable
i am not using any access-list

computer connected to router 1 can ping the e0 and s1 address but not e0 or s1 from router2. computers connected to router 2 can ping e0 and s1 but not e0 or s1 from router 1.
Any ideas how to link these two routers together.
 
Make sure ip routing is turned and you could put in a static route pointing to the far end serial link address .
 
Verify the cable is a T1 crossover. Pins 1,2 and 4,5 should be switched on each end.
 
THis is the configuration that I am using. It is the same for both routers with the exception of IP addresses.

I stll cannot get it to work..
*****************************
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
!
ip subnet-zero
!
!
!
interface Ethernet0
ip address 192.168.20.1 255.255.255.0
no ip directed-broadcast
!
interface Serial0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1
ip address 10.1.1.1 255.0.0.0
no ip directed-broadcast
!
ip classless
!
!
line con 0
transport input none
line vty 0 4
!
end
******************************
 
You do not have any routing configured. You need to configure either a dynamic routing protocol like RIP, EIGRP, OSPF, etc or a static route. Otherwise, the router doesn't know how to get to the other network, for your setup you might want to go with the static routes. The command needed in router one is as follows:

ip route 192.168.20.0 255.255.255.0 10.1.1.2

You need the complementary command in router 2:

ip route 192.168.10.0 255.255.255.0 10.1.1.1
 
I added static routing. I stll cannot ping ip addresses. here is the new confi
*****************************************
ROUTE 1
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Server
!
!
ip subnet-zero
no ip routing
!
!
!
interface Ethernet0
ip address 192.168.20.1 255.255.255.0
no ip directed-broadcast
no ip route-cache
!
interface Serial0
no ip address
no ip directed-broadcast
no ip route-cache
shutdown
!
interface Serial1
ip address 10.1.1.1 255.0.0.0
no ip directed-broadcast
no ip route-cache
!
ip classless
ip route 192.168.20.0 255.255.255.0 10.1.1.2
!
!
line con 0
transport input none
line vty 0 4
!
end

ROUTER 2

Building configuration...

Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Treat
!
!
ip subnet-zero
!
!
!
interface Ethernet0
ip address 192.168.10.8 255.255.255.0
no ip directed-broadcast
!
interface Serial0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial1
ip address 10.1.1.2 255.0.0.0
no ip directed-broadcast
!
ip classless
ip route 192.168.10.0 255.255.255.0 10.1.1.1
!
!
line con 0
transport input none
line vty 0 4
!
end

Any help is greatly appreciated
 
Your static routes are pointing to the wrong networks. On R1 you have E0 configured on the 192.168.20 network, with a static route also pointing to S1; and vice versa on R2 with the 192.168.10 network. Switch your ip route lines and it should work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top