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

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux