[ovs-discuss] ovs with docker

shuangyang qian qsyqian at gmail.com
Thu Jan 2 08:21:17 UTC 2020


when i use ovs with docker, and found some unused virtual nic in docker
network namespace, like below:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: ovs-gretap0 at NONE: <BROADCAST,MULTICAST> mtu 1462 qdisc noop state DOWN
group default qlen 1000
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
3: erspan0 at NONE: <BROADCAST,MULTICAST> mtu 1450 qdisc noop state DOWN group
default qlen 1000
    link/ether 2e:87:57:9d:4a:d7 brd ff:ff:ff:ff:ff:ff
4: ovs-ip6gre0 at NONE: <NOARP> mtu 1448 qdisc noop state DOWN group default
qlen 1
    link/gre6 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 brd
00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
5: ovs-ip6tnl0 at NONE: <NOARP> mtu 1452 qdisc noop state DOWN group default
qlen 1
    link/tunnel6 :: brd ::
29: eth0 at if30: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1430 qdisc noqueue
state UP group default
    link/ether 0a:00:00:32:02:03 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 172.50.2.2/24 brd 172.50.2.255 scope global eth0
       valid_lft forever preferred_lft forever

except lo and eth0, the ovs-gre* 、erspan*、ovs-ip6* virtual nics is not i
need. do some one can tell me how to delete them.

BTW, the virtual nics alse on host network stack, so i think shoudl find a
way to delete them in host. The unused virtual nics are created when i
insmod openvswitch.ko which i make it from ovs tree. the version is 2.11.2.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20200102/c3b66a68/attachment.html>


More information about the discuss mailing list