Create IPv4 subnetworks for the following given requirements:
a) 182.150.1.0/24 – Create VLSM scheme for two subnets, Subnet A requires 56 hosts and Subnet B needs 8 hosts.
· Subnet A:
· Subnet B:
Answer:
Definition:
A subnet is a logical subdivision of an IP network .The process of dividing a network into two or more networks is called subnetting.
Subnetting table
Subnet
1
2
4
8
16
32
64
128
256
Host
256
128
64
32
16
8
4
2
1
Subnet mask
/24
/25
/26
/27
/28
/29
/30
/31
/32
VLSM stands for Variable Length Subnet Mask where the subnet design uses more than one mask in the same network which means more than one mask is used for different subnets of a single class A, B, C or a network.
Class Range Mask
A 0-126 255.0.0.0
B 128-191 255.255.0.0
C 192-223 255.255.255.0
The above subnet fall under class B
182.150.1.0/24
The first IP addresses, the first two octets that is 16bits represent the network ID and the remaining two octets (16 bits) are the host ID.
The subnet ID is the same for all hosts in all subnets in the network. The host ID is unique within each subnet.
The first host address is always the subnet address with the last octet add 1.
Subnet A:
This subnet requires 56 host that is 256/64
Subnet ID 182.150.1.0/24
Subnet mask 255.255.0 (it is class B of subnets)
First host IP address 180.150.1.0 (it is represented by original address)
Last host IP address 180.150.32.255 (32 here is deducting from size of network from the size of network that is 56 less 24) And 255 is obtained from deducting 1 from 256 because subnet A is 256/64 subnets.
Broadcast ID is 1 (you add 1 to the last address)
Subnet B
This subnet requires 8 host to create it
Subnet ID 182.150.1.0/24
Subnet mask 255.0.0.0
First host IP address 180.150.32.0(32 is the subnet of 8 host network)
Last IP address 180.150.63.255(63 is by -1 from 64)
Broadcast ID 2 (you add 1 to the last IP address, 255 is equivalent to 1)
Comments
Leave a comment