Solved

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

Posted on 2015-02-08
4
440 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
Comment Utility
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
Comment Utility
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
Comment Utility
0
 

Author Closing Comment

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

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

743 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

16 Experts available now in Live!

Get 1:1 Help Now