Re: Why is traffic shapper still in 2.3.x?

kuznet@ms2.inr.ac.ru
Mon, 18 Oct 1999 23:42:13 +0400 (MSK DST)


Hello!

> # ip ru d table 32765
> Error: argument "32765" is wrong: invalid table ID

I see, you want to flush rulesm rather than tables.

> i must specify some part of the selector to delete that rule. there have been
> some rules i put in in the past where not all the relevant information is
> shown on the rule list and i don't have the add command in my history so i
> couldn't remove it. i had to reboot.

Yes. "ip rule flush" does not exist and you have to make "ip rule list"
to delete rules. All the information to delete the rule is printed
via ip rule list, so that you need not to reboot.

The reason for this inconvenience is big mistake in design of rule list,
explained in docs. I hesitate whether to fix it in "ip" or in the kernel
until now...

Alexey

-
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/