🌐
CCNA Prep
  • Intro
  • Network Devices
  • Interfaces and Cables
  • OSI Model & TCP/IP Suite
  • Intro to the CLI
  • Ethernet LAN Switching (Part 1)
  • Ethernet LAN Switching (Part 2)
  • IPv4 Addressing (Part 1)
  • IPv4 Addressing (Part 2)
  • Switch Interfaces
  • IPv4 Header
  • Routing Fundamentals
  • The Life of a Packet
  • Subnetting (Part 1)
  • Subnetting (Part 2)
  • Subnetting (Part 3 - VLSM)
  • VLANs (Part 1)
  • VLANs (Part 2)
  • VLANs (Part 3)
  • DTP/VTP
  • Spanning Tree Protocol (Part 1)
  • Spanning Tree Protocol (Part 2)
  • Rapid Spanning Tree Protocol
  • EtherChannel
  • Dynamic Routing
  • RIP & EIGRP
  • OSPF (Part 1)
  • OSPF (Part 2)
  • OSPF (Part 3)
  • First Hop Redundancy Protocols
  • TCP & UDP
  • IPv6 (Part 1)
  • IPv6 (Part 2)
  • IPv6 (Part 3)
  • Standard ACLs
  • Extended ACLs
  • CDP & LLDP
  • NTP
  • DNS
  • DHCP
  • SNMP
  • Syslog
  • SSH
  • FTP & TFTP
  • NAT (Part 1)
  • NAT (part 2)
  • QoS (Part 1)
  • QoS (Part 2)
  • Security Fundamentals
  • Port Security
  • DHCP Snooping
  • Dynamic ARP Inspection
  • LAN Architectures
  • WAN Architectures
  • Virtualization & Cloud, Containers, VRF
  • Wireless Fundamentals
  • Wireless Architectures
  • Wireless Security
  • Wireless Configuration
  • Network Automation
  • JSON, XML, & YAML
  • REST APIs
  • Software-Defined Networking
  • Ansible, Puppet, & Chef
Powered by GitBook
On this page
  • Subnetting Class A
  • VLSM

Subnetting (Part 3 - VLSM)

Day 15

PreviousSubnetting (Part 2)NextVLANs (Part 1)

Last updated 1 year ago

Subnetting Class A

The process of subnetting Class A, Class B, and Class C networks is exactly the same. For example, if we are required to subnet a 10.0.0.0/8 network creating 2000 subnets, we use the same formula. Borrowing 11 bits, we create 2048 subnets. The subnet mask is 255.255.224.0. The prefix length used is /19.

Now let's find the number of usable addresses. There are 13 bits remaining. Using the same formula we always used to find the number of usable host addresses, we can figure out that there are 8190 hosts per subnet.

VLSM

VLSM (Variable-Length Subnet Masks) is the process of creating subnets of different sizes, to make the use of network addresses more efficient. Until now, we learned FLSM (Fixed-Length Subnet Masks) - all subnets use the same prefix length. For example, to subnet this example network below, we have to use VLSM.

Using VLSM, we can assign different subnet sizes to each LAN. In VLSM, subnets are assigned in order, from the largest to the smallest. So, in our example above, we should first assign the subnet to Tokyo LAN A:

  • Network address: 192.168.1.0/25

  • Broadcast address: 192.168.1.127/25

  • Total number of usable addresses: 126

We divided our network into two and assigned the first half. Using VLSM, we can assign smaller subnets. The second largest LAN is Toronto LAN B:

  • Network address: 192.168.1.128/26

  • Broadcast address: 192.168.1.191/26

  • Total number of usable addresses: 62

The third is Toronto LAN A:

  • Network address: 192.168.1.192/27

  • Broadcast address: 192.168.1.223/27

  • Total number of usable addresses: 30

For Tokyo LAN B:

  • Network address: 192.168.1.224/28

  • Broadcast address: 192.168.1.239/28

  • Total number of usable addresses: 14

And finally, a point-to-point connection between two routers:

  • Network address: 192.168.1.240/30

  • Broadcast address: 192.168.1.243/30

  • Total number of usable addresses: 2

Not also we were able to provide addresses for all LANs but we even saved some address space thanks to VLSM.

49KB
Day 15 Lab - VLSM.pkt
vlsm network