typora/note/计算机网络/PPP协议数据帧格式.md
2024-12-12 10:48:55 +08:00

26 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### 一、PPP协议
- point to point 点对点协议
### 二、协议内容
- LCP协议Link Control Protocol不依赖上层协议负责连接的建立与断开、设置最大的接收单元MRU设置验证协议以及设置是否进行通信质量的监控
- NCP协议Network Control Protocol依赖上层协议如果上层协议为IP协议则此时的NCP也叫IPCP负责IP地址的设置以及是否进行TCP/IP首部压缩的协商
### 三、PPP用户验证
- PAP协议Password Authentication Protocol建立连接时通过两次握手进行用户名和密码的验证密码明文传输
- CHAP协议Chanllege HandShake Authentication Protocol使用一次性密码建立连接后定期交换密码有效防止窃听
### 四、数据帧格式
![image-20230707174300044](https://blog-heysq-1255479807.cos.ap-beijing.myqcloud.com/blog/note/image-20230707174300044.png)
### 五、PPPoE
- PPP over Ethernet
- 在以太网的基础上提供PPP功能
![image-20230707175353594](https://blog-heysq-1255479807.cos.ap-beijing.myqcloud.com/blog/note/image-20230707175353594.png)