Solved

How to find a Usable IP address with just a Default Gateway and Subnet mask?

Posted on 2015-02-08
4
457 Views
Last Modified: 2015-02-08
I'm working on learning how to manually solve some issues related to subnetting.
A practice question I came across states:

If you have a router in the network you're connected to and the Default Gateway is set to 192.168.1.1 and the subnet mask is 255.255.255.0, which of the following are usable IP address on that network?

1) 192.168.1.1
2) 192.168.1.300
3) 192.168.1.30
4) 192.168.2.10

Just looking at it, I can tell it's not 1), because that'd be a conflict, right?
2) would be too high of a 4th octet
4) is not the right subnet?

What would be the formula to workout the answer? Or is there not one?

I do not know what the MagicNumber would be in this case.
0
Comment
Question by:garryshape
  • 2
4 Comments
 
LVL 23

Accepted Solution

by:
Dirk Kotte earned 250 total points
ID: 40597007
your answer is ok and your explanation correct. (address 3 is possible)
wit a subnet mask of 24 bit 8255.255.255.0) you are free to use the nearly the full last octet (0-255) for clients.
the x.x.x.0 is the network-address and should not be used, the x.x.x.255 is the broadcast address. (used for ARP-broadcasts for example)
0
 
LVL 27

Assisted Solution

by:davorin
davorin earned 250 total points
ID: 40597010
You are right, the only usable IP address is 3) 192.168.1.30.

Subnet mast 255.255.255.0 tells you that you have a network with 255 IP addresses. Only the last number is changing - from 192.168.1.0 to 192.168.1.255.
You can exclude from usable adresses:
192.168.1.0 - which is the network address
192.168.1.255 - which is broadcast address
and 192.168.1.1. - which is already used by gateway.
0
 
LVL 23

Assisted Solution

by:Dirk Kotte
Dirk Kotte earned 250 total points
ID: 40597012
0
 

Author Closing Comment

by:garryshape
ID: 40597020
Thanks guys I thought maybe it was a trick question, but these explanations make more sense to me.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now