Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Finding network addresses [closed]

Consider a router that interconnects three subnets: Subnet1, Subnet2, and Subnet3. Suppose all of the interfaces in each of these three subnets are required to have the prefix 223.1.17/24. Also suppose that Subnet #1 is to support at least 60 interfaces Subnet #2 is to support at least 90 interfaces Subnet #3 is to support at least 12 interfaces. Provide three network addresses (of the form a.b.c.d/x) that satisfy these constraints.

What I thought is Subnet 1: 223.1.17.0/26 Subnet 2: 223.1.17.64/25 Subnet 3 : 223.1.17.192/28

Is this correct?

like image 284
Anonymous Avatar asked Nov 29 '12 04:11

Anonymous


People also ask

How do I find unused IP addresses on my network?

Probably the best way is to use NMAP (http://nmap.org/) in ARP Ping scan mode. The usage will be something like nmap -sP -PR 192.168. 0. * (or whatever your network is).

How do I retrieve an old IP address?

Go to "Start > Run" and type " cmd " (no quotes), then select "OK" Type " ipconfig /release " (no quotes) and press "Enter" Once the prompt returns, type " ipconfig /renew " (no quotes), then hit "Enter," Finally, type " exit " (without quotes) then press "Enter" to close the window.

What causes an IP address to disappear?

Solution. The issue is caused by the fact that the network card is configured to attain an IP address automatically through DHCP. To have a static IP, you must change this property.


1 Answers

No. You have the size calculations done correctly but subnet 1 and 2 will overlap. A /25 network must start at either 0 or 128.

The requirements for each network is: 60 rounded up to the nearest power of two is 64 => we need 6 bits Subnet #2 needs 90 addresses so again, rounding up to 128 => we need 7 bits Subnet #3 only has 12 adresses, rounded gives us 16 => 4 bits.

You can fit this in one of two ways (you can permutate subnet 1 and three in more).

subnet 1 223.1.17.128/26 
subnet 2 223.1.17.0/25
subnet 3 223.1.17.192/28

or

subnet 1 223.1.17.0/26 
subnet 2 223.1.17.128/25
subnet 3 223.1.17.64/28
like image 84
Gille Avatar answered Nov 04 '22 20:11

Gille