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

Consider a network of having ID as 198.128.10.10/28. 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) | 179 views
0
10 IP addresses ?
0
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
0
Right. Then is it 5?
0
answer given is 6

how are you calculating, share it, more importantly elaborate the bold part in question
0
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.
0
i don't think subnet counting is required because it is already given in CIDR format
0
But they are saying clearly two different networks.
0
thats what it is bothering
0
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 (551 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 (439 points)


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

36,995 questions
44,571 answers
126,781 comments
43,637 users