From Subnetting To VLSM: by B Pavan Kumar
From Subnetting To VLSM: by B Pavan Kumar
From Subnetting To VLSM: by B Pavan Kumar
to VLSM
by
B Pavan Kumar
Agenda
Classful vs. Classless Routing
VLSM Explained
Why VLSM
Classful vs Classless Routing
Classful routing assigns address space based on the
value in the first octet of the 32-bit IP address
RFC Number 791 (760)
Class based on value in first octet value
Receiving router ands subnet mask to determine
subnet
Class A 0-126
Class B 128-191
Class C 192-223
Classless routing ignores classes and uses a CIDR value
(number of 1s in network mask) to identify the network
CIDR transmitted as part of IP address – RFC 1517-
1520
Network portion not restricted to entire octet
Classless Routing
Address Space Issues
address
Class C = 12.5% available address space
Each network limited to 254 maximum hosts
table
Extra work for CPU; more memory
required
Private Addressing
RFC 1918
Subnets a subnet
Can support multiple contiguous
routes
Can use more than one subnet mask
for address space allocated to a firm
Makes more efficient use of available
address space
Creates two-host subnets for serial links
Why Not IPv6?
128-bit address space
Slow to arrive
IPv4 revitalized with new features
VLSM, NAT/PAT, IP unnumbered, private
addresses
Not supported by legacy systems
Requires new software (and
hardware)
Requires retraining
Zero Subnet (Ones too?)
Zero subnet
IOS 12.X and higher supports by default
RouterA(config) IP subnet-zero
Ones subnet
Defined in RFC 1878
200.10.20.184 (2 hosts)
Can summarize (aggregate) on
200.10.20.0/26
Using VLSM
Variable Length Subnet Masking – allows division
of address space based on the size of networks
Start with network requiring the most
addresses
Create a subnet mask (use CIDR – Classless
InterDomain Routing – number)
Subnet the subnet as needed to provide
address space required for other subnets
Be logical – start at beginning or end or
address space
Addresses must be contiguous to enable
route summarization