2,444 views
2 votes
2 votes

Given an IP address 156.233.42.56 with a subnet mask of 7 bits. How many hosts and Subnets are Possible ?

  1. 126 hosts and 510 subnet
  2. 128 host and 512 subnet
  3. 510 hosts and 126 subnet
  4. 512 hosts and 128 Subnet

2 Answers

0 votes
0 votes

Since its class B then total number of bits for the host are 16. The mask is give of 7 bits. This means that the subnets in the autonomous system will be taking 7 bits and the rest  16-7 = 9 bits are for the hosts per subnet.

Hence option C is correct

0 votes
0 votes

Class B network has the form N: N: H: H, the default subnet mask is 16 bits long.

There are an additional 7 bits to the default subnet mask. the total number of bits in 
the subnet are 16+7 = 23.

This leaves us with 32-23 = 9 bits for assigning to hosts.

7 bits of subnet mask corresponds to 2^7-2 = 128-2 = 126 subnets.

9 bits belonging to host addresses correspond to 2^9-2 = 512-2 = 510 hosts.
so, the answer will be 510 hosts and 128 subnets

Related questions

3 votes
3 votes
2 answers
2
radha gogia asked Apr 6, 2018
1,430 views
Interface $A - 255.255.255.128$Interface $B -255.255.255.192$Interface $C -255.255.255.224$ 1) which one of the following IP addresses belong to interface $B$ ?$200.200.2...
1 votes
1 votes
1 answer
4
admin asked Mar 31, 2020
1,840 views
There is a need to create a network that has $5$ subnets, each with at least $16$ hosts. Which one is used as classful subnet mask ?$255.255.255.192$$255.255.255.248$$255...