Re: 2.1 can't delete routes?

Chris Wedgwood (chris@cybernet.co.nz)
Mon, 13 Jul 1998 08:55:19 +1200


On Sat, Jul 11, 1998 at 07:22:52AM +0000, H. Peter Anvin wrote:

> Followup to: <Pine.LNX.3.96.980710133237.989A-100000@darth.cse.ogi.edu>
> By author: "Aaron J. Grier" <agrier@cse.ogi.edu>
> In newsgroup: linux.dev.kernel

> > Hmm... I think you just have to be more specific with 2.1:

Yes. 2.1.x is much more strict with routing ioctl's.

> > [root@darth agrier]# route del -net 10.0.0.0
> > SIOCDELRT: Invalid argument
> > [root@darth agrier]# route del -net 10.0.0.0 netmask 255.0.0.0 dev eth1

> Might be nice to have route(8) be a little smarter when it can.

But how can route(8) know what your netmask is going to be, assume /8 for
0-127, /16 for 129-191, etc?

Thats just going to cause different MUCH harder to track down problems when
people have subnetted.

-Chris

-
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.altern.org/andrebalsa/doc/lkml-faq.html