osi = open systems interconnection mode 开发系统互联模式
七层网络模型
num | en | cn | desc |
---|---|---|---|
7 | Application | 应用层 | |
6 | Presentetion | 表示层 | |
5 | session layer | 会话层 | |
4 | transport layer | 传输层 | Tcp UDP |
3 | network layer | 网络层 | |
2 | Data link layer | 数据链路层 | 帧 和 帧 的格式 |
1 | physical | 物理层 | 对信息编码(exp: 曼彻斯特编码) 处理的物理基础, 网线,光纤, 无线 |
ppp 点对点连接 不使用 mac地址
can use ip address
以太网 多对多连接 使用mac 地址
mac address can only work in 以太网, mac address = 硬件地址
路由器的工作 就是查看目标IP地址
ip = internet protocol 互联网 协议
ipv 4 32 二进制位ip address
ipv6 128 二进制位 ip address
arp = address resolvation protocol 地址解析协议
ping [destination ip address] send ip data package to destination
icmp request, get icmp response
tcp 传输控制协议, 解决拆包(包特别大需要拆成小包传输),丢包问题,
---- byte stream service
---- connection oriented
---- reliable