Sysctl – Correct ARP Response Parameter

arpsysctl

I have a server that has some VMs, but the VMs can't communicate properly with the server because the server has several interfaces, and it responds on the wrong one.

Q: We know that there is a kernel parameter that can ensure that ARP responses will come only from that interface where the request went. What is that sysctl setting?

Server is Debian machine.

Best Answer

You need to execute:

sysctl -w net.ipv4.conf.all.arp_filter=1

This can be useful reading: Multiple network interfaces and ARP flux

Related Question