point-to-point protocol (ppp)

20
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

Upload: sydney-munoz

Post on 01-Jan-2016

20 views

Category:

Documents


3 download

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 Presentation

TRANSCRIPT

Page 1: Point-to-Point Protocol (PPP)

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

Page 2: Point-to-Point Protocol (PPP)

2 of 20

Point-to-Point Protocol

Internet

ISP

Many Internet users connect from home• Dial-up (Telephone line)• Leased line

Page 3: Point-to-Point Protocol (PPP)

3 of 20

PPP Transition states

Page 4: Point-to-Point Protocol (PPP)

4 of 20

PPP Layers

Page 5: Point-to-Point Protocol (PPP)

5 of 20

PPP Layers

Page 6: Point-to-Point Protocol (PPP)

6 of 20

PPP Layers (stacks) Link Control Protocol (LCP) Authentication Protocols Network Control Protocol (NCP) Bit Padding Digital Signals (DS) Services

Page 7: Point-to-Point Protocol (PPP)

7 of 20

PPP Frame

Address: broadcast (avoid data link address)Control: U-frame format (HDLC)Protocol: defines data field

Page 8: Point-to-Point Protocol (PPP)

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)

Page 9: Point-to-Point Protocol (PPP)

9 of 20

Common Options

Option Default

Maximum receive unit 1500

Authentication protocol None

Protocol field compression Off

Address and control field compression Off

Page 10: Point-to-Point Protocol (PPP)

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)

Page 11: Point-to-Point Protocol (PPP)

11 of 20

Password Authentication Protocol (PAP)

Page 12: Point-to-Point Protocol (PPP)

12 of 20

PAP Packets

Page 13: Point-to-Point Protocol (PPP)

13 of 20

Challenge Handshake Authentication Protocol (CHAP)

Page 14: Point-to-Point Protocol (PPP)

14 of 20

CHAP packets

Page 15: Point-to-Point Protocol (PPP)

15 of 20

PPP Transition states

Page 16: Point-to-Point Protocol (PPP)

16 of 20

Internetwork Protocol Control Protocol (IPCP)

• Establish / Terminate @ network layer connection (IP)• Code 01:Configure-request 02:Configure-ack …

Page 17: Point-to-Point Protocol (PPP)

PPP communication

Page 18: Point-to-Point Protocol (PPP)

18 of 20

PPP configuration

Page 19: Point-to-Point Protocol (PPP)

19 of 20

PPP configuration

Page 20: Point-to-Point Protocol (PPP)

20 of 20

Lab 3.3.2 PPP encapsulation 3.3.3 PPP authentication 3.3.5 Troubleshooting PPP