運行ovs后,Linux系統中會多出一塊狀態是down掉的網卡ovs-system:
ifconfig -a
...
ovs-system Link encap:Ethernet HWaddr FA:4F:0D:E4:DA:11
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:468 (468.0 b)
...
歷史原因,Open vSwitch在內核中使用的是datapath,而每個datapath必須有一個端口與之對應,ovs使用的datapath名字是ovs-system,所以系統中就冒出來一個ovs-system的網卡,沒有任何用途,忽略它既可。你也根本刪不掉它的。
It's not used for anything, and not useful for anything. It is mostly historical. A Linux kernel Open vSwitch datapath needs to have a port named the same as the datapath. Open vSwitch needs one datapath, and it
names it ovs-system, so there's a port with the same name, even though it doesn't get used for anything.