?
Solved

Quick ruting table questions...

Posted on 2004-08-19
12
Medium Priority
?
297 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
[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
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
Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

 
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 1000 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

771 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