Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 5 down vote accepted

You need to execute:

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

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

share|improve this answer
this will be only permament if I edit "/etc/sysctl.conf"? – LanceBaynes Feb 7 '12 at 14:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.