[Users] How to assign a public IP to a VE ?

Gary Wallis ggw at unixservice.com
Fri Oct 28 22:29:14 EDT 2011


Sounds like a general networking vlan and/or bonding issue. But make 
sure that these /etc/vz/vz.conf parameters are set correctly:

# The name of the device whose IP address will be used as source IP for CT.
# By default automatically assigned.
#VE_ROUTE_SRC_DEV="eth0"

# Controls which interfaces to send ARP requests and modify APR tables on.
#NEIGHBOUR_DEVS=detect

## Fail if there is another machine in the network with the same IP
ERROR_ON_ARPFAIL="no"


Also check the output of

# route -n

Make sure default gw (0.0.0.0) is on the correct device and that this 
device is plugged into the correct switch port.


More information about the Users mailing list