Networking - Subnetting - Discussion

Discussion Forum : Subnetting - Subnetting (Q.No. 16)
If a host on a network has the address, what is the subnetwork this host belongs to?
Answer: Option
A /30, regardless of the class of address, has a 252 in the fourth octet. This means we have a block size of 4 and our subnets are 0, 4, 8, 12, 16, etc. Address 14 is obviously in the 12 subnet.
5 comments Page 1 of 1.

Hina ayoub said:   4 years ago
First to convert network address and given CIDR into binary.

Network address :

CIDR:30 = = 11111111.11111111.11111111.1100.

Now perform bit wise AND operation ( 1+1=1,1+0 or 0+1=0,0+0=0).


So, option (D) is correct.

Haseeb said:   6 years ago
If I have /30 pool of ip address in that total 4 IP's are present. Then, 1 IP for wan, 2nd for gateway, 3rd and 4th for use.

It's right or wrong? Please explain this.

Manu Ratheesh said:   9 years ago
Given IP address is => NID is 30 bits and HID is last 2 bits.

Subnet mask = (Subnet Mask is obtained by replacing all NID bits by 1 and all HID bits by 0).

In order to get the subnetwork address or network address or subnet id, you just perform the bit wise AND between the subnet mask and the IP address, i.e, ( AND ( = Option (D).

KnownStranger said:   9 years ago

It is has a CIDR value=30 and also class C subnet in B. For class C CIDR will be 24, so 30-24=6 and the mask will be. (1111 1100 (6 1's is from 30-24=6 so 6 1's)).

So the change in fourth octet and the increment will be 256-252=4. So 0 4 8 12 16.

So the range will be, Goes on.

Now see the question it is so it falls in to subnet.

Chandra said:   9 years ago
Explain clearly.

Post your comments here:

Your comments will be displayed after verification.