running netmap-ipfw with real NICs

Mahnaz Talebi mhnz.talebi at gmail.com
Wed May 7 12:30:34 UTC 2014


I use this scenario for test netmap-based ipfw with real NICs.

=============================================================================
sender (eth0:10.10.1.1)                DUT (eth0:10.10.1.2)
(eth1:10.10.2.2)            receiver(10.10.2.3:eth0)
./pkt-gen -i eth0 -f rx   ------------->    ./kipfw netmap:eth0
netmap:eth1  --------------> ./pkt-gen -i eth0 -f tx
where sender and receiver connect to DUT directly.
==============================================================================
I think that kipfw capture packets from DUT's eth0 (which come from
sender's eth0) and forward them to it's eth1 (which connect directly to
receiver's eth0), after apply policies from ipfw/ipfw.
I expect that see packets that pass the ipfw's policies in receiver.

Is this scenario and my expects true?!







On Mon, Apr 28, 2014 at 7:28 PM, Luigi Rizzo <rizzo at iet.unipi.it> wrote:

>
>
>
> On Mon, Apr 28, 2014 at 4:30 PM, Raimundo Santos <raitech at gmail.com>wrote:
>
>> On 28 April 2014 01:58, Mahnaz Talebi <mhnz.talebi at gmail.com> wrote:
>>
>> > I am trying to run netmap-based ipfw with real NICs
>>
>>
>> Hello,
>>
>> there are some drivers that does not support netmap yet.
>>
>
> ​thanks for the answer but it wasn't that, i spoke to Mahnaz
> and he was just running out of memory, as dmesg showed.
>
> cheers
> luigi
>>
>>
>>
> --
> -----------------------------------------+-------------------------------
>  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-2211611               . via Diotisalvi 2
>  Mobile   +39-338-6809875               . 56122 PISA (Italy)
> -----------------------------------------+-------------------------------
>


More information about the freebsd-net mailing list