qemu ovs tap down

5 阅读2分钟

link_speed : 10000000

link_state : down # 注意这里的状态为 down

lldp : {}

mac : []

mac_in_use : "02:94:b0:9e:52:29"

mtu : 1500

mtu_request : []

name : tapd032ee5512d6


root@debian:/kube-ovn# ovs-vsctl list interface | grep -C 15 ovn0
external_ids        : {iface-id=node-debian, ip="100.64.0.2", ovn-installed="true", ovn-installed-ts="1744421416405"}
ifindex             : 22
ingress_policing_burst: 0
ingress_policing_kpkts_burst: 0
ingress_policing_kpkts_rate: 0
ingress_policing_rate: 0
lacp_current        : []
link_resets         : 0
link_speed          : []
link_state          : up
lldp                : {}
mac                 : []
mac_in_use          : "62:ac:d9:ae:48:35"
mtu                 : 1400
mtu_request         : 1400
name                : ovn0
ofport              : 2
ofport_request      : []
options             : {}
other_config        : {}
statistics          : {collisions=0, rx_bytes=4518055, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_missed_errors=0, rx_multicast_packets=0, rx_over_err=0, rx_packets=52479, tx_bytes=26965681, tx_dropped=0, tx_errors=0, tx_packets=52136}
status              : {driver_name=openvswitch}
type                : internal




root@debian:/kube-ovn# ovs-vsctl list interface | grep -C 30 tap
type                : ""

_uuid               : 2aaff2ca-e4a7-4031-9fbe-c7554429fb71
admin_state         : up
bfd                 : {}
bfd_status          : {}
cfm_fault           : []
cfm_fault_status    : []
cfm_flap_count      : []
cfm_health          : []
cfm_mpid            : []
cfm_remote_mpids    : []
cfm_remote_opstate  : []
duplex              : full
error               : []
external_ids        : {iface-id=vm01.default, ovn-installed="true", ovn-installed-ts="1744426295646"}
ifindex             : 42
ingress_policing_burst: 0
ingress_policing_kpkts_burst: 0
ingress_policing_kpkts_rate: 0
ingress_policing_rate: 0
lacp_current        : []
link_resets         : 0
link_speed          : 10000000
link_state          : down  # 注意这里的状态为 down
lldp                : {}
mac                 : []
mac_in_use          : "02:94:b0:9e:52:29"
mtu                 : 1500
mtu_request         : []
name                : tapd032ee5512d6
ofport              : 12
ofport_request      : []
options             : {}
other_config        : {}
statistics          : {collisions=0, rx_bytes=0, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_missed_errors=0, rx_multicast_packets=0, rx_over_err=0, rx_packets=0, tx_bytes=0, tx_dropped=0, tx_errors=0, tx_packets=0}
status              : {driver_name=tun, driver_version="1.6", firmware_version=""}
type                : ""



link_state : down # 注意这里的状态为 down

实际上应该是 qemu 还没有用到这个 tap 设备