Network
4 networking layers
-
link layer: physical media
- direction connections between machines
- packet-based
-
internet layer
-
who do I want to talk to?
Internet Protocol (IP) address
IPv4 (32-bit) and IPv6 (128-bit)
-
how do I get messages to/from them?
route
-
ifconfig
netstat -rn
traceroute www.google.com
-
transport layer
-
reliable communication
-
transmission control protocol (TCP)
packets in sequence order and feedback of recieving packets
-
user datagram protocol (UDP, simpler but less reliable)
<
-

本文介绍了网络的四个层次:链路层负责物理介质间的直接连接和基于包的通信;互联网层通过IP地址确定通信目标,分为IPv4和IPv6;传输层确保可靠通信,TCP提供有序且反馈的包传输,而UDP则更为简单但可靠性较低;应用层包括FTP、SSH、DNS和HTTP/HTTPS等协议,DNS用于域名解析,HTTP和HTTPS则用于超文本传输。

2281

被折叠的 条评论
为什么被折叠?



