You are on page 1of 27

WAN Technologies

Lab 2
WAN Connection Type
• Leased Line
• Circuit Switching
• Packet Switching
Popular Internet speed
• Dial up - 56 kbps
• ISDN 128 kbps
• Leased Line
T1 1.5 Mbps
T3 44 Mbps
E1 2.05 Mbps
E3 33 – 52 Mbps
• Optical Connection OC
oc 48 2.4Gbps
….
Physical WAN Connection
Leased Line
• Dedicated
• Constant speed
• Symmetric 1 : 1
• Contract
• Point to point
can access the internet only by the head
quarter
• LocalLoop through (PSTN)
WAN Encapsulation Protocols

• HDLC (High Level Data Link Contorol)*cisco


• PPP
• X.25
• Frame Relay
• ATM
• MPLS
Layer 2 protocols Transmission protocols (deals
with data in the analoge environment)
Must be activated in Serial Ports
HDLC
• DCE Connection
• R1(config)#int Serial0/0/0
• R1(config-if)#ip address
• R1(config-if)#Clock-rate 640000
• R1(config-if)#Bandwidth 2048
• R1(config-if)#no shutdown
• * BW isn’t controlling the real data rate it used
to control the cost of routing paths
HDLC
• HDLC will be activated by default
• R1(config-if)#do show int s0/0/0
• R1(config-if)#encapsulation HDLC(at both
routers)
• HDLC not used because lake of authentication
• PPP is used (point to point protocol)
PPP layer (the three main component)
PPP Configuration Options

 Callback: the client make the initial call, request that the server call it back and
terminate its initial call.
PPP
• R1(config-if)#encapsulation PPP
• R1(config-if)#compress [stac | predict]
• R1(config-if)#authentication [pap | chap]
• R1(config-if)#ppp multilink
• R1(config-if)#ppp quality 80
• R1(config-if)#ppp reliable-link
• R1(config-if)#do debug ppp authentication
• LCP link control protocol (layer2) must be active
• NCP network control protocol (layer3)
• WAN protocols is layer 2
PPP
• R(config-if)#authentication [pap | chap]
• To encrypt password we have 2 protocols
PAP password authentication protocol
(default)
CHAP challenge Handshake authentication
protocol
PAP
R1 (Server)
• R1(config-if)#ppp authentication pap
• R1(config)#username R2 pass 123

R2(Client)
• R2(config-if)#ppp pap sent-username R2
password 123
PAP
R1 (Server)
• R1(config-if)#ppp authentication pap
• R1(config)#username R2 pass 123

R2(Server)
• R2(config-if)#ppp authentication pap
• R2(config-if)#username R1 pass 123
CHAP
R1 (Server)
• R1(config-if)#ppp authentication chap
• R1(config)#username R2 pass 123

R2(Client)
• R2(config-if)#ppp chap hostname R2
• R2(config-if)#ppp chap pass 123
CHAP
R1 (Server)
• R1(config-if)#ppp authentication chap
• R1(config)#username R2 pass 123

R2(Server)
• R2(config-if)#ppp authentication chap
• R2(config)#username R1 pass 123
• R# show ip int br
• R# show int s0/0
• R# show run int s0/0
• R# show controllers int s0/0
• R(config)#do show ip route
• R(config)#do show ppp s0/0
• R# debug ppp negotiation
• R# no debug all
MLPPP
• Multi Link Point to Point Protocol
– High availability
– High speed
MLPPP conf
• R1(config)#Int multilink 1
• R1(config-if)#ip address 2.2.3.1
255.255.255.252
• R1(config-if)#no shutdown
• R1(config-if)#ppp multilink
• R1(config-if)#ppp multilink group 1
• *when adding serial ports to this group they
will work as one port
MLPPP conf
• R1(config)#int s0/0
• R1(config-if)#encapsulation ppp
• R1(config-if)#ppp multilink
• R1(config-if)#ppp multilink group 1
• R1(config-if)#no shutdown
• R1(config)#int s0/1
• R1(config-if)#encapsulation ppp
• R1(config-if)#ppp multilink
• R1(config-if)#ppp multilink group 1
• R1(config-if)#no shutdown
MLPPP conf
• The same config on the other router
• R1(config)#do show int multilink 1
• R1(config)#do show ppp multilink

You might also like