The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
0 votes
An Internet Service provider (ISP) has the following chunk of CIDR- based IP addresses available Now it gives its quarter of addreeses to X, Calculate  the valid allocation of addresses to the X ?
asked in Computer Networks by Active (1.8k points) | 319 views

no of ip address possible are 256
so we need 8 bits so we have only 253 address possible to allocate the address because as one address is needed from net ID and other one will be needed for broadcast address.
corrrect me if i am wrong ??

2 Answers

+1 vote has addresses till There are 2^10 hosts in the block.

It is needed that X be given 2^10/4 = 2^8 hosts. So, HID in X = 8 bits. 2 bits will be borrowed to act as SID.

So, possible subnets are:

1. 252.224.1000 0000.0/24 or

2. 252.224.1000 0001.0/24 or

3. 252.224.1000 0010.0/24 or

4. 252.224.1000 0011.0/24 or

Any one of ,,, can be given to X.
answered by Active (1.7k points)
0 votes
$\underbrace{252.224.100000}_\text{Network ID} \underbrace{00.00000000}_\text{Host ID}$

Now giving 1st quarter of chuck to $X \rightarrow$ $\underbrace{252.224.10000000}_\text{Network ID} .\underbrace{00000000}_\text{Host ID} \rightarrow$

Then we are left with,

$\underbrace{252.224.10000001}_\text{Network ID} .\underbrace{00000000}_\text{Host ID} \rightarrow$

$\underbrace{252.224.10000010}_\text{Network ID} .\underbrace{00000000}_\text{Host ID} \rightarrow$

$\underbrace{252.224.10000011}_\text{Network ID} .\underbrace{00000000}_\text{Host ID} \rightarrow$
answered by Boss (34.6k points)

Related questions

0 votes
4 answers
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,811 questions
54,533 answers
75,554 users