network layer Flashcards
role of routers
examines datagram headers and decides which port to send it to
forwarding
taking the packets at one port of the router and sending it to another based on the header contents
routing
determining the path of the packet from end system to end system
what is the role of the sender in the network layer
encapsulates segments into datagrams and passes them to the link layer
what is the role of the receiver in the network layer
delivers segments to the transport layer protocol
what are the two roles of the network layer
forwarding
routing
data plane
local per router function that determines how the datagram is forwarded between ports
control plane
network wide logic that determines how the datagram is routed between source and destination hosts
what kind of service is the network layer
best effort
decentralised switching
using header field values to lookup the output port using the forwarding table and input port memory
what causes input port queueing
if datagrams arrive faster than the forwarding rate into switch fabric
destination based forwarding
forwarding based on the ip address
generalised forwarding
forwarding based on any set of header field values
how are ip addresses stored in the lookup table
each ip is represented by prefixes instead of the entire thing
longest prefix matching
uses the longest address prefix that matches the destination address
what are the 3 types of switch fabric
memory
bus
interconnection network
what do the memory and bus switch fabric have in common
the interfaces compete with eachother for access
if one is sending data on it already then it cant be used
head of line blocking
datagram at the front of the queue prevents others in the queue from moving forward
what do we use to switch through the interconnected network
CISCO CRS router
how does the cisco crs router work
uses parallel switching planes for faster performance and scalability
8 switching planes per unit
3 stage interconnection network in each plane
supports 100+ tbps switching capacity
why do we use buffering
its required when data arrives faster than the link transmission rate
drop policy
how we choose which packets to drop when the buffer is full
switching discipline
which packets to forward and in which order
priority scheduling (buffer overflow)
drops the packet with the least priority whilst maintaining network neutrality