One of the most widely used network models is the TCP/IP model, which is based on the reference model of the same name. The TCP/IP model has four layers: application, transport, internet, and link. The application layer provides the interface and services for distributed applications, such as HTTP, FTP, and SMTP. The transport layer ensures the reliable and efficient delivery of data, such as TCP and UDP. The internet layer handles the routing and addressing of data packets, such as IP and ICMP. The link layer connects the physical devices and media, such as Ethernet and Wi-Fi.
Another common network model is the Internet model, which is based on the implementation model of the same name. The Internet model has five layers: application, presentation, session, transport, and network. The application layer is similar to the TCP/IP model, but also includes protocols for remote access, directory services, and network management, such as Telnet, LDAP, and SNMP. The presentation layer translates and formats the data for different applications, such as encryption, compression, and encoding. The session layer establishes and maintains the connection and synchronization of applications, such as cookies, tokens, and sockets. The transport and network layers are similar to the TCP/IP model, but also include protocols for congestion control, quality of service, and multicast, such as RTP, RSVP, and IGMP.