On Mon, Apr 21, 2014 at 11:05 AM, Mahnaz Talebi <[email protected]> wrote:
>
> So, for use netmap-tcpip on linux, enough to install it according to
> https://github.com/rumpkernel/wiki/wiki/Repo:-netmap-rumptcpip.
> how to configure netmap-enabled NIC to use it in netmap-tcpip test
> application such netmapsend sample code? I see
> https://github.com/rumpkernel/wiki/wiki/Howto:-Networking-with-if_virt , But
> don't know how to use it for configure netmap enabled NIC.

Note I do not have access to a machine with a netmap setup right now
(bad internet connection here!), but the sample test code like
netmapsend should do all its own setup.

Foe general networking, if your netmap is connected to eg the Vale
netmap swicth the setup with rumprun should be quite simple, you
should be able to do something like the instructions at the top of
https://github.com/rumpkernel/wiki/wiki/Howto:-configure-ipv6-networking-with-rumprun
- the interface is also called virt0. You can just use ifconfig and so
on as they are documented in the NetBSD man pages eg
http://netbsd.gw.com/cgi-bin/man-cgi?ifconfig++NetBSD-current

>
> and,
> what is needed for use npf firewall, so that only packets pass npf firewall
> rules receive by netmapreceive sample code.

The easiest way to configure npf is to use the rumprun npfctl - this
is described for virtif here
https://github.com/rumpkernel/wiki/wiki/Howto:-configure-the-npf-packet-filter-with-rumprun
but will be similar for netmap, starting from where you can ping the
interface.

> sorry if my question is preliminary!!

Well sorry the documentation is still rather fragmented and
incomplete! It needs a lot more  work unfortunately...

Justin

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
rumpkernel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rumpkernel-users

Reply via email to