Re: confused routes with multiple nics



On Tue, 07 Aug 2007, in the Usenet newsgroup comp.os.linux.networking, in
article <1186447768.117715.35420@xxxxxxxxxxxxxxxxxxxxxxxxxxx>, kevincw01 wrote:

(Moe Trin) wrote:

What you have done is mis-use the word "gateway". While the more simple
meaning of the word is "that host that leads elsewhere" - virtually all
Linux distributions (and the crappy "helper" tools provided by the
various distributions) make the _assumption_ that if you declare a
gateway, it MUST lead to the _world_ which is not always the case, and
pretty uncommon when there are multiple ways off of the local wire.

You sir, are awesome. Your explanation was eloquent and descriptive
and I got the point immediately. I have also fixed the problem based
on your feedback. I now understand the meaning of a gateway in this
context.

Glad to hear it! This problem is seen a few times a month, fostered by
the misunderstanding caused by the way windoze shows routing tables with
the 'route print' command (which shows a "gateway" for every route
including the loopback), and an overly helpful Linux routing setup that
accepts a second (or more) default route, and _replaces_ the function of
the existing route (under the impression that you changed your mind).

The 10.x.x.x gateway did not lead to the internet and really, i had no
use for it since all the hosts on that network are on the same switch
as eth1.

Sounds like a helpful tool that was overly helpful. Glad it's working

Old guy

.



Relevant Pages

  • Re: Getting "ICMP Host redirect from gateway" response
    ... I tried and succeeded in getting a REDIRECT response, ... I added a route with 192.168.0.10 as a gateway to a local host ...
    (comp.os.linux.networking)
  • ath0 pain on visiting network
    ... ping: sendto: No route to host ...
    (freebsd-current)
  • Re: Cannot open link on college web course page...
    ... Then the route from you to their host is broken. ... Each routing table gets updated with a path through the next host to get to the target but it is not dynamically updated, like when there is a host down in the path. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • CISCO 2600 - routing problem
    ... I have Internet access from both the router and the host with static ... but with static route over cable modem: ... I can ping Internet only from router not from ...
    (comp.dcom.sys.cisco)
  • CISCO 2600 - routing problem
    ... I have Internet access from both the router and the host with static ... but with static route over cable modem: ... I can ping Internet only from router not from ...
    (comp.dcom.sys.cisco)