Revision Lecture Flashcards
HTTP is a protocol at which layer of the 5 layer model?
Application layer.
What is ARP used for?
For mapping an IP address to a MAC address.
The transport layer provides logical communication between hosts?
TRUE or FALSE
False.
The transport layer provides logical communication between processes, not hosts.
DHCP (Dynamic host configuration protocol) is used to assign IP addresses to hosts.
TRUE or FALSE
True.
It assigns all hosts an IP when it first connects to the network.
Which of the following layers are implemented by routers:
- Link
- Transport
- Application
- Network
- Physical
Only the Network, Link and Physical layers are implemented by routers.
In reliable data transfer, which, if any, of the following are pipelining techniques:
- Border Gateway Protocol
- Go-Back-N
- Selective Repeat
- First come, First served
- Go-Back-N
- Selective repeat
Name the 5 layers in the Internet protocol stack. What are the primary responsibilities of each layer?
- Application - provides network communication between applications.
- Transport - provides logical communications between application processes running on different hosts.
- Network - provides logical communication between different hosts.
- Link - determines how the packets are sent over physical links.
- Physical - (We did not go over this layer).
Give the explanation of the features that the UDP adds to the Internet protocol (IP).
(3 marks)
- Encapsulates the datagram in a segment
- Adds a port and the ability to multiplex
- Has error checking capabilities using checksum
Unlike TCP, UDP does not provide a reliable data transfer. Why would we use UDP over TCP?
It allows for efficiency, due to no handshaking, and has a smaller segment header.
It also allows for simplicity, no connection is needed between the sender and receiver.
Sometimes we do not mind losing some data in the name of faster, more efficient transfer.