global_internet06.ppt
TRANSCRIPT
Global InternetGlobal Internet
Figure 4.24 The tree structure of the Figure 4.24 The tree structure of the Internet in 1990Internet in 1990
NSFNET backboneStanford
BARRNET
regional
BerkeleyPARC
NCAR
UA
UNM
Westnet
regional
UNL KU
ISU
MidNet
regional■ ■ ■
Global InternetGlobal Internet
Global InternetGlobal Internet
• Each provider network is regional and a single autonomous system (AS)
• Major issues are:– Scalability of routing– Address utilization (running out of IP
addresses
• Hierarchy is used to improve scalability.
SubnettingSubnetting
• Assigning one network number per physical network uses up IP address too fast!
• More network numbers also increases forwarding table size.
• The idea is to take a single IP network number and allocate the IP addresses with that network number to several physical networks which are referred to as subnets.
• The subnets need to be close to each other for routing purposes.
SubnettingSubnetting
• The mechanism by which a single network nubmer can be shared among multiple networks involves configuring all the nodes on each subnet with a subnet mask.
• The subnet mask enables introduction of a single subnet number which provides for another level of hierarchy into the IP address.
• All hosts on a given subnet are configured with the same mask, i.e., there is one subnet mask per subnet.
SubnettingSubnettingNetwork number Host number
Class B address
Subnet mask (255.255.255.0)
Subnetted address
11111111111111111111111100000000
Network number Host IDSubnet ID
Figure 4.25 Subnet AddressingFigure 4.25 Subnet Addressing
SubnettingSubnetting
Figure 4.26 An Example of Subnetting Figure 4.26 An Example of Subnetting
Subnet mask: 255.255.255.128Subnet number: 128.96.34.0
128.96.34.15128.96.34.1
H1 R1
128.96.34.130 Subnet mask: 255.255.255.128Subnet number: 128.96.34.128
128.96.34.129128.96.34.139
R2H2
128.96.33.1128.96.33.14
Subnet mask: 255.255.255.0Subnet number: 128.96.33.0
H3
Classless Routing (CIDR)Classless Routing (CIDR)
• Classless interdomain routing (CIDR) addresses:– The growth of backbone routing tables– The potential for 32-bit IP address space to be
exhausted
• The problem is with the Class B numbers (64K addresses)– Give out appropriate number of Class C addresses in
256 address chunks.– But this increases routing table entries for a single
AS!
Classless Routing (CIDR)Classless Routing (CIDR)• CIDR helps us to aggregate routes by breaking
up rigid boundaries between classes.• Hand out Class C addresses in contiguous
blocks by address.• Make it so the addresses share a common prefix
=> allocate Class C networks as a power of 2.• We need a protocol that understands these
rules, e.g., BGP!• Network numbers are represented by
(length,value) where length is the length of the prefix {similar to a mask}.
Classless Routing (CIDR)Classless Routing (CIDR)
Border gateway(advertises path to11000000000001)
Regional network
Corporation X(11000000000001000001)
Corporation Y(11000000000001000000)
Figure 4.27 Route Aggregation with Figure 4.27 Route Aggregation with CIDRCIDR