Network Layer#
Control Plane#
- Per-router control plane
- Logically centralized control plane
IP - Internet Protocol#
IP Datagram Format#
5 x 32-bitfixed-length headers4 bitsprotocol version4 bitsheader length (number of words)8 bitstype of service16 bitstotal length (total datagram length in bytes)16 bitsidentification (identifier for fragmentation)3 bitsflags (set to 1 if this is not the last fragment)13 bitsfragment offset (for reassembly)8 bitstime to live (maximum number of remaining hops)8 bitsprotocol (specifies the encapsulated protocol in data)16 bitsheader checksum32 bitssource IP address32 bitsdestination IP address
- options (variable length)
- variable-length payload
IP Addressing#
- IPV4: 32-bit address
- IPV6: 128-bit address
What is an interface?
What is a subnet?