[LARTC] IMQ + NAT

2006-06-04 Thread Jonas Jasas
Hello, I have eth0 - internet eth1..4 - local networks on eth0 i do $IPTABLES -A POSTROUTING -t nat -o eth0 -j MASQUERADE I want to balance out/in load for eth1..4 and localhost (mainly squid). Nat makes impossible to do it on eth0, so I installed IMQ. I need to get to on imq0 unnnated in/out

[LARTC] Re: Simple shaping question

2006-01-12 Thread Jonas Jasas
On 1/12/06, Dmytro O. Redchuk [EMAIL PROTECTED] wrote: The problem is that eth0 is connected to Internet? Yes it is connected to internet, but what is the difference if it is connected to internet or LAN? Do you really want to shape outgoing (ACK?) packets? Yes, I have router and web server in

[LARTC] Re: Simple shaping question

2006-01-11 Thread Jonas Jasas
Thank you for your help! This is my modified rules, but that work exactly as before :~/ /sbin/tc qdisc del dev eth0 root /sbin/tc qdisc add dev eth0 root handle 1 htb default 20 r2q 100 /sbin/tc class add dev eth0 parent 1: classid 1:2 htb rate 900Kbit burst 15k /sbin/tc class add dev eth0 parent