LARTC
[Top] [All Lists]

Re: [LARTC] netmask 255.255.255.255 vs ip route add via ... (bug?)

To: LARTC <lartc@mailman.ds9a.nl>
Subject: Re: [LARTC] netmask 255.255.255.255 vs ip route add via ... (bug?)
From: Andrew McGill <andrewm@intoweb.co.za>
Date: Wed, 15 Nov 2006 16:20:27 +0200 (SAST)
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <Pine.LNX.4.63.0611150803020.13927@solidus.wonderfrog.net>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
References: <Pine.LNX.4.64.0611141517080.13111@dellareas> <Pine.LNX.4.63.0611141939050.13927@solidus.wonderfrog.net> <455B07B6.4010103@zoomnet.ro> <Pine.LNX.4.63.0611150803020.13927@solidus.wonderfrog.net>
Sender: lartc-bounces@mailman.ds9a.nl
On Wednesday Nov 15, 2006 around 8:04am, Martin A. Brown wrote,

...
: # ip route add onlink default via 192.168.1.17 dev $DEV
: ?
:
: Because from the point of view of the kernel, 192.168.1.17 is
: unreachable, it must know the interface.

Absolutely!  Thank you for the correction of my ommission.

Is there a reason that 'onlink' is not the default behaviour when the device is specified? Would onlink add some information that is missing? e.g.
        ip route add 12.0.0.0/8 via 5.5.5.5 dev eth0
should mean that 5.5.5.5 is directly connected to eth0 (rightly or wrongly).

&:-)

--
Overflow in kitchen sink. Do you want to report this error?
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>