Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2001 22:49:43 +0200
From:      Gideon <h20soul@mweb.co.za>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Bandwidth limiting with a bridge (Kernel panics and resets)
Message-ID:  <001d01c10e39$39b87840$020101c8@Liquidsoul.my.domain>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C10E49.9AD90580
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I've setup a bridge with network cards ed0 and ed2 . ed2 is the network =
card connected to the cisco router and ed0 is the network card connected =
to the rest of the lan . the bridge is working perfectly but i need to =
cap the bandwidth certain clients are getting from the router .=20
I tried these two rules :=20
$fwcmd add pipe 1 ip from any to <clientip>
$fwcmd add pipe 2 ip from <clientip> to any
$fwcmd pipe 1 config bw 64Kbit/s queue 10Kbytes
$fwcmd pipe 2 config bw 64Kbit/s queue 10Kbytes
the limiting works finewith these four rules . BUT .. when i ping a =
clientip from the cisco router's side the kernel panics and reboots .
Also as far as i can c that rule is bypassable by the clients all they =
need to do is put the cisco in as a gateway and not the bridge .
Any1 maybe know whots wrong and maybe how to fix it ?
I've tried all sorts of rules but they end up either rebooting the =
system or just not working at all .=20

------=_NextPart_000_0008_01C10E49.9AD90580
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 =
HTML//EN">
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>I've setup a bridge with network =
cards ed0 and=20
ed2 . ed2 is the network card connected to the cisco router and ed0 is =
the=20
network card connected to the rest of the lan . the bridge is working =
perfectly=20
but i need to cap the bandwidth certain clients are getting from the =
router .=20
</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>I tried these two rules : =
</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>$fwcmd add pipe 1 ip from any to=20
&lt;clientip&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>$fwcmd add pipe 2 ip from =
&lt;clientip&gt; to=20
any</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>$fwcmd pipe 1 config bw 64Kbit/s =
queue=20
10Kbytes</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>
<DIV><FONT color=3D#000000 size=3D2>$fwcmd pipe 2 config bw 64Kbit/s =
queue=20
10Kbytes</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>the limiting works finewith these =
four rules .=20
BUT .. when i ping a clientip from the cisco router's side the kernel =
panics and=20
reboots .</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>Also as far as i can c that rule is =
bypassable=20
by the clients all they need to do is put the cisco in as a gateway and =
not the=20
bridge .</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>Any1 maybe know whots wrong and =
maybe how to fix=20
it ?</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>I've tried all sorts of rules but =
they end up=20
either rebooting the system or just not working at all .=20
</FONT></DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_0008_01C10E49.9AD90580--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001d01c10e39$39b87840$020101c8>