1.3.3 Networks (TCP/IP Stack and Packets) Flashcards
What are the four layers in the TCP/IP stack?
Application Layer
Transport Layer
Network Layer
Link Layer
What does the application layer do?
It specifies what protocol needs to be used to relate the application being sent.
What does the transport layer do? [3]
- Uses TCP to establish an end-to-end connection between the source and recipient computer.
- It splits data into packets, and labels them with their packet number, the total number of packets and the port number being used for communication.
- If any packets get lost, the transport layer requests retransmissions of these lost packets.
What does the network layer do? [3]
- It adds the source and destination IP addresses.
- Routers operate on this layer. The router uses the IP addresses to forward the packets.
- The socket addresses are used to specify which device the packets must be sent to, and the application being used on that device.
What is a socket address?
The combination of the IP address and the port number.
What is the link layer?
- The connection between the network devices. It adds the MAC address identifying the Network Interface Cards of the source and destination computers.
- For devices on the same network, the destination MAC is the address of the recipient computer. Otherwise, it is the MAC address of the router.
Some data has reached its destination. What happens moving up the TCP/IP stack?
Link: Removes the MAC address
Network: Removes the IP addresses
Transport: Removes the port number and reassembles the packets
Application: Presents the data to the recipient, in the form it was requested in.
Who typically owns infrastructure used in WANs?
Third parties
What is the TCP/IP stack?
A stack of networking protocols which work together, used in sending and receiving data.
What is the Domain Name System?
The system used to name and organise internet resources.
How does the DNS work?
It is a hierarchy. Each smaller domain is separated from the larger domain by a full stop.
Give an example of a TLD (top level domain)
.com
Give an example of a 2LD (second level domain)
.co.uk
What are packets?
Segments of data.
What three parts can a packet be split up into?
- Header
- Payload
- Trailer