Networking Concepts - Part 6
Networking Concepts - Part 6
/24 /16
Classful and Classless IP Addressing
• Classless Inter-domain Routing (CIDR – RFC 1517)
Advantage of CIDR :
More efficient use of IPv4 address space
Route summarization
( reduce routing table size)
( reduce routing update traffic)
Requires subnet mask to be included in routing update
because address class is meaningless
The network portion of the address is determined by the network
subnet mask, also known as the network prefix, or prefix length (/8, /19,
etc.).
The network address is no longer determined by the class of the
address
Blocks of IP addresses could be assigned to a network based on the
requirements of the customer, ranging from a few hosts to hundreds or
thousands of hosts.
Classful and Classless IP Addressing
• Classless IP Addressing
• CIDR & Route Summarization
–Variable Length Subnet Masking (VLSM)
–Allows a subnet to be further sub-netted
• according to individual needs
–Prefix Aggregation Route Summarization
–CIDR allows for routes to be summarized as
a single route
Classful and Classless IP Addressing
• Route Summarization
– In the figure, notice that ISP1 has four customers,
each with a variable amount of IP address space.
–However, all of the customer address space can be
summarized into one advertisement to ISP2.
–The 192.168.0.0/20 summarized or aggregated
route includes all the networks belonging to
Customers A, B, C, and D.
• This type of route is known as a supernet route.
• A supernet summarizes multiple network addresses with a
mask less than the classful mask.
Classful and Classless IP Addressing
• Route Summarization
– Propagating VLSM and supernet routes requires a classless
routing protocol, because the subnet mask can no longer be
determined by the value of the first octet.
• Classless routing protocols include the subnet mask with
the network address in the routing update.
• RIPv2, EIGRP, IS-IS, OSPF and BGP.
• Interior:
• RIPv2
• EIGRP
• IS-IS
• OSPF
• Exterior:
• BGP
Classful and Classless IP Addressing
172.16.0.0 /14
Classful and Classless IP Addressing
Classless Routing Protocol
s 0/0/1
Classless Inter-Domain Routing (CIDR)
• Steps to calculate a route
summary
1. List networks in
binary format
2. Count number of left
most matching bits to
determine summary
route’s mask
3. Copy the matching
bits and add zero bits to
determine the
summarized network
address
Example: Calculating a summary route
Answer:
Example: Calculating a summary route
Answer:
Designing VLSM Addressing 6.4.1
–Addressing Table
Addressing Table
• Subnet Network Address
Subnet Network Address
• S-WEST LAN1 192.168.7.0/27
N-EAST LAN1 192.168.5.0/27
• S-WEST LAN2 192.168.7.32/27 N-EAST LAN2 192.168.5.32/27
• Link from WEST to N-WEST 192.168.7.64/30 Link from EAST to N-EAST 192.168.5.192/30
• Link from WEST to S-WEST 192.168.7.68/30 Link from EAST to S-EAST 192.168.5.196/30
• Link from HQ to WEST 192.168.7.72/30 Link from HQ to EAST 192.168.5.200/30
• NW-BR1 LAN1 192.168.7.128/27 SE-BR1 LAN1 192.168.4.0/26
• NW-BR1 LAN2 192.168.7.160/27 SE-BR1 LAN2 192.168.4.64/26
• NW-BR2 LAN1 192.168.7.192/28 SE-BR2 LAN1 192.168.4.128/27
• NW-BR2 LAN2 192.168.7.208/28 SE-BR2 LAN2 192.168.4.160/27
• Link from N-WEST to NW-BR1 192.168.7.224/30 SE-ST1 LAN1 192.168.4.192/29
• Link from N-WEST to NW-BR2 192.168.7.228/30 SE-ST1 LAN2 192.168.4.200/29
• CENTRAL LAN1 192.168.6.0/25 SE-ST2 LAN1 192.168.4.208/29
• CENTRAL LAN2 192.168.6.128/26 SE-ST2 LAN2 192.168.4.216/29
• Link from SE-BR2 to SE-ST1 192.168.4.224/30
Link from HQ to CENTRAL 192.168.6.192/30
Link from SE-BR2 to SE-ST2 192.168.4.228/30
Link from S-EAST to SE-BR2 192.168.4.232/30
Link from S-EAST to SE-BR1 192.168.4.236/30
Troubleshooting Route Summarization 6.4.6