TCP / IP network protocol basis

TCP / IP background and introductory

TCP / IP (Transmission Control Protcol / Internet Protocol): is short for Transmission Control Protocol and Internet Protocol, which defines electronic devices if connected to the Internet, and how to transfer data between their standard.
Network protocol stack architecture: Laundry network stack structure, most notably the OSI model, the following is a comparison between them
Here Insert Picture Description
1) Application Layer: This layer applications through the access network,
2) Transport Layer: TCP and UDP protocol;
3) network layer: IP protocol ,,,, etc.
4) network Interface layer: base layer is TCP / IP protocol, responsible for transmission and reception of the data frame.

TCP / IP Introduction

1.IP address

网络上每一个节点都必须有一个独立的 IP 地址,通常使用的 IP 地址是一个 32bit 的数字,被 . 分成 4 组。有了 IP 地址,用户的计算机就可以发现并连接互联网中的另外一台计算机。

2. Domain Name

互联网给每个 IP 地址起了一个别名,习惯上称作域名。
域名与计算机的 IP 地址相对应,并把这种对应关系存储在域名服务系统 DNS(Domain Name System) 中

3.MAC address

MAC(Media Access Control)地址,或称为物理地址、硬件地址,用来定义互联网中设备的位置。
在 TCP/IP 层次模型中,网络层管理 IP 地址,链路层则负责 MAC 地址。因此每个网络位置会有一个专属于它的 IP 地址,而每个主机会有一个专属于它 MAC 地址

4. Port Number

P 地址是用来发现和查找网络中的地址,但是不同程序如何互相通信呢?这就需要端口号来识别了。如果把 IP 地址比作一间房子 ,端口就是出入这间房子的门

The package and sealed with
Here Insert Picture Description
6.RFC

RFC(Request for Comment)文档是所有以太网协议的正式标准,并在其官网上面公布,由 IETF 标准协会制定

Check IP address, ping the domain name

ipconfig
ping baidu.com
Published 17 original articles · won praise 0 · Views 505

Guess you like

Origin blog.csdn.net/HexString/article/details/104638283