Computer Networks · TEE · papers

Q6(c) · TCP/IP layers

2024-02-06 · 2022-23

Actual paper; 100 marks attempted. Current-syllabus alignment is stated per question.

Q6(c). Explain briefly the functionalities of layers of TCP/IP protocol suite. [5 marks]

Answer

The TCP/IP model describes the Internet protocol suite in four layers. Many teaching books split the link layer into data link and physical, making a five-layer teaching model; identify the convention before drawing.

Swipe across the diagram to read its labels ↔
OSI layers mapped to the four-layer TCP/IP model
Diagram: OSI layers mapped to the four-layer TCP/IP model. Labels: OSI layers mapped to the four-layer TCP/IP model | OSI layers mapped to the four-layer TCP/IP model | 7 Application | 6 Presentation | 5 Session | 4 Transport | 3 Network | 2 Data link | 1 Physical | Application | HTTP, DNS, FTP, SMTP | Transport | Internet | Link / network access | Includes physical access | Some textbooks split link into data link + physical: five layers.
Four TCP/IP layers; the link layer includes the physical medium.
TCP/IP layerFunctionExamples
ApplicationDefines application message formats and exchanges for Web access, naming, email and file transfer; includes presentation/session functions as neededHTTP, DNS, SMTP, FTP
TransportEnd-to-end process communicationTCP, UDP, SCTP
InternetIP addressing, routing and best-effort datagramsIPv4/IPv6
Link/network accessLocal delivery and physical accessEthernet/Wi-Fi and their medium
PointOSITCP/IP
Layer countSevenFour here; five-layer teaching variant splits link
Upper functionsApplication, presentation, session separatedGrouped under application
Lower functionsData link and physical separatedGrouped under link/network access
PurposeGeneral reference architectureArchitecture of deployed Internet protocol family
Network serviceReference model can describe different servicesInternet layer uses connectionless IP
TransportConceptual transport serviceTCP reliable byte stream; UDP datagrams; SCTP messages

Yaad rakho: OSI 7; TCP/IP four mein upper three merge, lower two merge.

Internet and transport protocols

LayerProtocolRole
InternetIPv4 / IPv6Address and deliver best-effort packets across networks
InternetICMP / ICMPv6Report selected IP errors and operational information; used by diagnostic exchanges
TransportTCPReliable, ordered byte stream with connection establishment, flow and congestion control
TransportUDPConnectionless message delivery using ports, without built-in retransmission or ordering
TransportSCTPReliable message-oriented association with multiple streams and multihoming support