2,625 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

1.4k
views
1 answers
2 votes
Pooh asked Jun 24, 2018
1,409 views
I stumbled upon this note on vlsm.The question goes like:An isp is granted block of addresses starteing with 190.100.0.0/16 (65,536 adds). The isp needs to distribute the...
1.5k
views
2 answers
3 votes
radha gogia asked Apr 6, 2018
1,511 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...
765
views
6 answers
0 votes
ykrishnay asked Dec 19, 2021
765 views
Do we actually need ip and Mac addresses both at same time for the computer for communication?Why we not use Mac instead of ip address since Mac is also the unique addres...
1.9k
views
1 answers
1 votes
admin asked Mar 31, 2020
1,944 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...