[ovs-dev] [PATCH RFC] WIP: netdev-tpacket: Add AF_PACKET v3 support.
u9012063 at gmail.com
Thu Jan 2 23:54:39 UTC 2020
On Mon, Dec 23, 2019 at 5:22 PM Yi Yang (杨燚)-云服务集团 <yangyi01 at inspur.com> wrote:
> William, maybe you don't know that kind of tap interface you're saying only can be used for VM, that is why openvswitch has to introduce internal type for the case I'm saying.
> In OVS DPDK case, if you create the below interface, it is a tap interface.
> ovs-vsctl add-port tapX -- set interface type=internal
> It won't work if you create tap interface in the below way
> Ip tuntap add tapX node tap
> ovs-vsctl add-port br-int tapX
I think this is mentioned in Documentation/faq/issues.rst,
Q: I created a tap device tap0, configured an IP address on it, and added it to
a bridge, like this::
$ tunctl -t tap0
$ ip addr add 192.168.0.123/24 dev tap0
$ ip link set tap0 up
$ ovs-vsctl add-br br0
$ ovs-vsctl add-port br0 tap0
I expected that I could then use this IP address to contact other hosts on the
network, but it doesn't work. Why not?
More information about the dev