什么是网络协议以及为何要有网络协议
英语成为世界上所有人通信的统一标准,如果把计算机看成分布于世界各地的人,那么连接两台计算机之间的internet实际上就是
一系列统一的标准,这些标准称之为互联网协议,互联网的本质就是一系列的协议,总称为‘互联网协议’(Internet Protocol Suite).
互联网协议的功能:定义计算机如何接入internet,以及接入internet的计算机通信的标准。
osi五层协议
物理层: 传递电信号
数据链路层: 电信号的分组,ethernet,mac地址,广播的工作方式
网络层:ip,标识一个子网
传输层: tcp/udp==>基于端口工作的协议,标识一台机器的唯一应用程序
应用层:http,用户自己定义的协议
用户上网流程
用户通过本地DNS解析网址的IP 本地DNS没有记录怎么通过递归迭代访问DNS根服务器,域名服务器找到,网址服务器解析得到ip地址,得到IP地址之后根据osi五层协议实现上网。
总结:通过今天的学习 明白了internet最基本的通讯原理,简要了解了osi五层协议的工作原理 以及用户上网的流程。