-
-
Notifications
You must be signed in to change notification settings - Fork 733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keepalived vip across subnets fail on ttl #941
Comments
The code in vrrp_in_chk() in vrrp.c is
From this, if unicast peers are configured, then you shouldn't get the With respect to your configurations, you shouldn't configure |
Hmmm... When I set VM2 to BACKUP and restarted both keepalived-s it stopped complaining about the ttl. But then when I returned it to be MASTER on both VMs it still worked OK, didn't get the ttl error and transitioned to the right status. So I assume that I probably messed up the setup in the first place and now it is configured and works as expected. |
This isn't the real question to be asking. With the configuration you have, you do have 2 VMs in different subnets serving the same virtual ip. What I think you need to be asking is how can you route to the second VM when it becomes master. And I'm afraid that my answer is I don't know. I think you need to take a step back and set out what it is you are trying to achieve, and then it might be possible to work out a solution. |
Got it. Thanks! |
Hi,
I’m trying to create a virtual ip between 2 VMs that run on different subnets using dockerized keepalived (osixia/keepalived:1.4.5) with unicast vrrp messages.
Unfortunately the vrrp messages are dropped due to the ttl value since the packet is routed from a remote subnet (log snippet from VM1):
If I understand correctly this changelog description the issue should have been handled since Release 1.2.10 (source: http://www.keepalived.org/changelog.html) :
Should this really work out of the box or should I configure somehow the ttl sanity check?
My setup:
VM1 ip: 172.31.245.109
VM2 ip: 172.31.205.162
Virtual ip: 172.31.245.10
VM1 keepalived.conf:
VM2 keepalived.conf:
Thanks!
The text was updated successfully, but these errors were encountered: