linux tap vs openvswitch internal port

32 阅读1分钟

linux tap vs openvswitch internal port

image.png


root@debian:/kube-ovn# ovs-vsctl list interface ovn0 | grep -v "\[\]"
_uuid               : dd4b1cc8-2d63-4438-846e-631686499f5f
admin_state         : up
bfd                 : {}
bfd_status          : {}
external_ids        : {iface-id=node-debian, ip="100.64.0.2", ovn-installed="true", ovn-installed-ts="1743923393576"}
ifindex             : 22
ingress_policing_burst: 0
ingress_policing_kpkts_burst: 0
ingress_policing_kpkts_rate: 0
ingress_policing_rate: 0
link_resets         : 1
link_state          : up
lldp                : {}
mac_in_use          : "a2:5b:b3:f9:1f:f8"
mtu                 : 1400
mtu_request         : 1400
name                : ovn0
ofport              : 2
options             : {}
other_config        : {}
statistics          : {collisions=0, rx_bytes=5626354, 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=65390, tx_bytes=33428976, tx_dropped=0, tx_errors=0, tx_packets=65019}
status              : {driver_name=openvswitch}
type                : internal
root@debian:/kube-ovn# 
root@debian:/kube-ovn# 
root@debian:/kube-ovn# 
root@debian:/kube-ovn# 
root@debian:/kube-ovn# ovs-vsctl list interface tapf72fdf4cac4f | grep -v "\[\]"
_uuid               : 11e4bd1a-1a58-45f5-ae4b-bc4d1d98b01e
admin_state         : up
bfd                 : {}
bfd_status          : {}
duplex              : full
external_ids        : {}
ifindex             : 35
ingress_policing_burst: 0
ingress_policing_kpkts_burst: 0
ingress_policing_kpkts_rate: 0
ingress_policing_rate: 0
link_resets         : 0
link_speed          : 10000000
link_state          : down
lldp                : {}
mac_in_use          : "02:94:b0:9e:52:29"
mtu                 : 1500
name                : tapf72fdf4cac4f
ofport              : 10
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                : ""
root@debian:/kube-ovn#