Date: Tue, 23 Nov 2010 16:41:55 +0100 From: Luigi Rizzo <rizzo@iet.unipi.it> To: nangergong <nangergong@gmail.com> Cc: freebsd-ipfw@freebsd.org Subject: Re: Understanding of "mask" Message-ID: <20101123154155.GC48018@onelab2.iet.unipi.it> In-Reply-To: <AANLkTikCso6BoaiaDYYxefXYef9jqPCxdwnTn5hZZXDt@mail.gmail.com> References: <AANLkTikCso6BoaiaDYYxefXYef9jqPCxdwnTn5hZZXDt@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 23, 2010 at 02:19:02PM +0000, nangergong wrote: > Hi, all, > > I don't understand the meaning of "mask", > for example, in the following statements: > -------------------------------------- > ipfw pipe 1 config delay 80ms mask all > ipfw add 600 pipe 1 ip from 9.161.150.55 to 9.161.148.72 > ---------------------------------------- > > What is the usage of "mask all"? > I think in total there is only 1 queue, so "mask all" here doesn't make any mask tells ipfw to create as many actual pipes (and queues) as there are different values of the 5-tuple after masking. E.g. for a pipe with bw limitations (say bw 100Kbit/s) each flow would get its own 100Kbit/s without interference from the others. In this case the mask is useless because the pipe has only delay so there would be no interference anyways. cheers luigi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101123154155.GC48018>