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

Matthew G. Marsh (mgm@paktronix.com)
Mon, 18 Oct 1999 16:33:42 -0500 (CDT)


On Mon, 18 Oct 1999, David Ford wrote:

> kuznet@ms2.inr.ac.ru wrote:
>
> > 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.

Actually the netmasks printed out by ip rule list are incorrect. Tried
both on 990630 and 990824. Example below.

ip rule add from 10.1.1.0/24 table 1 prio 577777

ip rule list

0: from all lookup local
32766: from all lookup main
32767: from all lookup default
577777: from 10.1.1.0/0 lookup 1
^^^

Yes - the netmask is always printed out this way. I never paid much
attention because I use ip rule in scripts. But David has a valid point
that ip rule list does not give enough information - specifically the
netmask.

> > 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...
>
> there's something necessary that isn't printed in the rule show. i cut and paste
> it's output to ensure i had it exactly and it returned to the form of "didn't
> exist".
>
> unfortunately a reboot was required.
>
> -d
>
> --
> This is Linux Country. On a quiet night, you can hear Windows NT reboot!
> Do you remember how to -think- ? Do you remember how to experiment? Linux
> __ is an operating system that brings back the fun and adventure in computing.
> \/ for linux-kernel: please read linux/Documentation/* before posting problems

--------------------------------------------------
Matthew G. Marsh, President
Paktronix Systems LLC
1506 North 59th Street
Omaha NE 68104
Phone: (402) 932-7250
Email: mgm@paktronix.com
WWW: http://www.paktronix.com
--------------------------------------------------

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