Network Layer Flashcards
What are the network layer services?
- move packets from origin to destination
- avoid congestion
- internetworking
- lowest layer to deal with end to end issues
- must know topology to choose paths
What is congestion control?
- under heavy traffic performance will collapse
- all resources involved to make sure network can carry offered traffic
What is flow control?
Origin to destination point to point control
- fast senders shouldn’t overwhelm slow receivers
What is a virtual circuit?
connection oriented
routing decision only once
nodes know where to forward packets
What is a datagram?
connectionless service
no route in advance
datagrams follow different routes
more work but more robust and copes with congestion
What are the virtual circuit signalling protocols?
4 way handshake
1. initiate call
2. incoming call
3. accept call
4. call connected
What does a routing algorithm do?
determines end to end path through network
What does a forwarding table do?
determines local forwarding at particular router
What does the control plane do?
how datagram routed in end to end path from sender to destination
What does the data plane do?
how datagrams arriving to router’s input link is forwarded to routers output link
What is an example of a forwarding policy and how does it work?
weighted fair queueing
- generalised round robin
- each traffic class gets weighted amount of service in each cycle
How does datagram fragmentation work?
break down datagrams into smaller ones
reassemble at destination
What is the payload?
part actually transferred minus the header
What is MTU?
maximum transfer unit
- keep chopping datagram into pieces small enough to fit the MTU
What is CIDR?
classless interdomain routing
- subnet portion of address of arbitrary length
- format: a.b.c.d/x
- x is no of bits in subnet portion of address
How do subnets work in IP addressing?
all the things in the subnet need to know which network they’re connected to
What 3 things does host need to connect to internet in DHCP?
- IP address
- subnet mask
- address of nearby router
How does DHCP work?
each time user moves or relocated the 3 elements required must be reconfigured
What is required for DHCP?
- IP address
- address of first-hop router for client
- name and IP address of DNS server
- network mask
What is the difference between IPv4 and IPv6?
shorter header to avoid multiple fragmentation