VLSM vs. CIDR

VLSM is similar to CIDR

Both recursively divide networks into small sub networks

Difference

VLSM:

The recursion is performed on the address space previously

assigned to an VLSM vs. CIDR

organization and is invisible to the global Internet.

CIDR:

CIDR permits the recursive allocation of an address blocked by an

Internet Registry to a high-level ISP, to a mid level to a lower level

ISP and finally to a private organization’s network.

 

The issues to be considered while

designing a network

1) How many total subnets does the organization need today?

2) How many total subnets will the organization need in the future?

3) How many hosts are there on the organization’s largest subnet today?

4) How many hosts will there be on the organization’s largest subnet in

the future?


Solution to Problem 1:

To support 26 hosts on a subnet, a minimum of 5 bits is needed in the host portion of the

address. 5 bits result in 30 possible host addresses (2^5-2). The other 3 bits in the last

octet can be added to the default 24-bit Class C mask. Thus, a 27-bit mask can be used to

create the following subnets:-

Subnet # Subnet Address

0 192.168.15.0 /27

1 192.168.15.32 /27

 

2 192.168.15.64 /27

3 192.168.15.96 /27

4 192.168.15.128 /27

5 192.168.15.160 /27

6 192.168.15.192 /27

Sub-subnet 0 192.168.15.0 /30

Sub-subnet 1 192.168.15.4 /30

Sub-subnet 2 192.168.15.8 /30

Sub-subnet 3 192.168.15.12 /30

Sub-subnet 4 192.168.15.16 /30

Sub-subnet 5 192.168.15.20 /30

Sub-subnet 6 192.168.15.24 /30

 

To maximize the address space, the 192.168.150.0 /27 subnet is further subnetted using a

30-bit mask. This creates subnets that can be used on point-to-point links with minimal

waste, because each subnet contains only 2 possible host addresses.

R1

192.168.15.0/27  -R

192.168.15.31/27  -B

 

R2

192.168.15.32/27 -R

192.168.15.63/27 -B

R3

192.168.15.64/27 -R

192.168.15.95/27 -B

R4

192.168.15.96/27 -R

192.168.15.127/27 -B

192.168.15.128/30

192.168.15.131/30

192.168.15.132/30

192.168.15.135/30

192.168.15.136/30

192.168.15.139/30

 


R2-192.168.15.32/27    R4-192.168.15.96/27

Ip rote 192.168.15.96/27  192.168.15.1.129

R1 iprote 192.168.15.96/27  192.168.15.138

---------------------------------------------------

 

R4 iprote 192.168.15.96/27  192.168.15.126

192.168.15.96

192.168.15.126

192.168.15.136

192.168.15.138

R4

 

Comments