netmap/pkt-gen error

S. Amin Marashi marashi.s.amin at gmail.com
Fri Apr 24 18:23:35 UTC 2015


the bridge example didn't work till I changed my interface name: em0 to
netmap:em0

On Fri, Apr 24, 2015 at 1:08 PM, S. Amin Marashi <marashi.s.amin at gmail.com>
wrote:

> > i am running FreeBSD 9.0R with netmap already in it.
> > i compiled the pkt-gen.c with gcc in tools/tools/netmap.
> > after i do ./pkt-gen -i eth0 -f tx -n 500111222 -l 60 -w 5
> >
> > i get an error:
> > -Unable to open /dev/netmap
> > -Unable to register bge0 (renamed to eth0).
> [...]
> > any idea on the errors/ help.
>
> I solved the same issue by compiling the kernel with "device netmap"
> kernel config.
>


More information about the freebsd-current mailing list