760 views
0 votes
0 votes
Please explain in very brief for below things. I'm confused in using these terminology

1. Subnet size and subnet mask size

2. Network I'd,block Id ,subnet id are they same?

3. IP addresses in network = No of host ?

4. How no of host ,no of subnets are related?

Please help me in clearing my doubt.

Thanks

1 Answer

Best answer
2 votes
2 votes
To learn the concepts of these terms and their relations. You have to read book. By the way I am trying my best. Let's see where it goes.

$(1)$. We know ip address is $32$ bit no.

In subnetting

ip address = network id + subnet id + Host Id

In given subnet mask, no. Of $1$s is equal to ( network id + subnet id)

And we know if  subnet Id is $3$ bit it means no. Of subnet is $2^{3}$.

$(2)$. Network id and block id are some how same. We use term Block id as network id in Classless inter domain routing.

Eg: $20.30.40.0/26$ in this $26$ is Block id or Network id.

$(3)$. We can say no. of ip addresses per network = no. of hosts per network. But usable host are always $2$ less bcz first ip address is reserved for Network ip address and last ip address is reserved for Directed broadcast.
Eg: if HID$=6$ bit then total ip address per network is $2^{6}$. But No. Of hosts $2^{6} - 2 =62$ hosts.

$(4)$. Already explained in part $1$.
selected by

No related questions found