-
-
Notifications
You must be signed in to change notification settings - Fork 732
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
Issue with interface ip and vip subnet #2432
Comments
Please provide a full copy of your keepalived configuration file so that we can test it. |
Hi, ` vrrp_instance enp2s1-1 { It is giving issue with enp2s1, for other interfaces it is aligned with the configuration, enp2s1 has got 192.168.237.95/24 from DHCP. #ip l l 2: enp2s1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 4000 |
I am a bit surprised by your configuration since you have configured I have tried your configuration with v1.2.24 and I do not see the problem, i.e. 192.168.237.90 has a /24 subnet mask. You state that the problem does not exist with the VIPs on the other interfaces. I note that the VIPs either already have a /32 subnet mask, or have a /16 subnet mask which is shorted that the /24 address configured on the interface. Could you please run |
Also the full logs of keepalived since it started would help |
Hi,
I am getting an issue with keepalived version 1.2.24. I have configured interface with an /24 ip address. Then I have configured vip of that interface with another /24 ip address, configuration was fine in keepalived.conf. But in the kernel vip is getting configured with /32 ip address for the vip. I am getting same behavior if interface gets ip address from dhcp ( that means if I configure dhcp in the interface not static ip).
The issue does not arise if I configure vip first and then assign ip address to the interface. Is there any dependency with the sequence of programming ip address to interface?
Thanks
Subhajit
The text was updated successfully, but these errors were encountered: