[LARTC] htb ratelimite a single source IP

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a multi-part message in MIME format.

------=_NextPart_000_00B7_01C2C6D8.64C2AA70
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Okay, I'm having a complete brainfart here, I apologize for the =
stupidity of the question.  Just a bit tired.

I have a customer on a shared box, who I gave a dedicated IP to.  I also =
have a router in between our uplink and him, and I need to apply a =
ratelimit (via htb) on his IP to 10mbit/sec.  I'd also like to do some =
fair queuing just so each connection gets an equal amount of bandwidth =
if it wants it (trying to stuff 35Mbit of big downloads into 10Mbit.. =
it's not going to be pretty).

Unfortunately I cannot seem to figure out how to just ratelimit based on =
the source IP, rather than the interface itself.  Obviously ratelimiting =
our GigE interface to 10meg/sec globally for all customers would be a =
Very Bad(tm) thing to do. ;)

I know other folk do this, so even just example scripts will give me all =
I need to get me jumpstarted.

Thanks much,

Phil Doroff
Five Elements, Inc.
phil21@five-elements.com
ICQ: 25285313
(763) 595-9479

------=_NextPart_000_00B7_01C2C6D8.64C2AA70
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2722.900" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Okay, I'm having a complete brainfart =
here, I=20
apologize for the stupidity of the question.&nbsp; Just a bit=20
tired.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have a customer on a shared box, who =
I gave a=20
dedicated IP to.&nbsp; I also have a router in between our uplink and =
him, and I=20
need to apply a ratelimit (via htb) on his IP to 10mbit/sec.&nbsp; I'd =
also like=20
to do some fair queuing just so each connection gets an equal amount of=20
bandwidth if it wants it (trying to stuff 35Mbit of big downloads into =
10Mbit..=20
it's not going to be pretty).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Unfortunately I cannot seem to figure =
out how to=20
just ratelimit based on the source IP, rather than the interface =
itself.&nbsp;=20
Obviously ratelimiting our GigE interface to 10meg/sec globally for all=20
customers would be a Very Bad(tm) thing to do. ;)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I know other folk do this, so even just =
example=20
scripts will give me all I need to get me jumpstarted.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks much,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Phil Doroff<BR>Five Elements, =
Inc.<BR><A=20
href=3D"mailto:phil21@five-elements.com";>phil21@five-elements.com</A><BR>=
ICQ:=20
25285313<BR>(763) 595-9479</FONT></DIV></BODY></HTML>

------=_NextPart_000_00B7_01C2C6D8.64C2AA70--




[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux