lkml.org 
[lkml]   [1999]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: howto disable auto route setup?
Hello,

> I regularly have both a token ring connection between two machines,
> besides the ethernet connection. I get bothered by the kernel defining
> routes that I don't need. My "subnet" is on the ethernet, there is
> usually just one other machine on the token ring interface. I have to
> remember adding "netmask 255.255.255.255" on the ifconfig line every
> time I up the token ring interface.... (which without the netmask
> specification could easily be done by hand, but now requires a small
> script)

You need to specify the netmask anyway. Setting an address without
a netmask and relying on ifconfig guessing the correct netmask is
not the right way to go.

Have a nice fortnight
--
Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"#define QUESTION ((bb) || !(bb))" -- Shakespeare

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.424 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site