Either cannot access KVM machines or cannot access internet

Jguy

New Member
Oct 8, 2014
1
0
1
I have currently a Proxmox host with 4 VZ containers and 2 KVM Machines.

The pveversion from the host:

Code:
root@sol:~# pveversion -v
proxmox-ve-2.6.32: 3.2-132 (running kernel: 2.6.32-31-pve)
pve-manager: 3.2-4 (running version: 3.2-4/e24a91c1)
pve-kernel-2.6.32-29-pve: 2.6.32-126
pve-kernel-2.6.32-31-pve: 2.6.32-132
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.5-1
pve-cluster: 3.0-12
qemu-server: 3.1-16
pve-firmware: 1.1-3
libpve-common-perl: 3.0-18
libpve-access-control: 3.0-11
libpve-storage-perl: 3.0-19
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-6
vzctl: 4.0-1pve5
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.7-8
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.2-1

Currently I have an issue and it seems to be based around what order the IP's are setup as either through the Proxmox Virtual Environment or through the actual VZ container in /etc/network/interfaces. Either I can't ping the KVM machines from that VZ Container or I can't reach the internet through that VZ container but the KVM pings fine.

So, if the private IP on venet0:2 with IP address 10.0.0.108 appears first in ifconfig or on the Proxmox Virtual Environment panel,

Host -> this VZ container OK
this VZ Container -> OpenVZ OK
KVM -> this VZ container OK
this VZ Container -> KVM OK
this VZ container -> Internet NOT OK
Internet -> OpenVZ Container OK

If the public internet IP appears first, then

Host -> OpenVZ OK
OpenVZ -> OpenVZ OK
KVM -> OpenVZ OK
OpenVZ -> KVM not OK
Internet -> OpenVZ OK
OpenVZ -> Internet OK
At this point I am extremely confused. I need all pings to work properly because on one of my OpenVZ Container lies my SQL server, and I would like to not have to expose that SQL server to the internet. The KVM machines are running Ubuntu, the OpenVZ Containers are running Debian.

BTW, IPv4 forwarding is enabled everywhere - it doesn't seem to affect anything if I enable or disable.

If I need to provide any more information, please ask.
Thank you for any assistance you can provide. I've been spending about a month on this with no luck.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!