Week 10 - Packet switching & Network layer addressing Flashcards
What is packet switching and why is it used?
Packet switching in the context of datagram networks means that each packet is independent and travels the fastest route it can (ex: UDP).
It is used to connect multiple devices in a network to facilitate efficient point-to-point communication.
What are the 5 services of the network layer?
Packetizing
Routing
Error control
Flow control
Congestion control
How is network layer routing performed?
With the use of routing tables and network layer devices (routers).
MAC addresses are modified along the way.
If the dest MAC of datagram does not match, it is dropped.
How is error control performed in the network layer?
Using the checksum field in the header of the datagram.
Checks only the header.
Only detects errors and drops packets, does not retransmit.
What are the four facets of network layer delay?
- Transmission time (n + 1) - Time to push all bits of packet onto a link (corresponds to # links)
- Propagation time - Time required for a bit to travel from source to dest (based on distance and propagation speed)
- Processing delay (n + 1) - time to process packet at router and destination
- Queuing delays (n) - time packet held at each router
What is throughput?
How fast we can actually send data through a network.
(Realistic: Throughput, Theoretical: Bandwidth)
Depends on link with min transmission rate.
What is jitter?
Variations in delay (think of CounterStrike)
What are the 3 metrics to measure network layer performance?
delay
throughput
packet loss
What is IP forwarding AND
What 4 pieces of information are needed for IP forwarding?
IP forwarding is forwarding packets from one network to another based on the destination IP
mask
network address
interface number
IP address of next rouer
What is address aggregation?
Combining rows in a forwarding table to represent a block of CIDR addresses for more efficient routing.
Is the internet a packet-switched network?
Yes
What is DHCP?
Dynamic Host Configuration Protocol (application layer)
Automatically assigns assignable addresses for each host or router.
What is NAT?
Network Address Translation
In a small network, allows hosts to share the same public IP when accessing the internet.
255.255.255.223 is a valid subnet mask.
F because a subnet mask must have contiguous 0s.
In NAT translation table, every (source IP address, port #) is mapped
to (—, —) translation pair.
NAT IP address, new port #