network layer Flashcards
what is the network layer
transport seg from sender to receiver
- send side: encapsulates seg into datagram
- net layer protocols in every host, router
- router examines header field
2 key net layer principles
addressing, link layer independence
what is link layer independence
services provided does not depend on internal organization of the underlying datalink layers
what is addressing
each net layer entity is identified by net layer address
What are the two net layer planes
control
data
what control plane used for
compute and install routing tables on routers - needs to understand entire network that host is part of - network wide logic
what is data plane used for
local -per router - used by hosts and routers to create and process packets that contain user data - transform to transport packet
two key net layer functions
routing, forwarding
what is routing
determine route taken by packets using routing algos
what is forwarding
move packets from router inp to router out
describe the interplay between routinng and forwarding
routing algo determines end-end path through network, forwarding table determines local forwarding for this router
describe IP fragmentation and reassembly
network links have Max Transfer Size which is the largest possible link-level frame
large IP datagram fragmented within the net
- one DGram becomes several
-reassembled at final dest
- IP header bits identify and order fragments
name and explain 2 network layer service models
Datagram network - connectionless service
Virtual circuit - connection service
difference between DG network/virtual circuit vs UDP/TCP
service - host to host
no choice in which service is used - implemented in network core
What are some properties of datagram networks
- no call setup at net layer
- pkt contains src and dest host addresss plus data
- routers: no state about end-to-end connections (hop by hop forwarding)
- pkts forwarded using dest host address