I have a wireless internet connection.the nat is done by linux machine.
eth0----lan
eth1---service-provider
now the script..
tc qdisc add dev eth0 root handle 1: htb default 12
tc class add dev eth0 parent 1: classid 1:1 htb rate 512kbps ceil 512kbps
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 384kbps ceil 512kbps-----Admin-Network
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 64kbps ceil 256kbps------cyber-Cafe
tc class add dev eth0 parent 1:1 classid 1:12 htb rate 32kbps ceil 32kbps-------Constructions
tc class add dev eth0 parent 1:1 classid 1:13 htb rate 32kbps ceil 32kbps--------Consultants
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip src 202.79.x.x match ip 0xffff flowid 1:10
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip src 202.80.x.x match ip 0xffff flowid 1:11
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip src 202.81.x.x match ip 0xffff flowid 1:12
tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip src 202.82.x.x match ip 0xffff flowid 1:13
Now i am going to apply this.But i expect the folowing Results.Will it be fulfilled.
2.I want to apply this for upload and download as well.Will the above be effective for both.?
3.I am using fedora core4. so do i have to install any other additional packages like iproute,htb or any thing else?But i can move to redhat9 if i don't have to install any other things.
4.match ip 0xffff ---Does this mean match the IP with the given mac address?
5.prio 1 u32 ----what does this mean?
_______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc