Outline



TCP Summary



Network Layer



Network-Layer Connections



Network Service Models



Virtual Circuit Network



Datagram Network



Datagram Network Routing Tables



Comparisons of Virtual Circuits to Datagrams



Fundamental Switch Design



A simple router



Switch Input Port Functions



Switching Fabric Design



Switch Output Port Functions



Queueing and Scheduling



Input Queues



Internet Network Layer



Internet Protocol



IP header fields

  • the version number is 4
  • the Internet Header Length (IHL) is the length of the header in 4-byte, and has a minimum value of 5
  • the type of service can be used to provide differentiated service to different packets
  • the last two bits of the type of service field are used to mark packets for Explicit Congestion Notification
  • the length includes header and data
  • identification, flags, and fragment offset are used to fragment packets where needed, then reassemble them at the destination
  • the time to live (TTL) field is decremented each time the packet is forwarded (or stored for at least a second), and the packet is dropped if the TTL reaches zero
  • the protocol field identifies the higher-layer protocol:
  • the header checksum is the Internet Checksum computed over all the bytes of the header
  • the source and destination address identify the sender and the intended receiver of the message
  • these fields may be followed by options, then usually by data



    Internet Header Sizes



    IP fragmentation



    Fragmentation Details



    example IP headers and fragmentation