Solved

Quick ruting table questions...

Posted on 2004-08-19
12
269 Views
Last Modified: 2010-04-11
Network Address   Netmask           Gateway Address   Interface    Metric
0.0.0.0           0.0.0.0           157.57.24.1       157.57.24.195     1
127.0.0.0         255.0.0.0         127.0.0.1         127.0.0.1         1
157.57.24.0       255.255.255.248   157.57.24.195     157.57.24.195     1
199.199.40.0      255.255.255.0     199.199.40.139    199.199.40.139    1

How many networks is this host attached to?

What are the IP addresses of this host?

Why will it be unable to contact the Internet?
0
Comment
Question by:Millie4Life
12 Comments
 
LVL 36

Expert Comment

by:grblades
ID: 11845309
Hi Millie4Life,
It is attached to two networks and has IP addresses of 157.57.24.195 and 199.199.40.139.
There is a default gateway defined so it should be able to see the Internet.
0
 
LVL 1

Author Comment

by:Millie4Life
ID: 11845835
All your answers seem to be correct, but isnt there an interface conflict or something that would permit it from actually connecting to the gateway... or something like that?
0
 
LVL 1

Author Comment

by:Millie4Life
ID: 11845872
Also (and I will add more points for answering this and/or split if someone does before blades) how many IP addresses can I assign to computers from the address range of                        192.168.0.128/255.255.255.240 ???
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 36

Expert Comment

by:grblades
ID: 11845959
There is no interface conflict that I can see. The IP address ranges assigned to each network interface are completely separate.

A 255.255.255.240 subnet mask  uses 28 bits to represent the network address and 4 bits to represent the hosts.
There are therefore 16 IP addresses available. The first is the base address and cannot be used. The last is the broadcast address which cannot be used.
Therefore you have 14 usable addresses from 192.168.0.129 to 192.168.0.142. One of these would have to be used by the router of course.
0
 

Expert Comment

by:dstarfire
ID: 11845984
You can assign a total of 14 hosts to the subnet 192.168.0.128 /28 (that's cidr notation for a netmask of 255.255.255.240).

Check out http://www.ccci.com/tools/subcalc/subcalc.html for a tool to do these calculations for you.
0
 
LVL 1

Author Comment

by:Millie4Life
ID: 11846172
Ah yes, cidr notation. That was my problem. I knew that you cant use the base or the broadcast, but I couldn't figure out how to find out if it was a /30 or /24, etc etc etc.

I will inrease the points, and give dstarfire some points as well, can always use some more good resource links.

I just had one more question, having the interface and gateway addresses the same isn't going to cause any internet problems? (i.e. 199.199.40.0      255.255.255.0     199.199.40.139    199.199.40.139    1)
0
 
LVL 36

Expert Comment

by:grblades
ID: 11846213
No that is perfectly normal. The interface is the network card the traffic will be sent out of.
This only becomes important when you have 2 network cards with different IP address but both connected to the same network. In this configuration you could see by the interface line which network card is being use to send traffic out to the internet.
0
 
LVL 11

Accepted Solution

by:
PennGwyn earned 250 total points
ID: 11853577
The host knows about three networks:

1.  127.0.0.0/8 -- the standard loopback network.  Packets to this network never leave the host.

2.  199.199.40.0/24 -- I suspect that this is intended to be a private local Class C network, but it has erroneously been assigned a public address block.  Legitimate public hosts in that block will not be reachable from anything connected to this private network, even if they can talk to the rest of the public internet.

3.  157.57.24.0/29  -- The host has been told that it has an interface that can get traffic to this network, and that its default gateway is on that network.  However, the interface is assigned an address from a different network, almost certainly 157.57.24.192/29, and so it's not too surprising that it is unable to actually *reach* that default gateway.

0
 
LVL 36

Expert Comment

by:grblades
ID: 12575771
Award the points to  PennGwyn as he spotted what the problem was in point (3) above.
0
 
LVL 1

Author Comment

by:Millie4Life
ID: 12684051
Sorry, I forgot about this. I was about to give out points but when I originally asked the question, I still felt as if something was missing. Suggestions welcome as to who gets the points.
0
 
LVL 1

Author Comment

by:Millie4Life
ID: 12684059
I will award the points to PennGwyn upon the suggestion. Again, I am very sorry about this.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to list which IP address is the managed switch in my company ? 13 134
Public DNS? 10 77
Map local drive to folder for all rdp users 7 42
Connect two buildings 6 34
Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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…

773 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