Code Monkey home page Code Monkey logo

Comments (6)

pqarmitage avatar pqarmitage commented on July 4, 2024

After you restart the NIC can you please run tcpdump with filter "proto 112" (i.e. the VRRP protocol) on the system on which you restarted the NIC?

What happens if you do:

ip link set <src-nic> down
sleep 10
ip link set <src-nic> up

Does that work for you or not?

I don't experience a problem when doing the above, so it will be interesting to know what happens for you.

Also, after you have done the ifdown/ifup, can you ping the unicast-peer address from the master, and vice versa?

from keepalived.

bobbyz3g avatar bobbyz3g commented on July 4, 2024

After you restart the NIC can you please run tcpdump with filter "proto 112" (i.e. the VRRP protocol) on the system on which you restarted the NIC?

After I restart the NIC, tcpdump can capture the incoming "proto 112" package. But when I stop keepalived on another host, it will not send VRRP package, there is noting happend.

ip link set <src-nic> down
sleep 10
ip link set <src-nic> up

Does that work for you or not?

Yes, it works for me, host can become master.

Also, after you have done the ifdown/ifup, can you ping the unicast-peer address from the master, and vice versa?

Yes, I can ping the unicast-peer address from the master, and vice versa.

from keepalived.

pqarmitage avatar pqarmitage commented on July 4, 2024

Are you using the NetworkManager ifup/down, or the network-scripts ifup (in other words is /usr/sbin/ipup a link to /usr/libexec/nm-ifup or to /etc/sysconfig/network-scripts/ifup?

If you are using the NetworkManager version, can you try executing

nmcli connection load /etc/sysconfig/network-scripts/ifcfg-<src-nic>
nmcli connection down filename /etc/sysconfig/network-scripts/ifcfg-<src-nic>
sleep 10
nmcli connection up filename /etc/sysconfig/network-scripts/ifcfg-<src-nic>

and see if keepalived works properly after that.

from keepalived.

bobbyz3g avatar bobbyz3g commented on July 4, 2024

Are you using the NetworkManager ifup/down, or the network-scripts ifup (in other words is /usr/sbin/ipup a link to /usr/libexec/nm-ifup or to /etc/sysconfig/network-scripts/ifup?

It is link to /etc/sysconfig/network-scripts/ifup, not NetworkManager ifup/down

from keepalived.

pqarmitage avatar pqarmitage commented on July 4, 2024

Since you are using the NetworkManager versions of ifup/down, can you please try executing the following are advise what happens:

nmcli connection load /etc/sysconfig/network-scripts/ifcfg-<src-nic>
nmcli connection down filename /etc/sysconfig/network-scripts/ifcfg-<src-nic>
sleep 10
nmcli connection up filename /etc/sysconfig/network-scripts/ifcfg-<src-nic>

from keepalived.

bobbyz3g avatar bobbyz3g commented on July 4, 2024

Apologizes for the inconvenience, but I'm unable to provide further testing information at this time due to the removal of the testing environment. I will be closing this issue.

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.