March 10, 2011

IP SuBneTTing & CIDR....

CIDR = Classless Inter Domain Routing.....
************************************************************************
Class A = 10.1.1.10
subnet mask = 255.0.0.0
11111111.00000000.00000000.00000000

CIDR ==> 10.1.1.10 / 8
************************************************************************
Class B = 172.16.30.31
subnet mask = 255.255.0.0
11111111.11111111.00000000.00000000

CIDR ==> 172.16.30.31 / 16
************************************************************************
Class C = 192.168.100.1
subnet mask = 255.255.255.0
11111111.11111111.11111111.00000000

CIDR ==> 192.168.100.1 / 24
************************************************************************
CIDR -> 10.1.10.100 / 10
subnet -> 11111111.11000000.00000000.00000000
                    255     .    192      .       0       .        0


CIDR -> 172.16.30.31 / 21
subnet-> 11111111.11111111.11111000.00000000
                     255    .    255     .     248     .      0

CIDR -> 192.168.100.1 / 31
subnet-> 11111111.111111111.111111111.1111111110
                     255    .     255      .      255      .      254
************************************************************************