Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Nov 2014 22:40:33 -0200
From:      Evandro Nunes <evandronunes12@gmail.com>
To:        Patrick Tracanelli <eksffa@freebsdbrasil.com.br>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, Luigi Rizzo <rizzo@iet.unipi.it>
Subject:   Re: netmap-ipfw on em0 em1
Message-ID:  <CAG4HiT46ezpTzxCj%2B1PB=Ft-KKFs17f85dtRC8sgzSO%2B35cW=Q@mail.gmail.com>
In-Reply-To: <9547E931-AF82-4F5C-AA22-865E93831A27@freebsdbrasil.com.br>
References:  <CAG4HiT4KHG%2Bb2um6-p4szWio8qmxN%2BadO5hO9J5UGPmsa%2BZC5g@mail.gmail.com> <CA%2BhQ2%2BhAJZk-Y1Yw2xmHmxSMHpFN_byX94Bq33-th2vrp7q2JA@mail.gmail.com> <CAG4HiT7Mtedoxvc69nEyKp1ZYBidZTBcEKG1L9Mkj_Rqeh4bpA@mail.gmail.com> <CA%2BhQ2%2BjOnHX-x=k5=iZtR3=OWfcFBD8WTD_d_VicicJzPevcSw@mail.gmail.com> <CAG4HiT5fVCpmJ8uDh4SvVown7-vLCMKJP8-QcaW9LQfpWZEiBA@mail.gmail.com> <20141104221216.GA17502@onelab2.iet.unipi.it> <CAG4HiT5YqnnVW3dSzn3tpP4VAkGY7Qg3ZZuZ=vmwGznX8m7u2A@mail.gmail.com> <9547E931-AF82-4F5C-AA22-865E93831A27@freebsdbrasil.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 5, 2014 at 8:44 PM, Patrick Tracanelli <
eksffa@freebsdbrasil.com.br> wrote:

> Hey, what you are doing wrong is much more simple than you expect.
>
> > # ./kipfw em1 em2 > & /tmp/kipfw.log &
> > [1] 66583
>
> Just run ./kipfw netmap:em1 netmap:em2 and this will probably work.
>
> Please remember to redirect kipfw output to somewhere you are not reading
> only *after* you are sure the output is showing errors. If you could read
> the output you would probably get something like =E2=80=9Cerror opening e=
m0=E2=80=9D or
> something like that coming netmap.
>

hello dear patrick
thank you, yes it did work now
at least it is counting packets

but things are still weird, even though I have only count and allow rules,
and yes they are counting packets, when I run kipfw, every packet on em1
and em2 gets dropped immediately. no matter they are allow rules counting
packets, packets get dropped and machine-A gets completely isolated from
machine-C

any further help is appreciated



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG4HiT46ezpTzxCj%2B1PB=Ft-KKFs17f85dtRC8sgzSO%2B35cW=Q>