If your netmap headers are not in
/usr/include, set the env
NETMAPINCS to point to the right place, e.g.
export NETMAPINCS=/home/pooka/netmap/sys. Then run:
git submodule update --init
./buildrump.sh/buildrump.sh -T rumptools -s rumpsrc
(cd libnetmapif ; ../rumptools/rumpmake dependall && ../rumptools/rumpmake install)
examples and compile with
make. Then configure one TCP/IP
stack with the address 126.96.36.199, another with the address 188.8.131.52, and
connect them to each other via the VALE virtual switch:
./netmapcat vale:1 184.108.40.206 listen 1
./netmapcat vale:2 220.127.116.11 connect 18.104.22.168 1
Observe whatever you type in the latter terminal magically(?) appear in the other one.
vale:x with a real interface name, e.g.
ix0, you should
be able to bind to a physical network interface and access the wire.