Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2004 06:19:09 -1000 (HST)
From:      Vincent Poy <vince@oahu.WURLDLINK.NET>
To:        Dan Pelleg <daniel@pelleg.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: FreeBSD Traffic Shaping?
Message-ID:  <20040206061154.G8264-100000@oahu.WURLDLINK.NET>
In-Reply-To: <16419.48006.713034.49353@lark.auton.cs.cmu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 6 Feb 2004, Dan Pelleg wrote:

> Vincent Poy writes:
>  >
>  > 	That's the part where it becomes difficult since even though I
>  > have 8 IP's, it's still on a /24 mask so only the 8 IP's in that /24 are
>  > actually local.
>
> Use a /27 mask.

	a /27 would work except it'll be 32 IP's with 24 of them that
would need the traffic shaping.  So hopefully this would work:

ipfw add queue 1 ip from any to any out xmit xl0
or just ipfw add queue 1
followed by:

ipfw pipe 1 config bw 384Kbit/s
ipfw queue 1 config pipe 1 weight 30 mask all
ipfw pass from 192.168.0.0/16 to any
ipfw pass from 209.204.138.224 to any
ipfw pass from 209.204.138.225 to any
ipfw pass from 209.204.138.226 to any
ipfw pass from 209.204.138.227 to any
ipfw pass from 209.204.138.228 to any
ipfw pass from 209.204.138.229 to any
ipfw pass from 209.204.138.230 to any
ipfw pass from 209.204.138.231 to any
ipfw queue 1 from any to any

	Now just have to figure out how to make it so that ack's would
have priority.  Thanks!


Cheers,
Vince - vince@WURLDLINK.NET - Vice President             ________   __ ____
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / |  / |[__  ]
WurldLink Corporation                                  / / / /  | /  | __] ]
San Francisco - Honolulu - Hong Kong                  / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____]
Almighty1@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040206061154.G8264-100000>