Stop VM's from Comunicating with each other.

tylerdurden81

Member
Jan 8, 2011
124
0
16
How can i make it so that the virtual machines in my cluster can not communicate with each other? I have tried setting up VLANS and that did not work. I tried PVLANS, VACL also with no avail. My other thought is that the virtual Switch must allow them to talk. Any help would be greatly aprceaciated.
 
So i was finally able to get this problem solved. One weird thing i noticed though (maybe it is not werid because i am not a linux guru) I have 3 nics in my nodes. One is vmbr0 for VM's to connect to the internet. eth1 connects to the storage. and eth2 is for management.
I have a config file like something like this.

# network interface settings
auto lo

iface lo inet loopback

auto eth0

iface eth0 inet static
address 192.168.20.85
netmask 255.255.255.0
gateway 192.168.20.1



auto vmbr0
iface vmbr0 inet static
address 192.168.3.104
netmask 255.255.255.0
gateway 192.168.3.1
bridge_ports eth1
bridge_stp off
bridge_fd 0

auto eth2

iface eth2 inet static
address 192.168.7.86
netmask 255.255.255.0
gateway 192.168.7.1


So lets say i physically unplug eth1 and eth2. I cant can still access the proxmox web interface on the ip addresses that are assigned to eth1 and eth2 even though they are phyiscallu unplugged and only eth0 is plugged in.


Normal?