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

David Ford (david@kalifornia.com)
Mon, 18 Oct 1999 12:28:39 -0700


kuznet@ms2.inr.ac.ru wrote:

> > 200.0.0.x netA
> > \_____________ linux ip router -> internal lan.
> > /
> > 100.0.0.x netB
> >
> >
> > i need the linux ip router box to send packets for netA to netA with a
> > source address in netA, and for netB to netB from netB.

> One way to make this is to use "src" option on all the routes
> going to netA and netB.
>

there's something fishy then. i'll work up what i have on a system and put it
forth for review.

> > also, is there a way to flush rule tables? not singular, but the entire
> > thing save the local/main/253?
>
> Does shell script flushing all the tables with
> "ip route flush table $tableid" not work?

# ip ru a to 207.213.15.244 lookup 123
# ip ru s
0: from all lookup local
32765: from all to 207.213.15.244 lookup 123
32766: from all lookup main
32767: from all lookup 253

# ip route flush table 32765
Error: argument "32765" is wrong: table id value is invalid

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

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.

-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

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