I followed the wiki article (http://pve.proxmox.com/wiki/Network_Model#Routed_Configuration) for routed configuration. By default my host gives eth0 as internal, and eth1 as the public IP. Using udev I changed this around so it's eth0 as the public IP, and eth1 as the internal.
With that in mind, I'm having a issue with routing. My OpenVZ guests can ping each other, but they can't route outside the network. I'm not sure what gateway to use, but I tried 192.168.1.1, and 74.86.186.30.
Below is my interfaces file:
From /etc/pve/openvz/102.conf (I only snipped the networking parts)
With that in mind, I'm having a issue with routing. My OpenVZ guests can ping each other, but they can't route outside the network. I'm not sure what gateway to use, but I tried 192.168.1.1, and 74.86.186.30.
Below is my interfaces file:
Code:
auto eth1
iface eth1 inet static
address 10.17.209.58
netmask 255.0.0.0
auto eth0
iface eth0 inet static
address 74.86.186.30
netmask 255.255.255.192
gateway 74.86.186.1
post-up echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
auto vmbr0
iface vmbr0 inet static
address 192.168.1.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
From /etc/pve/openvz/102.conf (I only snipped the networking parts)
Code:
HOSTNAME="v2-test"
NAMESERVER="8.8.8.8 10.0.80.12"
IP_ADDRESS="192.168.1.3"
VE_ROOT="/var/lib/vz/root/$VEID"
VE_PRIVATE="/var/lib/vz/private/102"
OSTEMPLATE="ubuntu-10.04-standard_10.04-4_amd64.tar.gz"
NETIF="ifname=network,bridge=vmbr0,mac=3A:D3:96:61:91:43,host_ifname=veth102.0,host_mac=9A:47:B1:05:5B:A6"