Network World
Friday, July 4, 2008
DNSstuff.com
Get information about your IP
IP Information
50+ On-demand DNS and network tools

Brad Reese on Cisco

Cisco Subnet

Navigation

How to configure Cisco Variable-Length Subnet Masks (VLSMs)

Cisco How-To Tutorials

Variable-Length Subnet Masks (VLSMs) allow the use of different masks for the same network number on different Cisco interfaces, which allows the user to conserve IP addresses and more efficiently use available address space.

Enhanced Interior Gateway Router Protocol (EIGRP), Intermediate System-to-Intermediate System (IS-IS), Open Shortest Path First (OSPF), Routing Information Protocol (RIP) Version 2 and Static routes support VLSMs.

Variable-Length Subnet Masking is configured on the router by enabling routing protocols (such as EIGRP or OSPF) that support this, and by configuring the subnet masks of the various Cisco interfaces in the ip address interface sub-command.

The best way to implement VLSMs is to keep the existing numbering plan in place and gradually migrate some networks to VLSMs to recover address space.

In the example below, a 14-bit subnet mask is used, leaving two bits of address space reserved for serial line host addresses.

There is sufficient host address space for two host endpoints on a point-to-point serial link:

interface ethernet 0
ip address 172.16.1.1 255.255.255.0
!---8 bits of host address space reserved for ethernets


interface serial 0
ip address 172.16.254.1 255.255.255.252
!---2 bits of address space reserved for serial lines


router ospf 107
!---Router is configured for OSPF and assigned AS 107


network 172.16.0.0 0.0.255.255 area 0.0.0.0
!---Specifies network directly connected to the router


For further information you may wish to refer to:

Cisco VLSM Example


View more Cisco How-To Tutorials

Contact Brad Reese
http://www.BradReese.Com

Brad's Top 5 Story Picks
# 1. H-1B scandal: New study unmasks that Cisco and Microsoft NOT using H-1B visas to recruit the best and brightest
# 2. Cisco skills shortage is baloney, expert says
# 3. Cisco loses $2M order to ruthless Nortel energy efficiency calculator
# 4. VoIP monitoring: The quest for call quality ubiquity
# 5. Cisco NetFlow vendor giving away Traffic Analyzer!
Story Archives Brad Reese on Cisco Story Archives

Cisco Jobs

Cisco Repair

Cisco Resumes

Cisco Power Supplies

  

About Brad Reese on Cisco

Brad Reese is research manager at BradReese.Com, advancing the careers of 1 million certified individuals in the growing Cisco Career Certification Program.

RSS feed

Contact him.

Brad's blogroll

Brad Reese on Cisco archive.

Cisco Subnet

Advertisement: