Re: [LARTC] Htb queueing problem

2006-03-02 Thread Andy Furniss
Diego Andrés Asenjo Gonzalez wrote: Hi again! $IPT -A FORWARD -t mangle -p udp -s 172.16.0.185/32 -i eth1 --sport 1:10100 -d 172.16.1.0/24 -j MARK --set-mark 0x44 This should be -o eth1 or you should be shaping it on eth0 or if it's for the shaping box you need to do some sort of

Re: [LARTC] Htb queueing problem

2006-03-02 Thread [EMAIL PROTECTED]
Diego Andrés Asenjo Gonzalez ha scritto: Sorry, a typo :p. You pointed clearly the -o eth1 in the previous message. Really, is the first time that I use -i or -o in the rule. One point is that the box is a bridge between a LAN and a router, eth0 is in the LAN and eth1 in the router. So, I

Re: [LARTC] Htb queueing problem

2006-03-02 Thread Luciano Ruete
El Thursday 02 March 2006 12:59, Andy Furniss escribió: Diego Andrés Asenjo Gonzalez wrote: Hi again! $IPT -A FORWARD -t mangle -p udp -s 172.16.0.185/32 -i eth1 --sport 1:10100 -d 172.16.1.0/24 -j MARK --set-mark 0x44 This should be -o eth1 or you should be shaping it on eth0 or

Re: [LARTC] Htb queueing problem

2006-03-02 Thread Diego Andrés Asenjo Gonzalez
Hello! Thanks to all for your responses. [EMAIL PROTECTED] wrote: You have to use physdev on a bridge (-m physdev --physdev-out eth1). Yes, you are right. Taken from ebtables FAQ: * Can I use ebtables with iptables? Yes, it's possible to use ebtables together with iptables, there are

Re: [LARTC] Htb queueing problem

2006-03-01 Thread Andy Furniss
Diego Andrés Asenjo Gonzalez wrote: Hi everybody! I'm using an edge bridge box with two ethernet cards to shape traffic in a WAN link. I'm running Debian 3.1 stable with kernel 2.6.8 and iproute from packages. I recompiled the kernel with the following built-in options: [*] 802.1d Ethernet

Re: [LARTC] Htb queueing problem

2006-03-01 Thread Diego Andrés Asenjo Gonzalez
Hi and thanks for replying! As I select everything I don't know if this is enough - also I think you need to select classify in netfilter the section. I also select almost everything in the netfilter section, including MARK and CLASSIFY. I simplified the script mantaining the most

Re: [LARTC] Htb queueing problem

2006-03-01 Thread Andreas Hasenack
On Wed, Mar 01, 2006 at 02:48:18PM +, Andy Furniss wrote: than bulk. Also remember when setting rates that htb will see ip packets as ip length + 14 when used on ethX Could you elaborate on this a bit? I suppose you also meant this in an earlier message when you mentioned that the overhead

Re: [LARTC] Htb queueing problem

2006-03-01 Thread Andy Furniss
Diego Andrés Asenjo Gonzalez wrote: Hi and thanks for replying! As I select everything I don't know if this is enough - also I think you need to select classify in netfilter the section. I also select almost everything in the netfilter section, including MARK and CLASSIFY. I simplified

Re: [LARTC] Htb queueing problem

2006-03-01 Thread Andy Furniss
Andreas Hasenack wrote: On Wed, Mar 01, 2006 at 02:48:18PM +, Andy Furniss wrote: than bulk. Also remember when setting rates that htb will see ip packets as ip length + 14 when used on ethX Could you elaborate on this a bit? I suppose you also meant this in an earlier message when you

Re: [LARTC] Htb queueing problem

2006-03-01 Thread Diego Andrés Asenjo Gonzalez
Hi again! $IPT -A FORWARD -t mangle -p udp -s 172.16.0.185/32 -i eth1 --sport 1:10100 -d 172.16.1.0/24 -j MARK --set-mark 0x44 This should be -o eth1 or you should be shaping it on eth0 or if it's for the shaping box you need to do some sort of ingress shaping/policing. Sorry, a typo

[LARTC] Htb queueing problem

2006-02-28 Thread Diego Andrés Asenjo Gonzalez
Hi everybody! I'm using an edge bridge box with two ethernet cards to shape traffic in a WAN link. I'm running Debian 3.1 stable with kernel 2.6.8 and iproute from packages. I recompiled the kernel with the following built-in options: [*] 802.1d Ethernet Bridging [*] QoS and/or fair