Final Prep Flashcards
How many classes are in classful addressing?
There are five classes, A - E.
T/F: We mostly use classless addressing and subnetting now
True
T/F: The TTL value increases by one each time a packet passes through a router.
False, the TTL value decreases by one each time a packet passes through a router.
What is the first duty of the network layer?
Packetizing, that is, encapsulating the payload in a network-layer packet at the source, and decapsulating it at the destination.
Can the network layer alter the content of the packet?
Only if it is too large to be sent, and must be fragmented.
Can network packets ever be decapsulated by routers?
Only if the packet needs to be fragmented, otherwise, no.
If a packet in the network layer needs to be fragmented, what must happen to each fragment?
The header needs to be copied to each fragment.
What is the basic goal of the network layer?
The network layer is responsible for routing the packet from its source to its destination, and finding the best possible route.
What is forwarding?
Forwarding is a service provided by the network level, where a packet is received by a router from one of its attached networks, and it forwards the packet to another attached network.
How does the network layer handle error checking?
Very poorly, most of the time, although checksum may still be useful to prevent header corruption, but not the whole datagram.
How does the network layer handle flow control?
Very poorly, as datagrams are sent as soon as the sender is ready, regardless of the receiver.
What’s the difference between datagram and virtual circuit as far as packet switching?
In datagram packet switching, it’s connectionless. This means that the network layer treats each packet independently, so they have no relationships to each other. This means the packets may or may not take the same paths, or arrive in the correct order. Their source and destination are contained in their headers.This is what routers do.
In Virtual-Circuit packet switching, it’s connection-oriented. The packets are all related. A connection is set up, packets all follow the same path, and each has a flow label in the header to guide them. This has the basic setup/transmit/teardown as a normal virtual circuit approach.
Why is virtual circuit beneficial, and why isn’t it used as much these days?
Benefits are that the packets are delivered in the same order, the packets don’t need to store the full address of the destination, the connection is reliable
What are the four types of delay?
Transmission Delay
Propagation Delay
Processing Delay
Queuing Delay
What is transmission delay?
Transmission delay is the amount of time it takes for the sender to line up the bits to send.
What is propagation delay?
Propagation delay is the amount of time it takes for a bit to travel from point A to point B through the transmission media.
What is processing delay?
Processing delay is the amount of time it takes for a router or a destination host to receive a packet from its input port, remove the header, perform an error detection procedure, and deliver the packet to the output port.
What is queuing delay?
Queuing delay is the amount of time a packet waits in the input and output queue of the router.
What is throughput?
Throughput is the number of bits passing through a point in a second, which is also the transmission rate. The average speed is determined by the lowest speed segment, or bottleneck/
How does packet loss happens?
Packet loss happens when the input buffer of a router fills up, and incoming packets are dropped.
What are the two main causes of congestion?
Throughput and delay.
Does discarding packets alleviate network congestion?
No, because dropped packets are almost always retransmitted.
What are the two forms of congestion control?
Open-loop congestion control and closed-loop congestion control.
What is open-loop congestion control?
In open-loop congestion control, policies are applied before congestion occurs.Things like good re-transmission policies, Selective Repeat (where only corrupted/lost packets are retransmitted), acknowledgement policies, discarding and admission policies.