Professional Documents
Culture Documents
VLSMV 1
VLSMV 1
Classful vs. Classless Routing VLSM Explained Why VLSM Suggestions for Teaching VLSM
Credits
Virginia Phillips, CCNA, CCAI
Instructor CCNP classes, Youngstown State University
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
Private Addressing
RFC 1918
Classless Routing
Another method used to extend the life of IPv4 Temporary solution to deal with lack of network numbers Uses bit mask (NOT 1st octet value) to determine network portion of address Uses CIDR to summarize routing information; CIDR transmitted with IP address Enables the use of supernets and/or route aggregation and summarization
Smaller routing tables Reduced router memory requirements Reduced number of CPU cycles for routing processes
Routing Protocols
Classful cant send subnet information in updates
RipV1, IGRP, EGP, BGP3 also cant support discontiguous subnets
Classless
Sends CIDR in updates sent via multicasting Can authenticate
RipV2 (RFC 1058), EIGRP, OSPF, IS-IS, BGP4
RIPV2 and EIGRP automatically summarize at classful boundary unless you configure differently RouterA (config-router) no auto-summary
VLSM
Variable Length Subnet Masking
Subnets a subnet
Slow to arrive
Ones subnet
Defined in RFC 1878 Can use it; however can cause problems Avoid using unless you absolutely need it
Insulates upstream routers from route flapping problems (serial link problem)
Supernet Example 1
Company assigned 4 contiguous Class C networks
200.10.10.0 200.10.11.0 200.10.12.0 200.10.13.0 11001000.00001010.00001010.0 11001000.00001010.00001011.0 11001000.00001010.00001100.0 11001000.00001010.00001101.0
Supernet Example 2
Company assigned 4 contiguous Class C networks
200.10.101.0 200.10.102.0 200.10.103.0 200.10.104.0 11001000.00001010.11001001.0 11001000.00001010.11001010.0 11001000.00001010.11001011.0 11001000.00001010.11001100.0
Each subnet can support 254 hosts Each serial connection will use a subnet and waste 252 address spaces
Use subnets 128.1.0.0 to 128.1.129.0 for needed subnets with a CIDR of 24 Subnet subnet 128.1.130.0 using CIDR 30
128.1.130.0/30 128.1.130.4/30 128.1.130.8/30 .. 128.1.130.252/30
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
Teaching Tips 1
Make certain students understand subnetting
Provide students with a mix of subnetting problems using Class A, B, and C addresses and different numbers of bits borrowed to ensure they do understand
Teaching Tips 2
Explain reasons for using VLSM
Teaching Tips 3
Show a simple VLSM example using the third octet
First subnet for 255 subnets with 254 hosts; CIDR = 24 Then subnet one of the subnets for subnets with CIDR of 28
Subnet 200.16, 200.32, 200.48, etc.
Then subnet one of the subnets for subnets to use for serial lines and a CIDR of 30
Subnet 201.4, 201.8, 201.12, 201.16, etc.
Teaching Tips 4
Show a second example using the fourth octet
Subnet for 8 subnets with a CIDR of 27
Subnets 0, 32, 64, 96, 128, 160, 192, 224
Teaching Tips 5
Show examples of divided address spaces
Do not use slides use hard copy and give students a copy
Give several problems moving from a very simple problem to a very complex problem
Provide answers for each problem for students to check as problem is completed