Date: Sat, 3 May 2014 14:44:57 +0800 From: upyzl <zj262144@gmail.com> To: freebsd-net@freebsd.org Subject: netmap: how to bridge 2 eth? Message-ID: <CAMijcFHrQiyARjcB1NMSBPNpCyZ7K9NK=Xomk1ZL3zEBFaNVJQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi all I'm doing to implement a simple openflow-based software switch(not same as OVS, much simpler to OVS) and I choose netmap for the network framework Now I try to do a simplest thing: there's 3 VMs, all are Ubuntu 12.04.4 x64 2 act as hosts, other 1 act as switch topo: [host1] eth0 ----- eth0 [switch] eth1 ----- eth0 [host2] I want to bridge switch's eth0ð1 (like "brctl" in linux), then host1 ping host2 the problem is, how to bridge using netmap? I tried example "bridge" in netmap project(git clone https://code.google.com/p/netmap/): ./bridge -i netmap:eth0 -i netmap:eth1 then host1 ping to host2 but pinging result is "Destination Host Unreachable" (if using brctl, pinging is fine) Then I tried vale-ctl but i dont know how to use it... e.g. ./vale-ctl -a eth0 show "eth0: Invalid argument" could anyone help me?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMijcFHrQiyARjcB1NMSBPNpCyZ7K9NK=Xomk1ZL3zEBFaNVJQ>