[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-discuss
Subject:    [ovs-discuss] how to attach vxlan interface with a different physical interface
From:       fengyuleidian0615 () gmail ! com (FengYu LeiDian)
Date:       2014-10-31 6:48:46
Message-ID: 545330CE.2080808 () gmail ! com
[Download RAW message or body]

于 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...



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic