495 views
0 votes
0 votes
SUPPOSE WE ARE GIVEN TWO BITS FOR SUBNET THEN WHICH ONE WILL BE THE THIRD SUBNET 10 OR 11

2 Answers

1 votes
1 votes

if you have 2 bit then there are 4 posiblities.

00--- subnet id

01--- first subnet

10---2nd subnet

11---3rd subnet

Example:

 

0 votes
0 votes

It depends upon the way in which you want to divide the network into subnets. 

Eg:- 200.254.254.0/26 is a class C network having 2 bits for subnet ID.

NOTE:- /26 is CIDR value which means number of 1s in the subnet mask.

In this the first 2 bits of last octet are for subnet i.e. 200.254.254.00000000.


Now if you want to divide this network into two equal subnets then we need only the 1st bit of subnet bit and it would be divided as

200.254.254.0/25 to 200.254.254.127/25 -----> subnet 1--------> 200.254. 254 .00000000/25 to 200.254. 254 .01111111/25.

200.254.254.128/25 to 200.254.254.255/25 ---------> subnet 2------> 200.254. 254 .10000000/25 to 200.254. 254 .11111111/25.


 if you want to divide subnet 1 into two equal subnets then we need  the 1st and 2nd bit of subnet bit and it would be divided as

200.254.254.0/26 to 200.254.254.63/26 -----> subnet 3--------> 200.254.254.00000000/26 to 200.254.254.00111111/26.

200.254.254.64/26 to 200.254.254.127/26 -----> subnet 4--------> 200.254.254.01000000/26 to 200.254.254.01111111/26.


Similarly, if you want to divide subnet 2 into two equal subnets then we need  the 1st and 2nd bit of subnet bit and it would be divided as

200.254.254.128/26 to 200.254.254.191/26 -----> subnet 5--------> 200.254.0.10000000/26 to 200.254.254.10111111/26.

200.254.254.192/26 to 200.254.254.255/26 -----> subnet 6--------> 200.254.254.11000000/26 to 200.254.254.11111111/26.

Related questions

0 votes
0 votes
0 answers
1
Rustam Ali asked Sep 12, 2018
208 views
After how many years ALL MACs(48 bits) and IPv6(128 bits) addresses will exhaust?
1 votes
1 votes
1 answer
2
Akash Mittal asked Dec 5, 2017
768 views
destination will accept a packet if TTL >0 or TTL=0 ? and does destination also decrements TTL after receiving a packet?
1 votes
1 votes
1 answer
3
nihal_chourasiya asked Jan 7
188 views
In how many ways can you distribute 4 different choclates to 3 people such that each gets atleast 1 choclate.
0 votes
0 votes
1 answer
4