You are on page 1of 8

VLSM

Sub-Netting

Number of Subnets  = 2^n,   ( n = Number of borrowed bits from host)


Number of Hosts per Subnet = (2^h),     ( h = Number of Host bits)
Number of usable Hosts per Subnet = (2^h - 2)    

#1.
Create 8 equal size subnet from 192.168.1.0/24

192.168.1.0/24
mask: 11111111.11111111.11111111.00000000

Need 8 subnets
2n=8
N=? ( barrow )

1- Borrow : 23=8 , barrow = 3

2- number of addresses : 2h
*number of addresses =25=32 addresses
*number of available (uses) hosts =25-2=30 Hosts

3- Our subnets :(8 subnets)

Subnet Subnet addresses


#

 1 192.168.1.0/27 192.168.1.31/27 The 5th subnet


addresses :
2 192.168.1.32/27 192.168.1.63/27
 192.168.1.128 the
3 192.168.1.64/27 192.168.1.95/27 network address
 192.168.1.129 the
4 192.168.1.96/27 192.168.1.127/27 default G.W
 5 192.168.1.128/27 192.168.1.159/27 192.168.1.159
the broadcast
6 192.168.1.160/27 192.168.1.191/27 address
7 192.168.1.192/27 192.168.1.223/27
8 192.168.1.224/27 192.168.1.255/27

#2.
A cooperate headquarters has attached a private network address of 172.16.0.0/22 as
shown :
We need 10 subnets. Each subnet should have at least 40 hosts.
Find the followings :
1- Mask before subniting :
172.16.0.0/22
IP: 10101100.00010000.00000000.00000000
Mask: 11111111.11111111.11111100.00000000

2- Barrow bits : 4
2 =10 , 24=16 subnets
n

3- Number of addresses in each subnets :


Each subnet should have at least 40 hosts.
Each has 26=64 addresses .

4- Number of available addresses in each subnets :

5- Range of the first subnet :

6- The first address of the first subnet :

7- The last address of the first subnet :

8- Broadcast address :

#3
Create over 300 equal sized subnets of 20.000 hosts each ,
from 10.0.0.0/8

1- Mask before subnetting :


IP : 10.0.0.0
Mask: 255.0.0.0 //class A
IP : 00001010.00000000.00000000.00000000
Mask: 11111111.00000000.00000000.00000000
2- Barrow bits :
Needs over 300 equal sized subnets??
2n>=300 , n=?

3- The new mask after subnetting :


Mask: 11111111.00000000.00000000.00000000 before barrow.
11111111.11111111.10000000.00000000 after barrow
The new mask : 255.255.128.0
4-
 Number of subnets :
5-
 Number of hosts :
6-
 Number a available (usable) addresses : hosts per subnet

The new mask :

Some of the subnets:


10.0.0.0/17 (8 class A + 9 barrow=17) 10.4.0.0/17
10.0.128.0/17 ( 0 255 ) 10.4.128.0/17
10.1.0.0/17 .
10.1.128.0/17 .
10.2.0.0/17 10.10.0.0/17
10.2.128.0/17 10.10.128.0/17
10.3.0.0/17 .
10.3.128.0/17 10.255.128.1/17

#4
For the following IP : 172.16.5.34/26

Determine the :

1- Network mask before subneting.


2- Number of addresses.
3- Network address.
4- Default gateway address.
5- Last address.
6- Broadcast address.
7- Range of available (usable ) addresses.

Sol :

For the following IP :

172.16.5.34/26

IP: 10101100.00010000.00000101.00100010

11111111.11111111.11111111.11000000

Netmask :255.255.255.192

Number of addresses =

Network address:

Gateway address:

Last IP :

Broadcast address:

Range of available (usable ) addresses:

#5
172.16.1.0/28
Address: 172.16.1.0 10101100.00010000.00000001.0000 0000
Netmask: 255.255.255.240 11111111.11111111.11111111.1111 0000

Number of addresses : 24 = 16 Hosts


Network: 172.16.1.0/28 10101100.00010000.00000001.0000 0000
(Class B)
HostMin: 172.16.1.1 10101100.00010000.00000001.0000 0001
HostMax: 172.16.1.14 10101100.00010000.00000001.0000 1110
Broadcast: 172.16.1.15 10101100.00010000.00000001.0000 1111
*Given 209.14.3.0/24, find the :

Net ID , Gateway , Broadcast for the following subnets:

 6 hosts
 14 hosts
 28 hosts

1) For the subnet 28 hosts: 32 hosts


2h=28 25=32 hosts

Net ID: 209.14.3.0/27


G.w : 209.14.3.1
Broadcast: 209.14.3.31

2)for the subnet 14 hosts: 16 hosts


Net ID: 209.14.3.32/28
G.w : 209.14.3.33
Broadcast: 209.14.3.47

3)for the subnet 6 hosts:8 hosts


Net ID: 209.14.3.48/29
G.w : 209.14.3.49
Broadcast: 209.14.3.55
*Find the block ,if one of the addresses : 120.66.110.160/25

1) The first address ?

120.66.110.128/25 ??? ( mask:25 120.66.110.10000000 )

2) The number of addresses ?

232-25 = 27 = 128 addresses

3) Last address?

120.66.110.255 ( num of addresses = 128 )

You might also like