Chapter2 Internet Protocols
TCP/IP and the DoD Model
DoD模型被认为是OSI参考模型的浓缩品,分为4层,从上到下是:
1.Process/Application layer
2.Host-to-Host layer
3.Internet layer
4.Network Access layer
其中,如果在功能上和OSI参考模型互相对应的话,那么:
1.DoD模型的Process/Application层对应OSI参考模型的最高3层
2.DoD模型的Host-to-Host层对应OSI参考模型的Transport层
3.DoD模型的Internet层对应OSI参考模型的Network层
4.DoD模型的Network Access层对应OSI参考模型的最底2层
The Process/Application Layer Protocols
Process/Application层包含的协议和应用程序有:
Telnet,FTP,X Windows,TFTP,SMTP,SNMP,NFS和LPD等等
Dynamic Host Configuration Protocol(DHCP)/BootP(Bootstrap Protocol)
动态主机配置协议(DHCP)服务器可以提供的信息有:
1.IP地址
2.子网掩码(subnet mask)
3.域名(domain name)
4.默认网关(default gateway)
5.DNS
6.WINS信息
The Host-to-Host Layer Protocols
Host-to-Host层描述了2种协议:
1.传输控制协议(Transmission Control Protocol,TCP)
2.用户数据报协议(User Datagram Protocol,UDP)
Transmission Control Protocol(TCP)
当1个主机开始发送数据段(segment)的时候,发送方的TCP协议要与接受方的TCP协议进行协商并连接,连接后即所谓的虚电路(virtual circuit),这样的通信方式就叫做面向连接(connection-oriented).面向连接的最大优点是可靠,但是它却增加了额外的网络负担(overhead)
User Datagram Protocol(UDP)
UDP协议的最他特点是无连接(connectionless),即不可靠,因为它不与对方进行协商并连接,它也不会给数据段标号,也不关心数据段是否到达接受方