Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What would be the implications if we don't flush the neighbors for interface Mac address change event.
You have given no details at all about your system or what you're trying to do, and posting four lines of code with zero context is similarly meaningless. If you'd like to know the "background/history" of something, you are welcome to do your own research, rather than asking us to look it up for you.
Ask a clear question and provide relevant details and we may be able to help with your problem.
I am currently working on a Linux-based edge router (ER) router deployment, which utilizes the VRRP protocol for high availability. During my work, I encountered a scenario where the ER, upon electing as master, replaces the original MAC address with a VMAC address (00:00:5e:00:01:<VRID>). This action triggers the kernel to flush the neighbor caches, subsequently rendering static routes inactive and causing data traffic loss for a brief period, approximately 10 seconds.
In seeking to better understand this behavior, I am curious about the necessity of flushing the neighbor cache upon a MAC address change to the interface, especially when it is not relevant to any neighbor MAC address (i.e., the MAC change is local to the interface). I am interested in exploring whether there are any potential issues or implications if we opt not to flush the cache on such MAC address changes.
I would greatly appreciate any insights on this matter.
Thank you very much for your attention to this inquiry. I look forward to your response.
Hi, that is interesting.
Understand that is likely a business and you can only provide perhaps a limited amount of info.
But could you please inform on OS,kernel and routing software used?
The case I can think of is taking over the MAC of some other device. So just flush instead of walking through the ARP cache and try to figure out what needs to change. There is no way that flushing should cause significant delays on the network. ARP updates are done in parallel.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.