Thanks, Jesse.

I figured out the issue. For those who are interested in using VIP as VXLAN
endpoint IP: after the backup node takes over VIP, its "source address"
also needs to be updated.  By default (I tested with Ubuntu 14.04 OS), the
bakcup node's source address keeps unchanged. That explains why my VXLAN
tunnels did not work previously.


Thanks

Changbin


On Tue, Jun 3, 2014 at 3:39 PM, Jesse Gross <je...@nicira.com> wrote:

> On Mon, Jun 2, 2014 at 6:37 PM, Changbin Liu <changbin....@gmail.com>
> wrote:
> > Hi Folks,
> >
> > Using Open vSwitch I am setting up VXLAN tunnels between hosts. I intend
> to
> > make VXLAN tunnels "highly available" via Keepalived. Specifically, there
> > are one master node and one backup node for each host, and they share a
> > Virtual IP (VIP) via Keepalived, and the VXLAN tunnel will use the VIP as
> > endpoint IP. This way when the master node fails, the backup node will
> > automatically have the VIP shifted to it. Therefore, human efforts are
> not
> > involved in failure recovery.
> >
> > I thought VXLAN can work with VIP this way, since VXLAN simply uses UDP
> > packets, and as long as the endpoint VIP does not change, it should work.
> > But it turns out that it didn't at all. I wonder whether this is intended
> > behavior or I missed something.
>
> It should be possible to use VXLAN with a VIP. The IP stack is
> configured outside of OVS so you should make sure that it is working
> in Linux first.
>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to