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

FengYu LeiDian fengyuleidian0615 at gmail.com
Fri Oct 31 06:48:46 UTC 2014


于 2014年10月31日 00:26, Flavio Leitner 写道:
> On Thu, Oct 30, 2014 at 02:10:37PM +0800, FengYu LeiDian wrote:
>> Hi
>>
>> ovs-vsctl add-port OVS-BR0 vxlan2 -- set Interface vxlan2 type=vxlan
>> options:remote_ip=192.168.1.11
>>
> [...]
>> 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?
>
> You're saying that the other peer is on 192.168.1.11, so OVS is
> choosing the device which that address is reachable.
>
> What does 'ip route get 192.168.1.11' returns for you?

Thanks for the reminder!
I forgot to setup peer ip first, now I can ifindex, testing...





More information about the discuss mailing list