auto commit
@ -95,7 +95,7 @@
|
||||
|
||||
网络把主机连接起来,而互联网是把多种不同的网络连接起来,因此互联网是网络的网络。
|
||||
|
||||
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics//04ff7ae6-7bee-4cf8-82f8-dfe2ba1f3616.jpg)
|
||||
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics//f1fb826b-ecf4-4ddb-91f0-2bafecf08869.jpg)
|
||||
|
||||
## ISP
|
||||
|
||||
@ -105,14 +105,14 @@
|
||||
|
||||
互联网交换点 IXP 允许两个 ISP 直接相连而不用经过第三个 ISP。
|
||||
|
||||
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics//17d807ef-03bf-4824-a97c-ea5fb58ec61d.jpg)
|
||||
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics//0f8c0a60-d4c6-47f4-978d-1a5c393fedac.jpg)
|
||||
|
||||
## 互联网的组成
|
||||
|
||||
1. 边缘部分:所有连接在互联网上的主机,用户可以直接使用;
|
||||
2. 核心部分:由大量的网络和连接这些网络的路由器组成,为边缘部分的主机提供服务。
|
||||
|
||||
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics//005d83c2-e64a-41f0-bbdd-51c71d494a18.jpg)
|
||||
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics//de284292-b275-4454-8a98-f7e0de370a78.jpg)
|
||||
|
||||
## 主机之间的通信方式
|
||||
|
||||
@ -126,7 +126,7 @@
|
||||
|
||||
## 电路交换与分组交换
|
||||
|
||||
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics//b97958dd-3e43-45f7-97f5-3ec20f3f8b88.jpg)
|
||||
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics//c50d230c-8b89-4644-8f62-8708d03aac5b.jpg)
|
||||
|
||||
### 1. 电路交换
|
||||
|
||||
@ -140,7 +140,7 @@
|
||||
|
||||
分组交换也使用了存储转发,但是转发的是分组而不是报文。把整块数据称为一个报文,由于一个报文可能很长,需要先进行切分,来满足分组能处理的大小。在每个切分的数据前面加上首部之后就成为了分组,首部包含了目的地址和源地址等控制信息。
|
||||
|
||||
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics//6f4af159-8b03-4246-8d0e-222db65bb83c.jpg)
|
||||
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics//2366c2ad-5859-4d4e-805f-7e2b88061cd8.jpg)
|
||||
|
||||
存储转发允许在一条传输线路上传送多个主机的分组,因此不需要占用端到端的线路资源。
|
||||
|
||||
@ -205,7 +205,7 @@
|
||||
|
||||
路由器只有下面三层协议,因为路由器位于网络核心中,不需要为进程或者应用程序提供服务,因此也就不需要运输层和应用层。
|
||||
|
||||
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics//f7d5da89-2d75-4d8f-85e7-6b608865dc00.jpg)
|
||||
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics//6e9bd38c-0d23-4ce1-a1f1-8bc302165360.jpg)
|
||||
|
||||
### 4. TCP/IP 体系结构
|
||||
|
||||
@ -213,11 +213,11 @@
|
||||
|
||||
现在的 TCP/IP 体系结构不严格遵循 OSI 分层概念,应用层可能会直接使用 IP 层或者网络接口层。
|
||||
|
||||
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics//3e2200b3-1c18-4853-ae42-7788e8e1f939.png)
|
||||
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics//c24ad1af-d81b-409f-b4eb-62db9002d525.png)
|
||||
|
||||
TCP/IP 协议族是一种沙漏形状,中间小两边大,IP 协议在其中占用举足轻重的地位。
|
||||
|
||||
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics//9ecaebee-670e-4cb2-9cdb-3029c00f33bd.png)
|
||||
![](https://github.com/CyC2018/InterviewNotes/blob/master/pics//b5c78914-066f-42be-ad1a-1c9f72aa9093.png)
|
||||
|
||||
# 第二章 物理层
|
||||
|
||||
|
BIN
pics/0f8c0a60-d4c6-47f4-978d-1a5c393fedac.jpg
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
pics/2366c2ad-5859-4d4e-805f-7e2b88061cd8.jpg
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
pics/6e9bd38c-0d23-4ce1-a1f1-8bc302165360.jpg
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
pics/b5c78914-066f-42be-ad1a-1c9f72aa9093.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
pics/c24ad1af-d81b-409f-b4eb-62db9002d525.png
Normal file
After Width: | Height: | Size: 8.0 KiB |
BIN
pics/c50d230c-8b89-4644-8f62-8708d03aac5b.jpg
Normal file
After Width: | Height: | Size: 66 KiB |
BIN
pics/de284292-b275-4454-8a98-f7e0de370a78.jpg
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
pics/f1fb826b-ecf4-4ddb-91f0-2bafecf08869.jpg
Normal file
After Width: | Height: | Size: 46 KiB |