Академический Документы
Профессиональный Документы
Культура Документы
Technologies
1
SUN MARSS
Encapsulation Technologies
PPP HDLC
DCE DTE
3
V.35 Modem SUN MARSS
Technologies
E0 V.35 V.35 E0
192.168.1.150 Cable Cable 192.168.2.150
2 pair of
Copper Wire
HYDERABAD CHENNAI
MUX MUX
4
Fiber Optic Cable
SUN MARSS
Lab Setup Technologies
Wan Representation
S0
HYD S1 CHE
is acting as Exchange.
possible.
5
SUN MARSS
Technologies
6
SUN MARSS
Lab Setup Technologies
DCE Interface
DTE Interface
S0
HYD S1 CHE
• In labs Scenario if Exchange is not coming in
between the Routers so who will generate clocking ?
Here for Lab Setup we will convert one Router to DCE
device which connected to DCE interface.
• How can you tell which end is the DTE and which end
is the DCE?
• Look at the label on the cable one will be DCE & one
will be DTE. On DCE interface you had to give Clock
rate command.
7
10.0.0.1/8 11.0.0.1/8
SUN MARSS
S0 S0 Technologies
12.0.0.1/8
S0
HYD S1 CHE S1 BAN
E0 10.0.0.2/8 E0 11.0.0.2/8 E0
192.168.1.150/24 192.168.2.150/24 192.168.3.150/24
12.0.0.2/8
LAN - 192.168.1.0/24 LAN - 192.168.2.0/24 LAN - 192.168.3.0/24
14.0.0.2/8 13.0.0.2/8 S1
15.0.0.1/8 S1 S1
S0 SUR S0 BOM S0 PUNE
E0 14.0.0.1/8 E0 13.0.0.1 E0
192.168.6.150/24 192.168.5.150/24 192.168.4.1
10.0.0.1/8
S0
HYD S1 CHE
E0 10.0.0.2/8 E0
192.168.1.150/24 192.168.2.150/24
9
SUN MARSS
Microsoft Windows 2000 [Version 5.00.2195] Technologies
(C) Copyright 1985-2000 Microsoft Corp.
C:\> telnet 192.168.1.150
Connecting .....
================================
Welcome to Hyderabad Router
================================
User Access Verification
password : ****
Hyderabad> enable
password : ****
Hyderabad# show controllers S 0
HD unit 0, idb = 0xB7574, driver structure at 0xBC2F8
buffer size 1524 HD unit 0, V.35 DCE cable
cpb = 0x1, eda = 0x4940, cda = 0x4800
RX ring with 16 entries at 0x4014800
00 bd_ptr=0x4800 pak=0x0BE054 ds=0x401B6A8 status=80 pak_size=0
01 bd_ptr=0x4814 pak=0x0BED04 ds=0x401E5B0 status=80 pak_size=0
02 bd_ptr=0x4828 pak=0x0BE224 ds=0x401BD60 status=80 pak_size=0
03 bd_ptr=0x483C pak=0x0BEED4 ds=0x401EC68 status=80 pak_size=0
--More--
10
SUN MARSS
04 bd_ptr=0x4850 pak=0x0BEB34 ds=0x401DEF8 status=80 pak_size=0
Technologies
05 bd_ptr=0x4864 pak=0x0BF0A4 ds=0x401F320 status=80 pak_size=0
06 bd_ptr=0x4878 pak=0x0BDE84 ds=0x401AFF0 status=80 pak_size=0
07 bd_ptr=0x488C pak=0x0BE794 ds=0x401D188 status=80 pak_size=0
08 bd_ptr=0x48A0 pak=0x0BDCB4 ds=0x401A938 status=80 pak_size=0
09 bd_ptr=0x48B4 pak=0x0BE964 ds=0x401D840 status=80 pak_size=0
10 bd_ptr=0x48C8 pak=0x0BE3F4 ds=0x401C418 status=80 pak_size=0
11 bd_ptr=0x48DC pak=0x0BDAE4 ds=0x401A280 status=80 pak_size=0
12 bd_ptr=0x48F0 pak=0x0BD914 ds=0x4019BC8 status=80 pak_size=0
13 bd_ptr=0x4904 pak=0x0BD744 ds=0x4019510 status=80 pak_size=0
14 bd_ptr=0x4918 pak=0x0BD574 ds=0x4018E58 status=80 pak_size=0
15 bd_ptr=0x492C pak=0x0BD3A4 ds=0x40187A0 status=80 pak_size=0
16 bd_ptr=0x4940 pak=0x0BD1D4 ds=0x40180E8 status=80 pak_size=0
cpb = 0x1, eda = 0x5014, cda = 0x5014
TX ring with 2 entries at 0x4015000
12
SUN MARSS
Microsoft Windows 2000 [Version 5.00.2195] Technologies
(C) Copyright 1985-2000 Microsoft Corp.
C:\> telnet 192.168.2.150
Connecting .....
================================
Welcome to Chennai Router
================================
User Access Verification
password : ****
Chennai> enable
password : ****
Chennai# show controllers S 1
HD unit 0, idb = 0xB7574, driver structure at 0xBC2F8
buffer size 1524 HD unit 0, V.35 DTE cable
cpb = 0xE1, eda = 0x4814, cda = 0x4828
RX ring with 16 entries at 0xE14800
00 bd_ptr=0x4800 pak=0x0BEB34 ds=0xE1DEF8 status=80 pak_size=13
01 bd_ptr=0x4814 pak=0x0BF0A4 ds=0xE1F320 status=80 pak_size=13
02 bd_ptr=0x4828 pak=0x0BED04 ds=0xE1E5B0 status=80 pak_size=0
03 bd_ptr=0x483C pak=0x0BE964 ds=0xE1D840 status=80 pak_size=0
--More--
13
SUN MARSS
04 bd_ptr=0x4850 pak=0x0BE794 ds=0xE1D188 status=80 pak_size=0
Technologies
05 bd_ptr=0x4864 pak=0x0BE5C4 ds=0xE1CAD0 status=80 pak_size=0
06 bd_ptr=0x4878 pak=0x0BE3F4 ds=0xE1C418 status=80 pak_size=0
07 bd_ptr=0x488C pak=0x0BE224 ds=0xE1BD60 status=80 pak_size=0
08 bd_ptr=0x48A0 pak=0x0BE054 ds=0xE1B6A8 status=80 pak_size=0
09 bd_ptr=0x48B4 pak=0x0BDE84 ds=0xE1AFF0 status=80 pak_size=0
10 bd_ptr=0x48C8 pak=0x0BDCB4 ds=0xE1A938 status=80 pak_size=0
11 bd_ptr=0x48DC pak=0x0BDAE4 ds=0xE1A280 status=80 pak_size=0
12 bd_ptr=0x48F0 pak=0x0BD914 ds=0xE19BC8 status=80 pak_size=0
13 bd_ptr=0x4904 pak=0x0BD744 ds=0xE19510 status=80 pak_size=0
14 bd_ptr=0x4918 pak=0x0BD574 ds=0xE18E58 status=80 pak_size=0
15 bd_ptr=0x492C pak=0x0BD3A4 ds=0xE187A0 status=80 pak_size=0
16 bd_ptr=0x4940 pak=0x0BD1D4 ds=0xE180E8 status=80 pak_size=0
cpb = 0xE1, eda = 0x5028, cda = 0x5028
TX ring with 2 entries at 0xE15000
00 bd_ptr=0x5000 pak=0x000000 ds=0xE31964 status=80 pak_size=13
01 bd_ptr=0x5014 pak=0x000000 ds=0xE31964 status=80 pak_size=13
02 bd_ptr=0x5028 pak=0x000000 ds=0x000000 status=80 pak_size=0
0 missed datagrams, 0 overruns
0 bad datagram encapsulations, 0 memory errors
0 transmitter underruns
0 residual bit errors
Chennai#
14
SUN MARSS
Microsoft Windows 2000 [Version 5.00.2195] Technologies
(C) Copyright 1985-2000 Microsoft Corp.
C:\> telnet 192.168.2.150
Connecting .....
================================
Welcome to Chennai RouterConfiguring
ConfiguringSerial
Serialinterface
interface
Router(config)#interface
Router(config)#interfaceserial
================================ serial<no>
<no>
Router(config-if)#ip
Router(config-if)#ipaddress
User Access Verification address<address>
<address><mask>
<mask>
password : **** Router(config-if)#no
Router(config-if)#noshutdown
shutdown
Chennai> enable Router(config-if)#clockrate
Router(config-if)#clockrate<clock
<clockrate>
rate>
password : **** Router(config-if)#encapsulation
Router(config-if)#encapsulation{ppp|hdlc}
{ppp|hdlc}
Chennai# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Chennai(config)# interface serial 1
Chennai(config-if)# ip address 10.0.0.2 255.0.0.0
Chennai(config-if)# no shutdown
Chennai(config-if)# encapsulation hdlc
Chennai(config-if)# exit
Chennai(config)#
15
SUN MARSS
Microsoft Windows 2000 [Version 5.00.2195] Technologies
(C) Copyright 1985-2000 Microsoft Corp.
C:\> telnet 192.168.1.150
Connecting .....
================================
Welcome to Hyderabad Router
================================
User Access Verification
password : ****
Hyderabad> enable
password : ****
Hyderabad# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Hyderabad(config)# interface serial 0
Hyderabad(config-if)# ip address 10.0.0.1 255.0.0.0
Hyderabad(config-if)# no shutdown
Hyderabad(config-if)# clockrate 64000
Hyderabad(config-if)# encapsulation hdlc
Hyderabad(config-if)# exit
Hyderabad(config)# exit
Hyderabad# show int s0
16
SUN MARSS
Serial0 is up, line protocol is up Technologies
Hardware is HD64570
Internet address is 10.0.0.1/8
MTU 1500 bytes,BW 1544 Kbit,DLY 20000 usec,rely 255/255,load 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input 00:05:29, output 00:00:03, 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
Serial0 is up, 0/1/256
line (active/max
protocol is up active/max total)
Serial0
ReservedisConversations
up, line protocol is up
0/0 (allocated/max allocated)
5 minute input rate 0 bits/sec, 0 packets/sec
Implies,
Implies,
5 minute all configurations
all
output configurations and
and
rate 0 bits/sec, the connectivity
0 the connectivity are
packets/sec are
997 packets input, 20161 bytes, 0 no buffer
fine.
Received 875 broadcasts, 0 runts, 0 giants, 0 throttles
fine.
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
899 packets output, 24785 bytes, 0 underruns
0 output errors, 0 collisions, 132 interface resets
0 output buffer failures, 0 output buffers swapped out
325 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up
Hyderabad# show int s0
17
SUN MARSS
Serial0 is administratively down, line protocol is down
Technologies
Hardware is HD64570
Internet address is 10.0.0.1/8
MTU 1500 bytes,BW 1544 Kbit,DLY 20000 usec,rely 255/255,load 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input 00:01:27, output 00:01:20, 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
Serial0 is 0/1/256 (active/max
administratively down, active/max
line total)
protocol is down
down
Serial0
ReservedisConversations
administratively down, line protocol
0/0 (allocated/max is
allocated)
5 minute input rate 0 bits/sec, 0 packets/sec
Implies,
Implies,
5 minute No Shut
No
output Shut (Layer1
rate (Layer1
0 command)
command)
bits/sec, has not
has
0 packets/secnot been
been
995 packets input, 20133 bytes, 0 no buffer
given
given on the
Received
on the local
873 local routers
routers
broadcasts, interface.
0 runts, 0 giants, 0 throttles
interface.
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
896 packets output, 24163 bytes, 0 underruns
0 output errors, 0 collisions, 131 interface resets
0 output buffer failures, 0 output buffers swapped out
325 carrier transitions
DCD=up DSR=up DTR=down RTS=down CTS=up
Hyderabad# show int s0
18
SUN MARSS
Serial0 is up, line protocol is down Technologies
Hardware is HD64570
Internet address is 10.0.0.1/8
MTU 1500 bytes,BW 1544 Kbit,DLY 20000 usec,rely 255/255,load 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input 00:07:56, output 00:00:05, 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:
Serial0 0/1000/64/0
is up,
up, (size/max
line protocol
protocol total/threshold/drops)
is down
down
Serial0 is line is
Conversations 0/1/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Implies
Implies
5 minute ,, Encapsulation
inputEncapsulation or Clock
or
rate 0 bits/sec, Clock Rate (Layer2
Rate (Layer2
0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
commands)
commands) have
1028 packets have
input, not
not been
20595
been given
bytes,
given or
0or encapsulation
noencapsulation
buffer on
on
Received 906 broadcasts, 0 runts, 0 giants, 0 throttles
0 input
both theerrors,
routers 0 are
CRC,different.
0 frame, 0 overrun, 0 ignored, 0 abort
both the routers are different.
917 packets output, 25475 bytes, 0 underruns
0 output errors, 0 collisions, 138 interface resets
0 output buffer failures, 0 output buffers swapped out
341 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up
Hyderabad# show int s0
19
SUN MARSS
Serial0 is down, line protocol is down Technologies
Hardware is HD64570
Internet address is 10.0.0.1/8
MTU 1500 bytes,BW 1544 Kbit,DLY 20000 usec,rely 255/255,load 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input 00:12:40, output 00:00:08, 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:
Serial0 0/1000/64/0
is down,
down, (size/max
line protocol
protocol total/threshold/drops)
is down
down
Serial0 is line is
Conversations 0/1/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Implies
Implies
5 minute ,, No
input Norate
Shut
Shut has
0 has not been
not been
bits/sec, given on
given on the
0 packets/sec the remote
remote
5 minute output rate 0 bits/sec, 0 packets/sec
routers
routers interface
1088 packets input,
interface or21435
or somebytes,
some problem
problem with
0 no the physical
buffer
with the physical
Received 966 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
connectivity.
connectivity.
945 packets output, 26091 bytes, 0 underruns
0 output errors, 0 collisions, 147 interface resets
0 output buffer failures, 0 output buffers swapped out
370 carrier transitions
DCD=down DSR=down DTR=up RTS=up CTS=down
Hyderabad#
20
SUN MARSS
Technologies
21
SUN MARSS
Technologies
Routing Network Diagram
HYD S1 CHE
E0 10.0.0.2/8 E0
192.168.1.150/24 192.168.2.150/24
22
SUN MARSS
Technologies
Rules of Routing
23
SUN MARSS
Types of Routing Technologies
• Static Routing
• Default Routing
• Dynamic Routing
24
SUN MARSS
Static Routing Technologies
10-15 Routers.
10.0.0.1/8
S0
HYD S1 CHE
E0 10.0.0.2/8 E0
192.168.1.150/24 192.168.2.150/24
26
SUN MARSS
Routing Network Diagram Technologies
HYD S1 CHE
E0 10.0.0.2/8 E0
192.168.1.150/24 192.168.2.150/24
27
SUN MARSS
Technologies
Routing Network Diagram
HYD S1 CHE
E0 10.0.0.2/8 E0
192.168.1.150/24 192.168.2.150/24
28
SUN MARSS
Technologies
Routing Network Diagram
HYD S1 CHE
E0 10.0.0.2/8 E0
192.168.1.150/24 192.168.2.150/24
29
SUN MARSS
Microsoft Windows 2000 [Version 5.00.2195] Technologies
(C) Copyright 1985-2000 Microsoft Corp.
C:\> telnet 192.168.1.150
Connecting .....
================================
Welcome to Hyderabad Router
================================
User Access Verification
password : ****
Hyderabad> enable
password : ****
Hyderabad# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Hyderabad(config)# interface serial 0
Hyderabad(config-if)# ip address 10.0.0.1 255.0.0.0
Hyderabad(config-if)# no shut
Hyderabad(config-if)# clockrate 64000
Hyderabad(config-if)# encapsulation hdlc
Hyderabad(config-if)# exit
Hyderabad(config)# exit
Hyderabad# Diagram
30
SUN MARSS
Microsoft Windows 2000 [Version 5.00.2195] Technologies
(C) Copyright 1985-2000 Microsoft Corp.
C:\> telnet 192.168.1.150
Connecting .....
================================
Welcome to Hyderabad Router
================================
User Access Verification
password : ****
Hyderabad> enable
password : ****
Hyderabad# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Hyderabad(config)# interface serial 0
Hyderabad(config-if)# ip address 10.0.0.1 255.0.0.0
Hyderabad(config-if)# no shut
Hyderabad(config-if)# clockrate 64000
Hyderabad(config-if)# encapsulation hdlc
Hyderabad(config-if)# exit
Hyderabad(config)# exit
Hyderabad# Diagram
31
SUN MARSS
Hyderabad# show ip route Technologies
Default gateway is not set
Diagram
33
SUN MARSS
Microsoft Windows 2000 [Version 5.00.2195] Technologies
(C) Copyright 1985-2000 Microsoft Corp.
C:\> telnet 192.168.2.150
Connecting .....
================================
Welcome to Chennai Router
================================
User Access Verification
password : ****
Chennai> enable
password : ****
Chennai# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Chennai(config)# interface serial 1
Chennai(config-if)# ip address 10.0.0.2 255.0.0.0
Chennai(config-if)# no shut
Chennai(config-if)# encapsulation hdlc
Chennai(config-if)# exit
Chennai(config)# exit
Chennai#
Chennai# Diagram
34
SUN MARSS
Microsoft Windows 2000 [Version 5.00.2195] Technologies
(C) Copyright 1985-2000 Microsoft Corp.
C:\> telnet 192.168.2.150
Connecting .....
================================
Welcome to Chennai Router
================================
User Access Verification
password : ****
Chennai> enable
password : ****
Chennai# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Chennai(config)# interface serial 1
Chennai(config-if)# ip address 10.0.0.2 255.0.0.0
Chennai(config-if)# no shut
Chennai(config-if)# encapsulation hdlc
Chennai(config-if)# exit
Chennai(config)# exit
Chennai#
Chennai# Diagram
35
SUN MARSS
Chennai# show ip route Technologies
Default gateway is not set