The TCP/IP protocol suite operates at Layers 3–7 of the OSI seven-layer model.
Internet Protocol (IP) works at the Network layer, where it takes data chunks from the Transport layer (which become the packet’s payload ), adds addressing, and creates the final IP packet. IP then hands the IP packet to the Data Link layer for encapsulation into a frame.
When moving data between systems the TCP/IP protocol suite needs to know if the communication is connection-oriented or connectionless. (TCP or UDP ?)
Most TCP/IP applications use TCP. TCP gets an application’s data from one machine to another reliably and completely.
UDP is the “fire and forget” missile of the TCP/IP protocol suite. Two of the most important networking protocols, Domain Name System (DNS) and Dynamic Host Configuration Protocol (DHCP), use UDP.
TCP/IP applications use TCP/IP protocols to move data back and forth between clients and servers.
TCP/IP supports both LAN and WAN, because every host runs TCP/IP software over Ethernet hardware, creating a situation where every host has two addresses: MAC and IP addresses.
If computer A wants to send an IP packet
to computer B on the LAN
, the sending computer must encapsulate
the IP packet into an Ethernet frame
: