netmap-ipfw: kipfw two instances sharing same port

Eduardo Meyer dudu.meyer at gmail.com
Fri Jul 10 19:58:53 UTC 2015


On Fri, Jul 10, 2015 at 4:15 PM, Luigi Rizzo <rizzo at iet.unipi.it> wrote:

>
>
> On Fri, Jul 10, 2015 at 9:14 PM, Eduardo Meyer <dudu.meyer at gmail.com>
> wrote:
>
>> On Fri, Jul 10, 2015 at 4:09 PM, Pavel Odintsov <pavel.odintsov at 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).
>> >
>>
>> Wow cool hint and cool numbers.
>>
>> I will get everything properly bridged on both kipfw instances, right?
>>
>> I need to simulate like a 3-port bridge... this would me more like
>>
>> kipfw netmap:ix0-0 netmap:ix1-0
>> kipfw netmap:ix0-1 netmap:ix2-0
>>
>> But I need the same traffic coming on the wire on ix0 to be available on
>> both ix1 and ix2.
>>
>
> ​it won't replicate traffic on the other two ports,
> that's a different logic.
>
> cheers
> luigi
>

yeah it's what I thought,
different queues, different packets

what about the first approach? should I expect issues?

kipfw netmap:ix0 netmap:ix1
kipfw netmap:ix0 netmap:ix2

thank you


>>
>
>>
>> Will that work like that? I only tried using the default q.
>>
>>
>>
>>
>>
>>
>>
>>
>> >
>> >
>> > On Friday, July 10, 2015, Eduardo Meyer <dudu.meyer at 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.meyer at gmail.com
>> >> profissional: ddm.farmaciap at saude.gov.br
>> >> _______________________________________________
>> >> freebsd-net at freebsd.org mailing list
>> >> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>> >> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>> >>
>> >
>> >
>> > --
>> > Sincerely yours, Pavel Odintsov
>> >
>>
>>
>>
>> --
>> ===========
>> Eduardo Meyer
>> pessoal: dudu.meyer at gmail.com
>> profissional: ddm.farmaciap at saude.gov.br
>> _______________________________________________
>> freebsd-net at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>>
>
>
>
> --
> -----------------------------------------+-------------------------------
>  Prof. Luigi RIZZO, rizzo at iet.unipi.it  . Dip. di Ing. dell'Informazione
>  http://www.iet.unipi.it/~luigi/        . Universita` di Pisa
>  TEL      +39-050-2217533               . via Diotisalvi 2
>  Mobile   +39-338-6809875               . 56122 PISA (Italy)
> -----------------------------------------+-------------------------------
>



-- 
===========
Eduardo Meyer
pessoal: dudu.meyer at gmail.com
profissional: ddm.farmaciap at saude.gov.br


More information about the freebsd-net mailing list