The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+2 votes

Consider a network of having ID as There is a wifi router connected to this network and 2 mobiles and a tablet are connected to this router. Apart from these devices, 2 more desktops with 2 interfaces where these desktops are part of 2 different networks and a laptop exist in this network. How many IP addresses are still available after all the specified devices connected?

asked in Computer Networks by Active (1.2k points) | 202 views
10 IP addresses ?
not possible

if we subtract net id & broadcast address left with only  14 ip's and after distribution to the devices left with 10 ip's not possible
Right. Then is it 5?
answer given is 6

how are you calculating, share it, more importantly elaborate the bold part in question
Total addresses = $2^{4}$

Total subnets are 3. We can assign as $2^{3}$, $2^{2}$, $2^{1}$ number of IPs.

Total IPs used from devices = 6.

Total IPs used as network = 4

1 DBA. Therefore I got 16-6-4-1 = 5.
i don't think subnet counting is required because it is already given in CIDR format
But they are saying clearly two different networks.
thats what it is bothering
I think router along with 2 different networks causing subnetting.

3 Answers

0 votes

Possible IP addresses are  -- 24 i.e 16 IP Address. 

Total IPused by the devices are -  1 (Wi-Fi)+2 (Mobile) +1 (Tabl) + 2 (Desktop) +1( Laptop)

                                                = 7

Different Network exists are - Home + 2 different for Desktop = 3

so toal IP used by Host and Network are 7+3=10

Left over IP addresses are = 6 

answered by (33 points)
0 votes
first divide it into two networks. after dividing we will have 12 useful ip addresses. among these router will take one ip. and two computers with two interfaces take 4 ip's and laptop take one ip. so we will be left with 6 ip's
answered by Junior (581 points)
0 votes

See, the whole network is structured such that :

  • One Laptop is connected to the main router
  • Desktop D1 is connected to main router. This desktop has two interfaces and both the interfaces are connected to two different networks - only one interface is connected to THIS network.
  • Similarly for desktop D2
  • One Wifi router, which creates a subnet within this network. This subnet consists of the Wifi router, two mobiles and one Tablet. So, overall, this subnet will require :
    • One IP address for the network main wifi router
    • One IP address for directed broadcast
    • One IP address for each mobile
    • One IP address for Tablet 

So, total used IP addresses are :

  • One IP address for the main router
  • One IP address for Laptop
  • One IP address for D1 and One IP address for D2
  • Six IP addresses for the wifi subnet (Because even if there are 3 devices connected to the router, we need to allocate addresses in powers of 2)

So, total 10 IP addresses are used. Therefore, 6 IP addresses are still available.

Please correct if I am wrong.

answered by Active (1k points)

Related questions

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
47,894 questions
52,260 answers
67,679 users