On Mon, Dec 23, 2019 at 5:22 PM Yi Yang (杨燚)-云服务集团 <yangy...@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
>
Hi Yi,

I think this is mentioned in Documentation/faq/issues.rst,
see
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?
...

Regards,
William
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to