On Tue, 18 May 2004, Marcin Kr?l wrote: Czy te wpisy maja sens i czy od takich wpisow mozna rozpoczac podzial lacza...
qdisc del dev eth0 root qdisc add dev eth0 root handle 1: htb default 1 class add dev eth0 parent 1: classid 1:1 htb rate 100mbit ceil 100mbit class add dev eth0 parent 1: classid 1:2 htb rate 1024kbit ceil 1024kbit qdisc del dev eth1 root qdisc add dev eth1 root handle 1: htb default 1 class add dev eth1 parent 1: classid 1:1 htb rate 196kbit ceil 196kbit class add dev eth0 parent 1:2 classid 1:3 htb rate 32kbit ceil 512kbit class add dev eth1 parent 1:1 classid 1:3 htb rate 4kbit ceil 64kbit filter add dev eth0 protocol ip parent 1: u32 match ip dst 192.168.0.51 flowid 1:3 filter add dev eth1 protocol ip parent 1: u32 match ip src 192.168.0.51 flowid 1:3 class add dev eth0 parent 1:2 classid 1:4 htb rate 32kbit ceil 512kbit class add dev eth1 parent 1:1 classid 1:4 htb rate 4kbit ceil 64kbit filter add dev eth0 protocol ip parent 1: u32 match ip dst 192.168.0.53 flowid 1:4 filter add dev eth1 protocol ip parent 1: u32 match ip src 192.168.0.53 flowid 1:4 filter add dev eth0 protocol ip parent 1: u32 match ip dst 192.168.0.56 flowid 1:4 filter add dev eth1 protocol ip parent 1: u32 match ip src 192.168.0.56 flowid 1:4
Pozdrawiam Pawel Bernadowski GG 3377, email kontakt@pbern.biz