Solved

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

Posted on 2015-02-08
4
527 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 24

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 24

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
This past year has been one of great growth and performance for OnPage. We have added many features and integrations to the product, making 2016 an awesome year. We see these steps forward as the basis for future growth.
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…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

730 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