Professional Documents
Culture Documents
HC110110024 Principle and Configuration of HDLC and PPP
HC110110024 Principle and Configuration of HDLC and PPP
and PPP
Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Foreword
Serial has in recent years been slowly phased out in many parts of all netwo
rks in favor of Ethernet technology, however still remains active as a legacy
technology in a great number of enterprise networks alongside Ethernet. S
erial has traditionally provided solutions for communication over long dista
nces and therefore remains a prominent technology for Wide Area Networ
k (WAN) communication, for which many protocols and legacy WAN techn
ologies remain in operation at the enterprise edge. A thorough knowledge
of these technologies is required to support many aspects of WAN operati
on.
age 2 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Objectives
Upon completion of this section, you will be able to:
Explain how data is carried over a serial based medium.
Configure link layer protocols for serial links.
age 3 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Serial Signaling
Asynchronous
Host A Router
……
Stop Data Start Stop Data Start
1 byte
Synchronous
DCE DTE
age 4 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
The HDLC Protocol
0 1 2 3 4 5 6 7
1 0 S S P/F P/F S
1 1 M M P/F M M M U
age 5 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Basic Configuration of HDLC
RTA RTB
S1/0/0 S1/0/0
10.0.1.1/30
age 6 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Assigning Unnumbered Addresses in HDL
C
RTA RTB
age 7 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Configuration Validation
Serial1/0/0 10.1.1.1/32 up up
Serial1/0/1 unassigned up down
The IP address is shown to have been borrowed from the loopback interfac
e and assigned to interface serial 1/0/0.
age 8 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
PPP Protocol Application
RTA RTB
S1/0/0 S1/0/0
PPP
A multiprotocol standard used as with HDLC to define the link layer operati
on over a serial medium.
age 9 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Components of PPP
Name Function
age 10 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
PPP Link Establishment Process
UP OPENED
Dead Establish Authenticat
e
SUCCESS/NONE
FAIL FAIL
DOWN CLOSING
Terminate Network
age 11 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
PPP Frame
LCP Configuration
Type Length Data… Type Length Data… ……
Option Format
age 12 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Packet Types Used in LCP Negotiation
age 13 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Common Link Parameters of LCP Negotiation
age 14 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
LCP Link Parameters Negotiation
RTA RTB
Configure-Request
Configure-Ack
age 15 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
LCP Link Parameters Negotiation
RTA RTB
S1/0/0 PPP
S1/0/0
10.1.1.1/30 10.1.1.2/30
Configure-Request
Configure-Nak
Configure-Request (Modified
Parameters)
age 16 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
LCP Link Parameters Negotiation
RTA RTB
S1/0/0 PPP
S1/0/0
10.1.1.1/30 10.1.1.2/30
Configure-Request
Configure-Reject
Configure-Reject packets are generated where not all parameters are recog
nized by the peer.
age 17 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
PPP Basic Configuration
RTA RTB
age 18 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
PPP Authentication Mode - PAP
RTA RTB
Authenticate-Request
Send user name and password in plain text
Authenticate-Ack/Authenticate-Nak
Authenticate successfully/ unsuccessfully
age 19 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
PPP Authentication Mode - CHAP
RTA RTB
Challenge
Response
Sucess/Failure
age 20 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
IPCP Static Address Negotiation
RTA RTB
S1/0/0 PPP
S1/0/0
10.1.1.1/30 10.1.1.2/30
Configure-Request ( 10.1.1.1 )
Configure-Ack
Configure-Request ( 10.1.1.2 )
Configure-Ack
The Internet Protocol Control Protocol (IPCP) is the Network Control Protoc
ol (NCP) used for establishing and configuring IP.
age 21 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
IPCP Dynamic Address Negotiation
RTA RTB
10.1.1.2/30
Configure-Request ( 0.0.0.0 )
Configure-Nak ( 10.1.1.1 )
Configure-Request ( 10.1.1.1 )
Configure-Ack
Configure-Request ( 10.1.1.2 )
Configure-Ack
age 22 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Configuring PAP Authentication
RTA RTB
PPP
Authenticator S1/0/0 S1/0/0
Authenticated
10.1.1.1/30 10.1.1.2/30
[RTA]aaa
[RTA-aaa]local-user huawei password cipher huawei123
[RTA-aaa]local-user huawei service-type ppp
[RTA]interface Serial 1/0/0
[RTA-Serial1/0/0]link-protocol ppp
[RTA-Serial1/0/0]ppp authentication-mode pap
[RTA-Serial1/0/0]ip address 10.1.1.1 30
age 23 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
PAP Configuration Validation
age 24 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Configuring CHAP Authentication
RTA RTB
PPP
Authenticator S1/0/0 S1/0/0
Authenticated
10.1.1.1/30 10.1.1.2/30
[RTA]aaa
[RTA-aaa]local-user huawei password cipher huawei123
[RTA-aaa]local-user huawei service-type ppp
[RTA]interface Serial 1/0/0
[RTA-Serial1/0/0]link-protocol ppp
[RTA-Serial1/0/0]ppp authentication-mode chap
age 25 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
CHAP Configuration Validation
age 26 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Summary
Following a Configure-Request, what packet type is expected to be received bef
ore the PPP link layer can be successfully established?
Which protocol is used to perform the negotiation of IP addresses, and during
which phase is this negotiated?
age 27 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Thank You
www.huawei.com