[ovs-discuss] how to attach vxlan interface with a different physical interface

FengYu LeiDian fengyuleidian0615 at gmail.com
Thu Oct 30 06:10:37 UTC 2014


Hi

ovs-vsctl add-port OVS-BR0 vxlan2 -- set Interface vxlan2 type=vxlan
options:remote_ip=192.168.1.11

ovs-vsctl list Interface vxlan2
_uuid : 9aa6d465-fb5c-481b-bc7f-89412a7b1f75
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 : []
external_ids : {}
ifindex : 0
ingress_policing_burst: 0
ingress_policing_rate: 0
lacp_current : []
link_resets : 0
link_speed : []
link_state : up
mac : []
mac_in_use : "3a:45:4c:8f:0e:ff"
mtu : []
name : "vxlan2"
ofport : 11
ofport_request : []
options : {remote_ip="192.168.1.11"}
other_config : {}
statistics : {collisions=0, rx_bytes=0, rx_crc_err=0, rx_dropped=0,
rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=0, tx_bytes=0,
tx_dropped=0, tx_errors=0, tx_packets=0}
status : {tunnel_egress_iface="eth0", tunnel_egress_iface_carrier=up}


Looks like all vxlan packet will go through physical interface eth0, I
try to change this by using eth5, but no luck, still saw eth0.
Is there anything I missed obviously?

ovs-vsctl add-port OVS-BR0 vxlan2 -- set Interface vxlan2 type=vxlan
options:remote_ip=192.168.1.11 ifindex=5






More information about the discuss mailing list