point-to-point protocol (ppp)
DESCRIPTION
Point-to-Point Protocol (PPP). ผศ. ดร. อนันต์ ผลเพิ่ม Asst.Prof.Anan Phonphoem, Ph.D. [email protected] http://www.cpe.ku.ac.th/~anan Computer Engineering Department Kasetsart University, Bangkok, Thailand. Internet. ISP. Many Internet users connect from home Dial-up (Telephone line) - PowerPoint PPT PresentationTRANSCRIPT
Point-to-Point Protocol (PPP)
ผศ.ดร. อนั�นัต์ ผลเพิ่ �มAsst.Prof.Anan Phonphoem, Ph.D.
[email protected]://www.cpe.ku.ac.th/~anan
Computer Engineering DepartmentKasetsart University, Bangkok, Thailand
2 of 20
Point-to-Point Protocol
Internet
ISP
Many Internet users connect from home• Dial-up (Telephone line)• Leased line
3 of 20
PPP Transition states
4 of 20
PPP Layers
5 of 20
PPP Layers
6 of 20
PPP Layers (stacks) Link Control Protocol (LCP) Authentication Protocols Network Control Protocol (NCP) Bit Padding Digital Signals (DS) Services
7 of 20
PPP Frame
Address: broadcast (avoid data link address)Control: U-frame format (HDLC)Protocol: defines data field
8 of 20
Link Control Protocol (LCP)• establish/terminate• maintain• configuration
Code: 01=Config-request 02=Config-ack 05=Terminate-req …
Link Control Protocol (LCP)
9 of 20
Common Options
Option Default
Maximum receive unit 1500
Authentication protocol None
Protocol field compression Off
Address and control field compression Off
10 of 20
Authentication Mostly PPP is dial-up user. Validating the user is important Password Authentication Protocol (PAP)
2-way handshake Less secure
Challenge Handshake Authentication Protocol (CHAP) 3-way handshake More secure (no password sent)
11 of 20
Password Authentication Protocol (PAP)
12 of 20
PAP Packets
13 of 20
Challenge Handshake Authentication Protocol (CHAP)
14 of 20
CHAP packets
15 of 20
PPP Transition states
16 of 20
Internetwork Protocol Control Protocol (IPCP)
• Establish / Terminate @ network layer connection (IP)• Code 01:Configure-request 02:Configure-ack …
PPP communication
18 of 20
PPP configuration
19 of 20
PPP configuration
20 of 20
Lab 3.3.2 PPP encapsulation 3.3.3 PPP authentication 3.3.5 Troubleshooting PPP