Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1
Introduction
• In a parallel connection, it is wrong to assume that the 8 bits leaving the sender
at the same time arrive at the receiver at the same time. Rather, some of the
bits get there later than others. This is known as clock skew.
• Parallel wires are physically bundled in a parallel cable, and signals can imprint
themselves on each other. The possibility of crosstalk across the wires
requires more processing, especially at higher frequencies.
• The CPE, which is generally a router, is the DTE. The DTE could also
be a terminal, computer, printer, or fax machine if they connect directly
to the service provider network.
• The DCE, commonly a modem or CSU/DSU, is the device used to
convert the user data from the DTE into a form acceptable to the WAN
service provider transmission link. This signal is received at the remote
DCE, which decodes the signal back into a sequence of bits. The
remote DCE then signals this sequence to the remote DTE.
• You can identify any of the following five possible problem states in the interface status
line:
1. Serial x is down, line protocol is down
2. Serial x is up, line protocol is down
3. Serial x is up, line protocol is up (looped)
4. Serial x is up, line protocol is down (disabled)
5. Serial x is administratively down, line protocol is down
Học viện mạng Bach Khoa - Website: www.bkacad.com 22
Troubleshooting a Serial Interface
• Activity 2.1.7.3
• Activity 2.1.7.3
• Activity 2.1.7.3
• Activity 2.1.7.3
• The LCP provides automatic configuration of the interfaces at each end, including:
– Handling varying limits on packet size
– Detecting common misconfiguration errors
– Terminating the link
– Determining when a link is functioning properly or when it is failing
• PPP also uses the LCP to agree automatically on encapsulation formats (authentication,
compression, error detection) as soon as the link is established.
• LCP operation uses three classes of LCP frames to accomplish the work of each of the
LCP phases:
– Link-establishment frames establish and configure a link (Configure-Request,
Configure-Ack, Configure-Nak, and Configure-Reject)
– Link-maintenance frames manage and debug a link (Code-Reject, Protocol-Reject,
Echo-Request, Echo-Reply, and Discard-Request)
– Link-termination frames terminate a link (Terminate-Request and Terminate-Ack)
Học viện mạng Bach Khoa - Website: www.bkacad.com 41
Establishing a Link with LCP
• Activity 2.2.6.2
• Activity 2.2.6.2
• Activity 2.2.6.2
• Initiating CHAP
• Responding CHAP
•
• Completing CHAP
Notes:
- sent-username and password must match remote username and password.
- Passwords are case-sensitive, but usernames are not.
- Hostnames are not involved.
Học viện mạng Bach Khoa - Website: www.bkacad.com 71
Extra: One-way PAP authentication
(config)# hostname RA
(config)# interface serial 0
encapsulation ppp
ppp pap sent-username RA-X password CISCO-X
(config)# hostname RB
(config)# username RA-X password CISCO-X
(config)# interface serial 0
encapsulation ppp
ppp authentication pap
(config)# hostname RA
(config)# username RB-X password CISCO-B
(config)# interface serial 0
encapsulation ppp
ppp authentication pap
ppp pap sent-username RA-X password CISCO-A
(config)# hostname RB
(config)# username RA-X password CISCO-A
(config)# interface serial 0
encapsulation ppp
ppp authentication pap
ppp pap sent-username RB-X password CISCO-B
Học viện mạng Bach Khoa - Website: www.bkacad.com 73
Example: Configuring CHAP
Notes:
- Hostnames are involved unless the ppp chap hostname command is used, and
must match remote router’s username command (not case-sensitive).
- Passwords are case-sensitive and must match
Học viện mạng Bach Khoa - Website: www.bkacad.com 74
Extra: One-way CHAP authentication
(config)# hostname RB
(config)# username RA-X password CISCO
(config)# interface serial 0
encapsulation ppp
ppp authentication chap
Học viện mạng Bach Khoa - Website: www.bkacad.com 75
Troubleshooting a PPP Configuration with Authentication
• In the last line, the code = 4 means a failure has occurred. Other code values are as
follows:
– 1 = Challenge
– 2 = Response
– 3 = Success
– 4 = Failure