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

Newbie, need help setting up routers in test lab

Status
Not open for further replies.

l9nux

Technical User
May 14, 2002
20
0
0
GB
Hi,

I'm a complete newbie to Cisco so I'd really apreciate any help here...

I need help in setting up my practice lab which consists of 2 x Cisco 2610 routers each with an ethernet and a serial interface. I've got a DB60 DCE/DTE cable, and I want to emulate a leased line.

Are there any good guides out there, or could anyone point me in the right direction? This is what I've done so far:

router1 (eth0/0 192.168.4.100/24) - This has a serial interface with a DTE / DCE DB60 cable to router2. The DTE end is in this router.

router2 (eth0/0 192.168.5.100/24) - This has a serial connection with the DCE end.

I've set up my hostnames, and passwords, given each routers ethernet interface an IP address (see above), but I have no idea where to start to get the two routers talking?

I read about setting the clock rate on the router with the DCE end, which I've done. As expected, I can't ping the other router, so I guess I need to setup routing? Should this be static or using RIP? Am I completely off course here?

The configuration of all my interfaces are as follows:

router1#show int eth0/0
Ethernet0/0 is up, line protocol is up
Hardware is AmdP2, address is 0008.a374.bc20 (bia 0008.a374.bc20)
Internet address is 192.168.4.100/24
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
3445 packets input, 222967 bytes, 0 no buffer
Received 268 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
4445 packets output, 461207 bytes, 0 underruns
0 output errors, 0 collisions, 3 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out


router1#show int serial0/0
Serial0/0 is up, line protocol is up
Hardware is PowerQUICC Serial
Internet address is 172.16.4.100/24
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation HDLC, loopback not set
Keepalive set (10 sec)
Last input 00:00:08, output 00:00:02, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/1/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 1158 kilobits/sec
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
1392 packets input, 85915 bytes, 0 no buffer
Received 1377 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
1622 packets output, 132412 bytes, 0 underruns
0 output errors, 0 collisions, 52 interface resets
0 output buffer failures, 0 output buffers swapped out
5 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up




router2#show int eth0/0
Ethernet0/0 is up, line protocol is up
Hardware is AmdP2, address is 00b0.64ca.d3a0 (bia 00b0.64ca.d3a0)
Internet address is 192.168.5.100/24
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set, keepalive set (10 sec)
ARP type: ARPA, ARP Timeout 04:00:00
Last input 02:16:38, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 input packets with dribble condition detected
1638 packets output, 148125 bytes, 0 underruns
0 output errors, 0 collisions, 2 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out


router2#show int serial0/0
Serial0/0 is up, line protocol is up
Hardware is PowerQUICC Serial
Internet address is 172.16.5.100/24
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input 00:00:01, output 00:00:06, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/1/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
1627 packets input, 132532 bytes, 0 no buffer
Received 1527 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
1400 packets output, 86436 bytes, 0 underruns
0 output errors, 0 collisions, 5 interface resets
0 output buffer failures, 0 output buffers swapped out
2 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up


Any help would be really apreciated, as everything I've read so far hasn't helped get this working.

Thanks,

-=L9NUX=-

-= There's no place like 127.0.0.1 =-
 

I think the reason you're not connected is because the interfaces are on different subnets. If the Ethernet0/0 interface of Router1 is on the 192.168.4.0/24 subnet so should the Ethernet0/0 interface of Router2. An example would be to give e0/0 of router1 an ip address of 192.168.4.1 and e0/0 of router2 an ip address of 192.168.4.2. Same thing with the serial interfaces.

Jesus
 
Ah ha! I've done it!!

I've changed the configuration slightly, but I've had to add the appropriate routes!

jguerra81, I have to have different IP's on each routers ethernet0/0 interface because that's the IP subnet of each network.

I didn't realise that the ip addresses for the serial interfaces DO have to be on the same network. Makes sense really! Once I set that, and then added the routes to each network it worked great!

The only thing that I can't do now is telnet to Network B from a computer in Network A. The comptuer in Network A can ping the router in Network B with no problem, but it won't telnet?

My configuration is now as follows:

Router1#show run
Building configuration...

Current configuration : 773 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router1
!
enable password temp
!
ip subnet-zero
!
!
!
!
!
!
interface Ethernet0/0
ip address 192.168.4.101 255.255.255.0
no ip mroute-cache
half-duplex
!
interface BRI0/0
no ip address
no ip mroute-cache
shutdown
!
interface Serial0/0
ip address 10.0.0.1 255.0.0.0
no ip mroute-cache
!
ip classless
ip route 192.168.5.0 255.255.255.0 Serial0/0 10.0.0.2 permanent
no ip http server
ip pim bidir-enable
!
line con 0
line aux 0
line vty 0 4
password temp
login
!
no scheduler allocate
end

Router1#show int serial0/0
Serial0/0 is up, line protocol is up
Hardware is PowerQUICC Serial
Internet address is 10.0.0.1/8
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation HDLC, loopback not set
Keepalive set (10 sec)
Last input 00:00:05, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/1/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 1158 kilobits/sec
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
718 packets input, 43870 bytes, 0 no buffer
Received 369 broadcasts, 0 runts, 0 giants, 0 throttles
2 input errors, 0 CRC, 2 frame, 0 overrun, 0 ignored, 0 abort
508 packets output, 37267 bytes, 0 underruns
0 output errors, 0 collisions, 6 interface resets
0 output buffer failures, 0 output buffers swapped out
26 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up

Router1#show int eth0/0
Ethernet0/0 is up, line protocol is up
Hardware is AmdP2, address is 0008.a374.bc20 (bia 0008.a374.bc20)
Internet address is 192.168.4.101/24
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
2186 packets input, 181463 bytes, 0 no buffer
Received 497 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
3532 packets output, 313400 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out



Router2#show run
Building configuration...

Current configuration : 749 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router2
!
boot-start-marker
boot-end-marker
!
enable password temp
!
no aaa new-model
ip subnet-zero
!
!
!
!
!
!
!
interface Ethernet0/0
ip address 192.168.5.101 255.255.255.0
half-duplex
!
interface BRI0/0
no ip address
shutdown
!
interface Serial0/0
ip address 10.0.0.2 255.0.0.0
clockrate 56000
!
no ip http server
ip classless
ip route 192.168.4.0 255.255.255.0 Serial0/0 10.0.0.1 permanent
!
!
line con 0
line aux 0
line vty 0 4
password temp
login
!
!
!
end

Router2#show int serial0/0
Serial0/0 is up, line protocol is up
Hardware is PowerQUICC Serial
Internet address is 10.0.0.2/8
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation HDLC, loopback not set
Keepalive set (10 sec)
Last input 00:00:09, output 00:00:09, output hang never
Last clearing of "show interface" counters 00:26:58
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/1/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 1158 kilobits/sec
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
241 packets input, 16120 bytes, 0 no buffer
Received 191 broadcasts, 0 runts, 0 giants, 0 throttles
1 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
389 packets output, 22459 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up

Router2#show int eth0/0
Ethernet0/0 is up, line protocol is up
Hardware is AmdP2, address is 00b0.64ca.d3a0 (bia 00b0.64ca.d3a0)
Internet address is 192.168.5.101/24
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output 00:00:01, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
565 packets output, 47525 bytes, 0 underruns
0 output errors, 0 collisions, 2 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out

-=L9NUX=-

-= There's no place like 127.0.0.1 =-
 
Sorted the telnet problem! I couldn't telnet into the router on the other network because my ISA server firewall client was running!

-=L9NUX=-

-= There's no place like 127.0.0.1 =-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top