You should run netmap-ipfw with this command (it will run 8 copies of
kipfw):
for i in `seq 0 7`; do IPFW_PORT="555$i" taskset -c $i kipfw
netmap:eth0-$i netmap:eth1-$i & done

When you need add or remove rule you should do it for all 8 copies of kipfw:
for i in `seq 0 7`;do IPFW_PORT="555$i" ipfw/ipfw add deny all from
any to any

On Friday, July 10, 2015, Pavel Odintsov <pavel.odint...@gmail.com> wrote:

> Hello!
>
> You could enable multiple queues for each NIC and run single instance of
> kipfw on each pair:
> kipfw netmap:ix0-0 netmap:ix1-0
> kipfw netmap:ix0-1 netmap:ix1-1
>
> And so on ;) i have about 12 mpps with this configuration (on Linux
> netmap).
>
> On Friday, July 10, 2015, Eduardo Meyer <dudu.me...@gmail.com
> <javascript:_e(%7B%7D,'cvml','dudu.me...@gmail.com');>> wrote:
>
>> Hello,
>>
>> should ./kipfw <port0> <port1> and another ./kipfw <port0> <port2> work?
>>
>> I want to have two filtered kipfw instances sharing the same WAN port.
>>
>> So far I did a quick test lab and it worked, but since it's a lab
>> environment I don't know if I should expect other problems when I add it
>> to
>> run in a real scenario.
>>
>> What problems should I expect? Can they be minimized?
>>
>> Basic stateless filtering only.
>>
>> --
>> ===========
>> Eduardo Meyer
>> pessoal: dudu.me...@gmail.com
>> profissional: ddm.farmac...@saude.gov.br
>> _______________________________________________
>> 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"
>>
>
>
> --
> Sincerely yours, Pavel Odintsov
>


-- 
Sincerely yours, Pavel Odintsov
_______________________________________________
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"

Reply via email to