计算机网络
自底向上介绍:
每一层都有, 一些协议 protocols
硬件层, move 0 and 1
双铜绞线
Cat5 铜线, 就是 Category 5 铜线cable 电缆, 电缆只能保证两台机器的连接
form point-to-point connectionshub, 连接多台机器
网络上的噪音, noisehub, allow many computers to communicate with each other连接在 hub 上的 system, 决定要不要接收 hub 的数据
对于连接在 hub 上的 system, noise 特别多还有
物理层,硬件层,处理位,
这个时候,需要调制 modulation
Line Coding:Encoder
Docoder
双工通信 Duplex communication
单共通信,与全双工通信
全双工通信,与半双工通信,
这个图,真清晰,一看就明白了半双工通信,only one device can be communicating at a time
数据链路层:
这一层的协议是, Ethernet
硬件层, hud 设备, Physical Layer
数据链路层,switch 设备,Data Link Layer
Network switch, 也叫 switch hub, 负责 retransmissiondetermine which system the data is intended for,
and then , only send that data to that only system.
IP 层, IP, Internet Protocol
Network Layer, 也就是 The Internet Layer
传输层 , Transport LayerTCP, Transmission Control Protocol
传输控制协议UDP, User Datagram Protocol
用户报文协议
这个比喻,非常恰当
以网络模型,五层结构,为依据
第二层,比喻的好,
把数据链路,比作道路
DNS, DHCP 是哪一层