Code Monkey home page Code Monkey logo

Comments (3)

tuanvd10 avatar tuanvd10 commented on June 6, 2024

I also add this param into /etc/sysctl.d/99-sysctl.conf and run sysctl -p command but problem still happen

net.ipv4.ip_nonlocal_bind=1
net.ipv4.conf.all.arp_ignore=1
net.ipv4.conf.all.arp_announce=1

from keepalived.

tuanvd10 avatar tuanvd10 commented on June 6, 2024

Log keepalived, using systemctl status keepalived command

● keepalived.service - LVS and VRRP High Availability Monitor
   Loaded: loaded (/usr/lib/systemd/system/keepalived.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2023-10-04 10:06:02 +07; 6s ago
  Process: 6486 ExecStart=/usr/sbin/keepalived $KEEPALIVED_OPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 6487 (keepalived)
   CGroup: /system.slice/keepalived.service
           ├─6487 /usr/sbin/keepalived -D
           ├─6488 /usr/sbin/keepalived -D
           └─6489 /usr/sbin/keepalived -D

Oct 04 10:06:03 3986fc97-adae-4c36-a24d-a08cc0e0d762 Keepalived_vrrp[6489]: VRRP_Instance(VI_1) Changing effective priority from 100 to 102
Oct 04 10:06:04 3986fc97-adae-4c36-a24d-a08cc0e0d762 Keepalived_vrrp[6489]: VRRP_Instance(VI_1) Entering MASTER STATE
Oct 04 10:06:04 3986fc97-adae-4c36-a24d-a08cc0e0d762 Keepalived_vrrp[6489]: VRRP_Instance(VI_1) using locally configured advertisement interval (1000 milli-sec)
Oct 04 10:06:04 3986fc97-adae-4c36-a24d-a08cc0e0d762 Keepalived_vrrp[6489]: VRRP_Instance(VI_1) setting protocol VIPs.
Oct 04 10:06:04 3986fc97-adae-4c36-a24d-a08cc0e0d762 Keepalived_vrrp[6489]: Sending gratuitous ARP on eth0 for 10.55.123.9
Oct 04 10:06:04 3986fc97-adae-4c36-a24d-a08cc0e0d762 Keepalived_vrrp[6489]: VRRP_Instance(VI_1) Sending/queueing gratuitous ARPs on eth0 for 10.55.123.9
Oct 04 10:06:04 3986fc97-adae-4c36-a24d-a08cc0e0d762 Keepalived_vrrp[6489]: Sending gratuitous ARP on eth0 for 10.55.123.9
Oct 04 10:06:04 3986fc97-adae-4c36-a24d-a08cc0e0d762 Keepalived_vrrp[6489]: Sending gratuitous ARP on eth0 for 10.55.123.9
Oct 04 10:06:04 3986fc97-adae-4c36-a24d-a08cc0e0d762 Keepalived_vrrp[6489]: Sending gratuitous ARP on eth0 for 10.55.123.9
Oct 04 10:06:04 3986fc97-adae-4c36-a24d-a08cc0e0d762 Keepalived_vrrp[6489]: Sending gratuitous ARP on eth0 for 10.55.123.9

from keepalived.

pqarmitage avatar pqarmitage commented on June 6, 2024

I have tested your configuration using v1.3.5 and ping 10.55.123.9 works for me. I suspect this is not a keepalived issue, since the address is being added to interface eth0.

I suggest you try this without using keepalived by executing ip addr add 10.55.123.9/24 dev eth0 and then seeing if the ping and telnet work.

You will probably need to check things like your firewall (iptables), routing etc. You might find wireshark/tcpdump helps you see what is happening. Tools like traceroute can help see where packets are being dropped.

from keepalived.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.