The internet structure: The TCP/IP Stack Flashcards
1
Q
What does TCP/IP stand for?
A
Transmission Control Protocol/Internet Protocol
2
Q
What are the 4 layers in the TCP/IP stack?
A
- Application layer
- Transport layer
- Network layer
- Link layer
3
Q
What happens in the application layer?
A
The application layer is based at the top of the stack. It specifies what
protocol needs to be used in order to relate the application that’s being sent
- E.g. Browser application - protocol HTTP
4
Q
What happens in the transport layer?
A
- The transport layer uses TCP to establish an end-to-end connection
between the source and recipient computer - The transport layer splits data up into packets and labels these packets with
their packet number, the total number of packets the original data was split
up into and the port number being used for communication - If any packets get lost, the transport layer requests re-transmissions of these
lost packets
5
Q
What happens in the network layer?
A
- The network layer adds the source and destination IP addresses
- Routers operate on the network layer and the router is what uses the IP
addresses to forward the packets. - The sockets are then used to specify which device the packets must be sent
to and the application being used on that device
6
Q
What happens in the link layer?
A
The link layer is the connection between the network devices, it adds the
MAC address identifying the Network Interface Cards of the source and
destination computers