Question

I need to write the subnet mask, subnet address, broadcast address and valid host range for 192.168.100.25/30 ...


Dunna Sandeep Kumar - Question #1 (If you are not Dunna Sandeep Kumar, please decline this question under 'Insufficient Subject Knowledge' and don't re-route to any other subject.)

 

 

Transcribed: I need to write the subnet mask, subnet address, broadcast address and valid host range for 192.168.100.25/30

Answer

Subnet Mask : A Subnet Mask is a 32 Bit number that masks the IP address and divides it into network address and host address. Subnet Mask is made by setting network bits to all "1"s and setting host bits to all "0"s. Within a given network, two host addresses are reserved for a special purpose, and cannot be assigned to hosts. 

Subnet Address : The unique number ID assigned to one host or interface in a network.

Broadcast Address : A broadcast address is an IP address that is used to target all systems on a specific subnet network instead of single hosts. In other words broadcast address allows information to be sent to all machines on a given subnet rather than to a specific machine.

Valid Host Address : The valid hosts are the numbers between the subnet number and the mask.

The size of the network range is “/30” which means that they are the network bits used to identify the network. An IPv4 address has 32 bits in total and in the given scenario, the size of the network is 30. As stated earlier in Step-1, Subnet Mask is made by setting network bits to all "1"s and setting host bits to all "0"s.. In our case that can be denoted as:

11111111 11111111 11111111 11111100 which in dotted-decimal can be represented as 255.255.255.252

Since the network bits has been limited to 30 that leaves us with only 2 bits for addressing hosts within the network. With the only possible availability of 2 bits, we have 4 possible combinations of 00,01,10 and 11. The first address in the host range is the address of the network itself which makes the combination of 00 for host bits as our subnet address and the last address in the range is denoted as Broadcast Address which is reserved for addressing all hosts on that network which makes the possible outcome as 11. In our example the Subnet Address and Broadcast Address turn out to be:

11000000 10101000 01100100 00011000 = 192.168.100.24

and

11000000 10101000 01100100 00011011 = 192.168.100.27

Now this leaves us only with 2 addresses for allocating to the hosts corresponding to 01 and 10 within the range in the final 2 bits of the address. So that would leave us with 192.168.100.25 and 192.168.100.26.

 

So that leads us to the conclusion :

Subnet Mask - 255.255.255.252
Subnet - 192.168.100.24
Broadcast - 192.168.100.27
Valid Hosts - 192.168.100.25 and 192.168.100.26

Recent Questions