[LARTC] newbie questions
Paul Albert
palbert@rovingplanet.com
Thu, 25 Mar 2004 14:00:53 -0700
This is a multi-part message in MIME format.
------_=_NextPart_001_01C412AC.4286E2BF
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi all -=20
=20
I've been reading for the past day or so about the traffic control that
is built into linux. I have a situation that I have not seen
documented, and I'm wondering how to handle this.
=20
I would like to have a group of users get a certain amount of bandwidth
in both inbound and outbound directions on our firewalling bridge. I
know that I can group users together to the same qdisc by marking their
packets through iptables to enforce egress qos. However, I'm not sure
how to go about doing this in an inbound direction. Initially, I was
thinking that I could use HTB, but this doesn't allow me to shape in
both directions (correct?).
=20
The other part that is a bit confusing to me is that I would like to
aggregate both inbound and outbound traffic to a single number, say
1Mbps. Could I use IMQ to tie the interfaces eth0 and eth1 together to
achieve this? Is there another solution that would satisfy this
requirement?
=20
Any help is appreciated ...
=20
Paul
=20
------_=_NextPart_001_01C412AC.4286E2BF
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hi all – <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I’ve been reading for the past day or so about =
the
traffic control that is built into linux. I have a situation that =
I have
not seen documented, and I’m wondering how to handle =
this.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I would like to have a group of users get a certain =
amount
of bandwidth in both inbound and outbound directions on our firewalling =
bridge.
I know that I can group users together to the same qdisc by marking =
their
packets through iptables to enforce egress qos. However, I’m =
not
sure how to go about doing this in an inbound direction. =
Initially, I was
thinking that I could use HTB, but this doesn’t allow me to shape =
in both
directions (correct?).<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>The other part that is a bit confusing to me is that =
I would
like to aggregate both inbound and outbound traffic to a single number, =
say
1Mbps. Could I use IMQ to tie the interfaces eth0 and eth1 =
together to
achieve this? Is there another solution that would satisfy this
requirement?<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Any help is appreciated =
…<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Paul<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
------_=_NextPart_001_01C412AC.4286E2BF--