Re: IPFW Bandwidth throttling?

From: Greg Panula (greg.panula_at_dolaninformation.com)
Date: 05/07/03

  • Next message: Barry Irwin: "Re: IPFW Bandwidth throttling?"
    Date: Wed, 07 May 2003 08:55:46 -0500
    To: Chris McGee <chris@xecu.net>
    
    

    Chris McGee wrote:
    >
    > I am trying to limit outgoing SMTP traffic to about 14 Mbps and these are
    > the IPFW rules I am using.
    >
    > ${fwcmd} add pipe 1 tcp from 192.168.0.0/24 to any 25 out via dc0
    > ${fwcmd} pipe 1 config bw 14Mbit/s
    >
    > I've tried multiple tweaks to the pipe rule and I seem to be missing
    > something. I only get about half the bandwidth I specify. Is this normal
    > behavior? Is there something wrong with the rule I'm running?
    >

    The pipe config & pipe rule look correct.

    Try 'ipfw pipe list' to confirm the pipe is configured for the correct
    bandwidth and not dropping excessive amounts of packets.

    Is dc0 configured for 100Mbps or 10Mbps? 7Mbps is close to the ceiling
    for a 10Mbps link.

    Are you sure you have ~2MBps worth of smtp traffic to pass when you're
    watching? If you increase the bandwidth on the pipe do you see more
    than the ~7Mbps you're currently seeing?

    good luck,
     greg
    _______________________________________________
    freebsd-security@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-security
    To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"


  • Next message: Barry Irwin: "Re: IPFW Bandwidth throttling?"

    Relevant Pages

    • Add pipe into existing ipfw rules.
      ... I am wondering how to add bandwidth control to my existing ipfw rules. ... I have read quite a few pipe examples in the net, ... ${fwcmd} add allow ip from any to any via rl1 ...
      (comp.unix.bsd.freebsd.misc)
    • Re: IPFW Bandwidth throttling?
      ... I only get about half the bandwidth I specify. ... > The pipe config & pipe rule look correct. ... To unsubscribe, ...
      (FreeBSD-Security)
    • Re: How to shape VoIP traffic on FreeBSD 4.8 router?
      ... I'd also like to give TCP ACK packets a priority boost. ... > traffic without assimilating bandwidth. ... Define 1 pipe for the entire upstream bandwidth. ... add queue 2 ip from any to any not ssh,telnet,ntp out via oif ...
      (comp.unix.bsd.freebsd.misc)
    • Efficient use of Dummynet pipes in IPFW
      ... we've used "Dummynet" in FreeBSD for bandwidth control. ... pipe or queue will re-emerge at the next rule. ... because the packet can be passed on to the rules that block ports. ... reinjected into IPFW. ...
      (freebsd-net)
    • Re: Is there an API for ipfw?
      ... I create a pipe with: ... ipfw pipe 1 config bandwidth 22200KByte/s ... the NFS clients stops writing ALTOGETHER and begins logging complaints about ...
      (freebsd-net)