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

Martin A. Brown martin at linux-ip.net
Wed Nov 15 15:04:03 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexandru,

 : >   # ip route add onlink default via 192.168.1.17
 : >   
 : shouldn't be
 : 
 : # 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.

- -Martin

- -- 
Martin A. Brown
http://linux-ip.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: pgf-0.72 (http://linux-ip.net/sw/pine-gpg-filter/)

iD8DBQFFWx5ZHEoZD1iZ+YcRAizdAKCM9yVTH40l60mbxFx05ftapB9bPwCg4jKh
AGbZhbm15DCRTrtwnBtAlpk=
=yAvc
-----END PGP SIGNATURE-----


More information about the LARTC mailing list