Re: howto disable auto route setup?

Martin Mares (mj@atrey.karlin.mff.cuni.cz)
Wed, 3 Feb 1999 12:38:14 +0100


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/