ipmode compile error
imq and htb are used to control traffic.
When I create a bridge with the bridge-utils, I get a
new device : br0. I can shape traffic on this
device, but I can not use iptables to mark packets. I used ipmode
http://www.linuxvirtualserver.org/~julian/#bridging
my kernel is 2.4.19
when i compile kernel I get the following error:
br_forward.o error 1first_rule error 2
if I used ipmode, then I can set imq as this:/usr/local/sbin/iptables -t mangle -A PREROUTING -i br0 -j IMQ --todev 0
is this right ?
_________________________________________________________
Do You Yahoo!?
"发短信赢手机,快来参加雅虎巨星秀!"
http://cn.ent.yahoo.com/star/midautumn/index.html
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hello,
Quoted 10 lines · On Fri, 27 Sep 2002, [gb2312] hanhbnetfilter wrote:
imq and htb are used to control traffic.
When I create a bridge with the bridge-utils, I get a
new device : br0. I can shape traffic on this
device, but I can not use iptables to mark packets. I used ipmode
http://www.linuxvirtualserver.org/~julian/#bridging
my kernel is 2.4.19
when i compile kernel I get the following error:
br_forward.o error 1first_ruleerror 2
What errors? Do you have plain kernel patched with
the ipmode kernel patch?
Quoted 4 lines
if I used ipmode, then I can set imq as this:
/usr/local/sbin/iptables-t mangle -A PREROUTING -i br0 -j IMQ --todev 0
is this right ?
Bridge in IP MODE enabled receives IP traffic on the
slave eth* ports, not on the br0 interface. Only ARP can be received on br0 if you are using routes through br0. The goal is to receive IP on the slave ports, though. The asymmetry in the route settings is not a problem if you handle it correctly as mentioned in the docs, then you can use routes on slave or on bridge interface according to your needs. Else, there is no reason to use ipmode, you can play with br0 if ipmode is off.
Regards
--
Julian Anastasov <[email protected]>
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/