On Fri, Dec 12, 2014 at 09:06:46PM +1100, Luigi Rizzo wrote: > you can set the limit for the pipe, create two queues with different > weights attached to the pipe, and then schedule. > > ipfw pipe 12 config bw 3456 Kbit/s > ipfw queue 34 config weight 2 pipe 12 > ipfw queue 56 config weight 1 pipe 12 > ipfw add queue 34 in recv halfduplexlink0 > ipfw add queue 56 out xmit halfduplexlink0 > > that should do the job
ipfw add pipe 12 in recv halfduplexlink0 ipfw add pipe 12 out recv halfduplexlink0 ipfw add pipe 12 out xmit halfduplexlink0 or may be double ipfw add pipe 12 in recv halfduplexlink0 (not tested) _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"