OpenVZ Forum

Home » Mailing lists » Users » proxy_arp setting on host
proxy_arp setting on host [message #48425] Wed, 17 October 2012 12:51 Go to next message
Dmitrijs Jerihovs is currently offline  Dmitrijs Jerihovs
Messages: 1
Registered: October 2012
Junior Member

Can someone explain when i need to use proxy_arp enabled on OpenVZ host and
why ?
Re: proxy_arp setting on host [message #48616 is a reply to message #48425] Thu, 25 October 2012 10:55 Go to previous message
Solar Designer is currently offline  Solar Designer
Messages: 5
Registered: August 2011
Junior Member
On Wed, Oct 17, 2012 at 03:51:25PM +0300, Dmitrijs Jerihovs wrote:
> Can someone explain when i need to use proxy_arp enabled on OpenVZ host and
> why ?

Looks like no one has replied, so let me try.

In my experience, proxy_arp may need to be enabled when a container is
assigned an IP address not in a network that the host has a static route
for on one of its interfaces. Configuring such static routes appears to
be a better approach.

For example, if your server is initially on, and thus
it has this network configured on its eth0, you may proceed to use IPs
in this /24 for containers with no issues and no magic needed. However,
if at a later time you need to use e.g. for a container,
you might have issues unless you either enable proxy_arp or add a static
route on the host's eth0 for a network containing (e.g.,
for or whatever network address and netmask is right).

I observed this behavior on RHEL5'ish OpenVZ kernels.

Previous Topic: Proxmox VE 2.2 released, including a new OpenVZ console
Next Topic: libcgroup issue for EL5 users
Goto Forum:

Current Time: Fri Sep 30 07:14:07 GMT 2022

Total time taken to generate the page: 0.00563 seconds