Careful Subnet
Since there are limited IP addresses in the lab, I should carefully assign subnet. At the beginning, I create a vlan 450. Then, I assign IP address 192.168.50.35/24 to interface vlan 450. Later, I found out I waste too much IP address since vlan 450 doesn’t have 256 – 2 = 254 hosts. (192.168.50.255 is broadcast IP and 1921.68.50.0 is subnet zero IP). I am trying to subnet 192.168.50.148/30, then I have to change vlan 450 interface network. If this is in the lab, I will screw up the whole things. So, don’t be foolish, do right thing at the beginning.
Later, I saw someone use ip subnet-zero command. However, Cisco doesn’t recommend that. You can get the details from the following link.
Subnet Zero and the All-Ones Subnet
By the way, ip classless should be default configuration.
Discussion Area - Leave a Comment