Displaying 3 results from an estimated 3 matches for "mipclasses".
2005 Oct 23
1
Script for metropolitan
...es -X
/sbin/iptables -t mangle -N mark_horiz_src
/sbin/iptables -t mangle -N mark_horiz_dst
/sbin/iptables -t mangle -A PREROUTING -i eth0 -j mark_horiz_src
/sbin/iptables -t mangle -A PREROUTING -i eth1 -j mark_horiz_dst
/sbin/iptables -t mangle -A OUTPUT -o eth0 -j mark_horiz_dst
/usr/local/bin/mipclasses -s mark_horiz_src -d mark_horiz_dst -m 1 < /start/metro.txt | iptables-restore -n
IF="eth0"
RATE_INET="256kbit"
RATE_METRO="1024kbit"
CEIL="512kbit"
#traficul implicit se duce in clasa 1:20 (internet)
tc qdisc add dev $IF root handle 1:0 htb default...
2004 Oct 28
4
HTB is losing packets ?
Hello all,
I have using htb for last 10-12 months to manage the bandwidth share.
Until last month everything was ok, but now after a kernel upgrade (from
2.4.20 to 2.4.26 because a kernel bug that generate a oops) the Linux router
is droping packets. It is weird because the "tc -s class ls dev eth1" (in the
class I monitor) reports no packet drop, the "tc -s qdisc ls dev
2004 Nov 19
3
mixing u32 and fwmark
Hi!
There is one thing I can''t do. In my country we have to pay for
"foreign" internet. Local internet is cheap and fast, but foreign is
slow and expensive. So I want do following:
mark every packet with iptables, where --set-mark 1 for foreign
internet, but --set-mark 2 for local internet
next when I got all traffic marking, I need to assign traffic to users
so I make