190 likes | 204 Views
Dive into addressing and routing in virtual circuit networks, explore Internet addressing issues, and understand scalability concerns. Topics include subnetting, CIDR, ARP, DHCP, and Mobile IP protocols. Don't miss the preview of the midterm topics!
E N D
Lecture 11 • Routing in Virtual Circuit Networks • Internet Addressing
Projects and midterm • Progress report Monday February 25, 8 AM from all individuals or groups. • Midterm: Tuesday, February 26, 7-7:30 PM. • Material – Chapters 1,2, and 4 up to the last lecture. • Open book. • 3 questions: 30 minutes
Scalability issues with VCs • Assume a router with • n input and n output lines of b Gbps • average packet size l bytes • determine the size of the routing table
Addressing • Address spaces • Flat • Hierarchical • Addressing Modes • Unicast • Multicast • Broadcast • Anycast
Internet addressing • IPv4 address encoding – classes • Problems and solutions • Subnetting • Classless address encoding • Address resolution protocol (ARP) • Dynamic host reconfiguration protocol (DHCP) • Tunneling • Mobile IP
Problems with IPv4 address encoding • The size of the IP address space is: 232 • Class C addresses not very useful… • Class B addresses wasteful… • We would like to group network addresses to reduce the size of forwarding tables.
Subnetting • Define a subnet mask and a subnet number. • Obtain the subnet number: (IP address) AND (subnet mask) • The whole idea is to allocate a single network number to a collection of networks. • All hosts in a subnet have the same subnet number. • Routing: given a destination IP address the router ANDs this address with the masks of all entries to determine the subnet number of the destination. Example.
Classless interdomain routing - CIDR • A block of class C addresses are aggregated to have a common prefix. • Example: 195.2.32.xx 11000101 00000010 00100000 xxxxxxxx 195.2.63.yy 11000101 00000010 00111111 yyyyyyyy Have a common 18 bit prefix 11000101 00000010 001
Classless interdomain routing - CIDR • In this bloc we have 214 addresses (32-18=14). • If • all potential 16,384 hosts in this block are connected to LANs connected to the same router and • Allrouters know to use an 18 bit prefix for the lookup phase of forwarding we are in business.