isp's in England who support ethernet bonding so
you may just order a bunch of adsl lines and bond them together on
your end. there might be some in your area as well :) (definitely not
here in Hungary though)
--
diab
___
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
f you do "man ip" it reads (ip rule add/ip rule del):
iif NAME
select the incoming device to match. If the interface is
loopback, the rule only matches packets originating from
this host. This means that you may create separate routing tables for
forwarded and local pa
(ie. to answer
ping on both interfaces) you need to
ip rule add iif eth0 lookup 1
ip rule add iif eth1 lookup 2
so packets coming from eth0/eth1 are routed using the correct routing
table.
i wrote all this from scratch so accept my apologies for any errors i
might have done but in my understa
nd it works perfectly.
Documentation here:
http://www.cohprog.com/v3/bandwidth/doc-en.html
MOD_THROTTLE docs here: http://www.snert.com/Software/mod_throttle/
-
diab
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
we're doing it over the eth0.. i mean anything that comes from eth1
(upload) is shaped on eth0 when it would leave the router/shaper,
and downloads (coming in on eth0) are shaped when it gets router to
the users on eth1. Both are using HTB and it works just perfectly
fine.
-diab
-
di
ot; so it won't work for
apache :(
In debian there is an apache module called iptos that is able to
modify the TOS field. It's rather basic but based on that it should
not be hard to create one to mark packets (as in iptables --mark)
accordi
For example you could match/mark outgoing packets created by a particular
user (uid diab here) using
iptables -A OUTPUT -t mangle -j MARK -m owner --uid-owner diab \
--set-mark
the problem is that it only works in the OUTPUT chain for outgoing
packets.
here is a patch that makes it possible for the
dd dev eth1 protocol ip parent 200: prio 0 handle $htbindex fw flowid
200:$htbindex
$htbindex++
It seems to be working fine so far, please let me know if there are any
flaws in this or if I should do something differently.
thanks for the quick response,
-
diab
_
filter add dev eth0 parent : protocol ip prio 16 u32 match ip dst $row->{ip}
police rate
$row->{shaper}kbit burst 10k drop flowid :
tc filter add dev eth1 parent : protocol ip prio 16 u32 match ip src $row->{ip}
police rate
$row->{shaper}kbit burst 10k drop flowid :
Any hel