In: Computer Science
Answer 1:
We have given, Network ID = 192.168.56.0/24
Here /24 means network bits or continuous number of 1's = 24
So network bits = 24, host bits = 32 - network bits = 32 - 24 = 8 bits
In question, it is asking two splits the network into two subnets, so we have to choose 1 bit from the host part = 2^1 = 2 subnets
First Subnet:
Network ID = 192.168.56.0
Here we fix the first bit of host id = 0
192.168.56. 00000000 = 192.168.56.0/25 is the network ID for the first subnet
.
.
.
192.168.56.01111111 = 192.168.56.127/ 25 is the broadcast ID for the first subnet
Second Subnet:
Here first bit chosen for subnetting from the host id will be fixed as 1
192.168.56.1000000 = 192.168.56.128/25 is the subnet ID for the second subnet.
.
.
.
192.168.56.11111111 = 192.168.56.255/25 is the broadcast address of the second subnet ( here /25 because now the network ID has 25 bits because 1 bit is chosen from the host part of the IP address).
Subnet Mask : /24 = 24 network bits, thus 11111111.11111111.11111111.00000000 = 255.255.255.0