Re: [LARTC] Does IPV6 support HTB?
On Thu, Apr 15, 2004 at 02:10:47PM +0300, Hasso Tepper wrote: Alan Ford wrote: The one thing you *cannot* do is mix protocol ip and protocol ipv6 filters for filtering into a class. The second filter request returns with Invalid argument. ... Is it possible to do a fwmark match without a protocol? Or is there any other way around my problem? I would like to have solution for this as well. At the moment I have to use imq device per device and TBF because of that :(. Number of imq devices is limited and many other annoying things. I discovered the answer to this problem was hidden in a totally unrelated post yesterday :) [most general filter rule] You can specify protocol all in filters, and still use fwmarks to identify traffic. I have been using this since yesterday and it appears to work perfectly, you can MARK packets with the same ID in both iptables and ip6tables, and filter them into the same class. -- Alan Ford * [EMAIL PROTECTED] ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Re: [LARTC] Does IPV6 support HTB?
On Wed, Mar 24, 2004 at 06:24:16PM +, Alan Ford wrote: Well, almost. There seem to be rather a lot of issues if trying to mix protocol ip and protocol ipv6 in filters. I've done some more experimentation with this, and so long as commands are entered in the right order it seems fairly happy. The one thing you *cannot* do is mix protocol ip and protocol ipv6 filters for filtering into a class. The second filter request returns with Invalid argument. This is really rather inconvenient. Does anybody know why? I wondered if I could get around this by not specifying a protocol at all, i.e.: tc filter add dev eth0 parent 1:0 prio 10 handle 10 fw flowid 1:10 But all it returns with is: RTNETLINK answers: Invalid argument Is it possible to do a fwmark match without a protocol? Or is there any other way around my problem? Thanks, Alan -- Alan Ford * [EMAIL PROTECTED] ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/