From owner-freebsd-questions Tue Feb 19 18:53:20 2002 Delivered-To: freebsd-questions@freebsd.org Received: from pro.net.id (hyperion.pro.net.id [202.150.40.5]) by hub.freebsd.org (Postfix) with SMTP id DD96037B402 for ; Tue, 19 Feb 2002 18:52:54 -0800 (PST) Received: (qmail 85408 invoked from network); 20 Feb 2002 02:48:05 -0000 Received: from unknown (HELO BLUESTAR) (202.150.39.229) by hyperion.pro.net.id with SMTP; 20 Feb 2002 02:48:05 -0000 From: "Thomas Wahyudi" To: Subject: traffic sharper difference Date: Wed, 20 Feb 2002 09:52:25 +0700 Message-ID: <007f01c1b9b9$a17a26f0$e52796ca@BLUESTAR> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0080_01C1B9F4.4DDA8590" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0080_01C1B9F4.4DDA8590 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hi I setup freebsd box as traffic sharper as follow Cabletron (a) ------ (b) freebsd box limiter set at 384Kbps (c) ---- client And Cabletron (a) ----- (b) asmv50 set at 384Kbps (c) ----- client The result at a with mrtg is different with freebsd box, we get more than 384 at point a but 384 at point c But we get 384 at point a same as in point b What I use rule on freebsd box is # Bandwitdh Limiter # Async 128kbps down 32kbps up $fwcmd pipe 1 config bw 128Kbit/s queue 12Kbytes $fwcmd pipe 2 config bw 32Kbit/s queue 3Kbytes $fwcmd add 10000 pipe 1 ip from any to any in recv rl0 $fwcmd add 20000 pipe 2 ip from any to any out xmit rl0 $fwcmd add 50000 allow tcp from any to any establish # Allow other traffic ${fwcmd} add 65000 allow all from any to any the question is, how I can achieve the same result with freebsd box that's we get 384 exacly at point a ? ------=_NextPart_000_0080_01C1B9F4.4DDA8590 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

Hi I setup freebsd box = as traffic sharper as follow

 

Cabletron (a) ------ = (b) freebsd box limiter set at 384Kbps (c) ---- client

 

And

 

Cabletron (a) ----- = (b)  asmv50 set at 384Kbps (c) ----- = client

 

The result at a with = mrtg is different with freebsd box, we get more than 384 at point a but 384 at = point c

But we get 384 at = point a same as in point b

 

What I use rule on = freebsd box is

 

# Bandwitdh = Limiter

# Async 128kbps down = 32kbps up

$fwcmd pipe 1 config = bw 128Kbit/s queue 12Kbytes

$fwcmd pipe 2 config = bw 32Kbit/s queue 3Kbytes

 

$fwcmd add 10000 pipe = 1 ip from any to any in recv rl0

$fwcmd add 20000 pipe = 2 ip from any to any out xmit rl0

 

$fwcmd add 50000 allow = tcp from any to any establish

 

# Allow other = traffic

${fwcmd} add 65000 = allow all from any to any

 

the question is, how I = can achieve the same result with freebsd box that’s we get 384 exacly = at point a ?

 

 

 

 

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