计算机网络

在这里插入图片描述

自底向上介绍:

每一层都有, 一些协议 protocols

硬件层, move 0 and 1

在这里插入图片描述

双铜绞线

Screen Shot 2021-01-14 at 4.11.00 AM.png

Cat5 铜线, 就是 Category 5 铜线

  • cable 电缆, 电缆只能保证两台机器的连接

form point-to-point connections

  • hub, 连接多台机器

Screen Shot 2021-01-14 at 9.07.41 AM.png

网络上的噪音, noise
  • hub, allow many computers to communicate with each other
  • 连接在 hub 上的 system, 决定要不要接收 hub 的数据

对于连接在 hub 上的 system, noise 特别多

  • 还有

Screen Shot 2021-01-14 at 9.12.31 AM.png

物理层,硬件层,处理位,

Screen Shot 2021-01-14 at 11.09.04 AM.png

这个时候,需要调制 modulation

Screen Shot 2021-01-14 at 11.20.00 AM.png

Line Coding:

  • Encoder
  • Docoder
双工通信 Duplex communication

Screen Shot 2021-01-14 at 2.33.29 PM.png

单共通信,与全双工通信

Screen Shot 2021-01-14 at 2.36.17 PM.png

全双工通信,与半双工通信,

这个图,真清晰,一看就明白了

半双工通信,only one device can be communicating at a time

Screen Shot 2021-01-14 at 2.39.04 PM.png



数据链路层:

这一层的协议是, Ethernet

在这里插入图片描述

  • 硬件层, hud 设备, Physical Layer
  • 数据链路层,switch 设备,Data Link Layer

Network switch, 也叫 switch hub, 负责 retransmission

determine which system the data is intended for,

and then , only send that data to that only system.

Screen Shot 2021-01-14 at 9.18.23 AM.png

IP 层, IP, Internet Protocol

Network Layer, 也就是 The Internet Layer

wwww

传输层 , Transport Layer

  • TCP, Transmission Control Protocol

传输控制协议

  • UDP, User Datagram Protocol

用户报文协议

www


这个比喻,非常恰当

www

以网络模型,五层结构,为依据

第二层,比喻的好,

把数据链路,比作道路








DNS, DHCP 是哪一层


邓轻舟
384 声望13 粉丝

我叫邓江洲,准备面试中