?
Solved

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

Posted on 2015-02-08
4
Medium Priority
?
596 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 1000 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 1000 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 1000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

You deserve ‘straight talk’ from your cloud provider about your risk, your costs, security, uptime and the processes that are in place to protect your mission-critical applications.
This program is used to assist in finding and resolving common problems with wireless connections.
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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses

770 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