On Wed, 2003-03-05 at 11:48, Pierre Fortin wrote:
> Here's a concrete example to illustrate my point -- NO changes were made
> which would be visible to ifconfig output... feel free to try it
> yourself...
>
> Here, routing is direct between the hosts...
> # route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
> eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
> 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0
> eth0
> # traceroute bones
> traceroute to bones.pfortin.com (192.168.1.100), 30 hops max, 38 byte
> packets
> 1 www (192.168.1.100) 0.873 ms 0.315 ms 0.202 ms
>
> Here, the routing is through my gateway... sound like the original
> issue...?
> # route del -net 192.168.1.0 netmask 255.255.255.0
> # route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
> 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0
> eth0
>
> # traceroute bones
> traceroute to bones.pfortin.com (192.168.1.100), 30 hops max, 38 byte
> packets
> 1 r41 (192.168.1.1) 0.628 ms 3.133 ms 0.212 ms <--<<<<
> 2 linux (192.168.1.100) 0.340 ms 0.603 ms 0.247 ms
>
> Working backwards without benefit of the above, can traceroute positively
> confirm the missing entry in "route"...?
I would say that it can: one hop implies a direct connection, two or
more hops implies the connection is going through the gateway.
However I get your point. But then again you have to manually delete the
destination subnet you belong to from the routing table. There are two
things that I asked to help this guy: the output of the traceroute
command from one box to the other (in your first example there is one
hop, then it is a direct connection). If for some reason there is more
than one hop, then either the boxes are in different subnets or you
manually delete the subnet you belong to, which I assumed that nobody
might.
--
__
/ \\ @ __ __ @ Adolfo Bello <[EMAIL PROTECTED]>
/ // // /\ / \\ // \ // Bello Ingenieria S.A, ICQ: 65910258
/ \\ // / \\ / // // / // cel: +58 416 609-6213
/___// // / <_/ \__\\ //__/ // fax: +58 212 952-6797
www.bisapi.com // pager: www.tun-tun.com (# 609-6213)
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com