ipfw dummynet bandwidth issues

Odhiambo WASHINGTON wash at wananchi.com
Tue May 15 09:49:41 UTC 2007


* On 14/05/07 12:23 -0500, Joe Kirby wrote:
| > * On 14/05/07 10:31 -0500, Joe Kirby wrote:
| > | I am currently running "traffic shapers" for a wireless network. The
| > | shapers contain about 50 - 100 customers. All we shape is bandwidth to
| > | adjust for billing. The problem that I am having is that the bandwidth
| > on
| > | the customers end seems to be very low on the upload side. Below are all
| > | of my configs.
| >
| > All, including the ipfw configs? ;-)
| >
| > Anyway, I think you could rely on the WARTA whitepaper for clues.
| > There is also http://www.wifibsd.org/
| 
| 
| I would rather get this working. My former system admin dropped it into my
| lap about 2 weeks ago when he left. I understand the basics for this. The
| only ipfw config that I have is the following one if that helps at all.
| 
| #!/bin/sh
| #
| # $FreeBSD: src/etc/rc.d/ipfw,v 1.10.2.2 2006/03/01 11:36:01 wkoszek Exp $
| #
| 
| # PROVIDE: ipfw
| # REQUIRE: ppp
| # BEFORE: NETWORKING
| # KEYWORD: nojail
| 
| . /etc/rc.subr
| . /etc/network.subr
| 
| name="ipfw"
| rcvar="firewall_enable"
| start_cmd="ipfw_start"
| start_precmd="ipfw_precmd"
| stop_cmd="ipfw_stop"
| 
| ipfw_precmd()
| {
|         if ! ${SYSCTL} net.inet.ip.fw.enable > /dev/null 2>&1; then
|                 if ! kldload ipfw; then
|                         warn unable to load firewall module.
|                         return 1
|                 fi
|         fi
| 
|         return 0
| }
| 
| ipfw_start()
| {
|         # set the firewall rules script if none was specified
|         [ -z "${firewall_script}" ] && firewall_script=/etc/rc.firewall

So your rules file is /etc/rc.firewall.


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash at wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+

Since we have to speak well of the dead, let's knock them while they're
alive.
		-- John Sloan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2243 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ipfw/attachments/20070515/7a41e69d/smime.bin


More information about the freebsd-ipfw mailing list