routing question
Paul Howarth
paul at city-fan.org
Tue Feb 8 20:54:06 UTC 2005
On Tue, 2005-02-08 at 15:19 -0500, Scot L. Harris wrote:
> On Tue, 2005-02-08 at 14:16, Douglas Frank wrote:
> > I'm unable to reach local networks from the new fc3 box, that I've never
> > had trouble with using other unixes (or Slackware for that matter).
> > It's been my experience that simply kicking off routed or gated was all
> > it took to make the world accessible. FC3 is different!
> >
> > We have several networks here at work and my question is, how do I set
> > up the routing table to reach them? Example:
> >
> > 16.140.160/24 <-- fc3 box is on this one
> > 16.47.32/24
> > 16.32.176/24
> > ..several others..
> >
> > Here's the output of route(8):
> >
> > Kernel IP routing table
> > Destination Gateway Genmask Flags Metric Ref Use Iface
> > 16.140.128.0 16.140.128.238 255.255.255.0 UG 0 0 0 eth0
> > 16.140.128.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
> > 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
> > 0.0.0.0 16.140.128.238 0.0.0.0 UG 0 0 0 eth0
> >
> > eth0 is 16.140.128.238
> >
> > I can reach anything on the home network, 16.140.128, but nothing on any
> > of the others. What have I screwed up/left out?
>
> Assuming the default gateway 16.140.128.238 knows about your other LANs
> this should work. However it looks to me as if you have two default
> gateways specified. The first entry in your list above appears to be
> incorrect. The second entry is for your interface and is what will
> handle your locally connected LAN. The third entry is provided by the
> useless zeroconf code, should not cause any problems but does nothing
> for you. The last entry is your actual default gateway.
16.140.128.238 isn't really his default gateway, it's his own IP
address. This was due I think to finger trouble as Douglas now appears
to have got things working.
> If the other LANs you are trying to get to go through a different router
> on the local lan then you will need to define routes to those routers
> for those LANs.
Yep.
Paul.
--
Paul Howarth <paul at city-fan.org>
More information about the users
mailing list