Professional Documents
Culture Documents
Internetworking Chapter 9 PDF
Internetworking Chapter 9 PDF
Outline
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
Introduction
Review Of Relevant Facts
Minimizing Network Numbers
Proxy ARP
Subnet Addressing
Flexibility In Subnet Address
Assignment
Variable-Length Subnets
Implementation Of Subnets With
Masks
Subnet Mask Representation
Forwarding In The Presence Of
Subnets
The Subnet Forwarding Algorithm
A Unified Forwarding Algorithm
Maintenance Of Subnet Masks
Assessments
Chief advantages
Transparent to hosts
No change in IP routing tables
Chief disadvantages
Does not generalize to complex topology
Only works on networks that use ARP
Most proxy ARP systems require manual configuration
Subnet Addressing
Subdivides the host suffix into a pair of fields for physical
network and host
Allows an organization to use a single network prefix for multiple physical
networks
Interpreted only by routers and hosts at the site; treated like normal
address elsewhere
Active Routes:
Network Destination
Netmask
Gateway
0.0.0.0
0.0.0.0
192.168.0.1
127.0.0.0
255.0.0.0
127.0.0.1
192.168.0.158 255.255.255.255
127.0.0.1
192.168.0.0
255.255.255.0 192.168.0.158
192.168.0.255 255.255.255.255 192.168.0.158
Interface Metric
192.168.0.158
20 (Default)
127.0.0.1
1 (Loopback)
127.0.0.1
20 (Local)
192.168.0.158
20 (LAN)
192.168.0.158
20 (Broadcast)
Subnetting insufficient
Limited IP addresses (esp. Class B)
Flexibility of CIDR
Merging 256 Class C numbers into a single prefix that is equivalent to Class B
Splitting a Class B along power of two boundaries
Solution to problem
Temporary fix until next generation of IP
Backward compatible with classful addressing
8
CIDR Techniques:
Extended Addressing: subnet + supernet
blocks of address numbers
Supernetting
Supernetting: assigning a block of contiguous class C
numbers
Route Proliferation
Example: a block of 256 contiguous class C numbers (equal
to a class B)
supernetting: single CIDR prefix spans 256 Class C network numbers
Classful routing table requires 256 separate entries for each class C
10
128.211.168.0/21
11
Dotted
Decimal
Equivalents
12
CIDR Forwarding
Implementation Of CIDR Route Lookup
Each entry in routing table has address plus mask
Search is organized from most-specific to least-specific (i.e., entry with
longest mask is tested first)
Known as longest-prefix lookup or longest-prefix search
13
Route Propagation
Route Exchange: route per CIDR block
Store address mask with each route
Send pair of (address, mask) whenever exchanging routing information
140.127.208.0
140.127.208.40
140.127.208.64
140.127.208.128
- 140.127.208.39
- 140.127.208.63
- 140.127.208.127
- 140.127.208.255
14
Summary
Two extensions to original classful IP addressing scheme
Subnet addressing
CIDR addressing
CIDR Techniques
Extended Addressing: subnet + supernet
blocks of address numbers