Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 2014 17:05:38 +0430
From:      Mahnaz Talebi <mhnz.talebi@gmail.com>
To:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: running netmap-ipfw with real NICs
Message-ID:  <CABfVBTkKejueVBJa=zmNEvO1MVOOVVDOZ_Y-_a__=BLUBUpbDQ@mail.gmail.com>
In-Reply-To: <CABfVBTnn2zokwmCzigy11gaQskWPPWQenrOrZxKmQZ%2BKgx=hDw@mail.gmail.com>
References:  <CABfVBT=5Nku2UYQyaTbg%2BtgTo%2BR6ZjOdgqaCFcM-WarvndigSQ@mail.gmail.com> <CAGQ6iC_zrYefr4gDQPt31z6aErrd6hBrM4zHc7zKAPq9rzMCFQ@mail.gmail.com> <CA%2BhQ2%2BgmQNb%2B=rzCMWG4ms76trhgQSTGh%2BcrmwokgNPPj%2BZNxQ@mail.gmail.com> <CABfVBTnn2zokwmCzigy11gaQskWPPWQenrOrZxKmQZ%2BKgx=hDw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry for my inaccuracy!
I use "./pkt-gen -i eth0 -f tx"  in sender and "
./pkt-gen -i eth0 -f rx" in receiver.


On Wed, May 7, 2014 at 5:00 PM, Mahnaz Talebi <mhnz.talebi@gmail.com> wrote=
:

> I use this scenario for test netmap-based ipfw with real NICs.
>
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> 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.
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> 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@iet.unipi.it> wrote:
>
>>
>>
>>
>> On Mon, Apr 28, 2014 at 4:30 PM, Raimundo Santos <raitech@gmail.com>wrot=
e:
>>
>>> On 28 April 2014 01:58, Mahnaz Talebi <mhnz.talebi@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.
>>>
>>
>> =E2=80=8Bthanks 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
>> =E2=80=8B
>>
>>>
>>>
>> --
>> -----------------------------------------+------------------------------=
-
>>  Prof. Luigi RIZZO, rizzo@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)
>> -----------------------------------------+------------------------------=
-
>>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABfVBTkKejueVBJa=zmNEvO1MVOOVVDOZ_Y-_a__=BLUBUpbDQ>