Subnetting (Part 3 - VLSM)

























































Last updated

























































Last updated
192.168.1.192/27 (/27 = 30 hosts)
192.168.1.11000000 = 192.168.1.192 network address
192.168.1.11011111 = 192.168.1.223 broadcast address
192.168.1.193 = first usable
192.168.1.222 = last usable
30 host usable192.168.1.224/28 (/28 = 14 hosts)
192.168.1.11100000 = 192.168.1.224 network address
192.168.1.11101111 = 192.168.1.239 broadcast address
192.168.1.225 = first usable
192.168.1.238 = last usable
14 hosts usable192.168.1.240/30 (/30 = 2hosts)
192.168.1.11110000 = 192.168.1.240 network address
192.168.1.11110011 = 192.168.1.243 broadcast address
192.168.1.241 = first usable
192.168.1.242 = last usable
2 hosts192.168.5.0/24
Lan2
192.168.5.0/25 (/25 = 126 hosts)
192.168.5.0000 0000 = 192.168.5.0 network address
192.168.5.0111 1111 = 192.168.5.127 broadcast address
255.255.255.128 = netmask address
192.168.5.1 = first usable
192.168.5 126 = last usable
126 total host usable
Lan1
192.168.5.128/26 (/26 = 62 hosts)
192.168.5.1000 0000 = 192.168.5.128 network address
192.168.5.1011 1111 = 192.168.5.191 broadcast address
255.255.255.192 = netmask address
192.168.5.129 = first usable
192.168.5.190 = last usable
62 total host usable
Lan3
192.168.5.192/28 (/28 = 14 hosts)
192.168.5.1100 0000 = 192.168.5.192 network address
192.168.5.1100 1111 = 192.168.5.207 broadcast address
255.255.255.240 = subnet mask
192.168.5.193 = first usable
192.168.5.206 = last usable
14 total host usable
Lan4
192.168.5.208/28 (/28 = 14 hosts)
192.168.5.1101 0000 = 192.168.5.208 network address
192.168.5.1101 1111 = 192.168.5.223 broadcast address
255.255.255.240 = subnet mask
192.168.5.209 = first usable
192.168.5.222 = last usable
14 total host usable
Lan5
192.168.5.224/30 (/30 = 2hosts)
192.168.5.1110 0000 = 192.168.5.224 network address
192.168.5.1110 0011 = 192.168.5.227 broadcast address
255.255.255.252 = subnet mask
192.168.5.225 = first usable
192.168.5.226 = last usable
2 total host usable
en
conf t
do show ip int brief
int g0/1
ip add 192.168.5.126 255.255.255.128
desc ## to SW2 ##
do show ip int briefno shutdownint g0/0
ip add 192.168.5.190 255.255.255.192
desc ## to SW1 ##
no shut
do show ip int brief0 to 192
since its /26
192.168.5.129
1111 1111.1111 1111.1111 1111.1100 0000 = 255.255.255.192 subneten
conf t
do show ip int brief
int g0/0
ip add 192.168.5.206 255.255.255.240
desc ## to SW3 ##
no shut
do show ip int briefCHANGE THE SUBNET MASK
from 0 to 240
255.255.255.0 ----> 255.255.255.240int g0/1
ip add 192.168.5.222 255.255.255.240
desc ## to SW4 ##
no shut
do show ip int brief255.255.255.0 -----> 255.255.255.240en
conf t
do show ip int brief
int g0/0/0
ip add 192.168.5.225 255.255.255.252
desc ## point to point ##
no shut
do show ip int briefint g0/0/0
ip add 192.168.5.226 255.255.255.252
desc ## point to point ##
no shut
do show ip int briefip route 192.168.5.0 255.255.255.128 192.168.5.225
ip route 192.168.5.128 255.255.255.192 192.168.5.225
do show ip routeip route 192.168.5.192 255.255.255.240 192.168.5.226
ip route 192.168.5.208 255.255.255.240 192.168.5.226
do show ip route