Re: [LARTC] Whats wrong with my script?

2004-02-01 Thread Damion de Soto
Gastón wrote: What if I use public, routable IPs? i.e eth0: public eth1: public and client`s ips also public. Yes, you can also do that. You don't have to though, iptables marking private IP and then filtering on marks works quite fine. regards, -- ~~

Re: Re:[LARTC] Whats wrong with my script?

2004-01-30 Thread Anderson O Muniz
ot; <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, January 29, 2004 6:19 PM Subject: Re: Re:[LARTC] Whats wrong with my script? > What about this? : tc filter add dev eth1 parent 1:0 protocol ip prio 100 > u32 match ip dst 192.168.0.50 classid 1:56 > Is this correct

Re: [LARTC] Whats wrong with my script?

2004-01-30 Thread Gastón
004 4:16 AM Subject: Re: [LARTC] Whats wrong with my script? > Gastón wrote: > > What about this? : tc filter add dev eth1 parent 1:0 protocol ip prio 100 > > u32 match ip dst 192.168.0.50 classid 1:56 > > Is this correct for shaping upload? > On your upload (eth0) interface, yo

Re: [LARTC] Whats wrong with my script?

2004-01-30 Thread Damion de Soto
- Original Message - From: "andybr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, January 29, 2004 10:05 AM Subject: Re:[LARTC] Whats wrong with my script? Hello, According with rules you are controlling only download (src ip) yo

Re: Re:[LARTC] Whats wrong with my script?

2004-01-29 Thread Gastón
; Sent: Thursday, January 29, 2004 10:05 AM Subject: Re:[LARTC] Whats wrong with my script? Hello, According with rules you are controlling only download (src ip) you should add a (dst rule) also. Make a try. []'s Anderson > I`m trying to shape both upload (eth0) and download (eth1). I mad

Re:[LARTC] Whats wrong with my script?

2004-01-29 Thread andybr
Hello, According with rules you are controlling only download (src ip) you should add a (dst rule) also. Make a try. []'s Anderson > I`m trying to shape both upload (eth0) and download (eth1). I made this > script to acomplishthis but the filters are not working even though the > classes and qd

[LARTC] Whats wrong with my script?

2004-01-27 Thread Gastón
I`m trying to shape both upload (eth0) and download(eth1). I made this script to acomplishthis but the filters are not working even though the classes and qdiscs are created. What am I doing wrong? #!/bin/bash tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1 htb default 10 r2q 5 tc