hi,
I have for the external communication one bond0 with LACP configured (Cisco). bond0 is a trunk interface, with all VLANs I need. The problem is, that the external node address (for webinterface) is in the same VLAN, like I need for VMs. How should I configure Proxmox 3.2, that I can access the webinterface (vlan 555) and also configure a VM to use 555 (Web -> VM > Hardware > Network > VLAN), on the same bond0. I tested some variations, but they failed all.
The background is, that the VM must not be able to setup/configure a Vlan inside (apt-get install vlan ... and fire up ...) , for security reasons. So, in other words: The users inside the VM never sees anything else, than the configured VLAN -> no Trunk traffic inside the VM
I have a working cluster with 10 nodes (and growing), so migration must be possible.
Any suggestions?
Update
I have a new version, and it is working. Every VM which uses the same VLAN like the node, has to be drop into the vmbr1 bridge, all others uses the vmbr0. I hope, that it is ok, what I have done.
I have for the external communication one bond0 with LACP configured (Cisco). bond0 is a trunk interface, with all VLANs I need. The problem is, that the external node address (for webinterface) is in the same VLAN, like I need for VMs. How should I configure Proxmox 3.2, that I can access the webinterface (vlan 555) and also configure a VM to use 555 (Web -> VM > Hardware > Network > VLAN), on the same bond0. I tested some variations, but they failed all.
The background is, that the VM must not be able to setup/configure a Vlan inside (apt-get install vlan ... and fire up ...) , for security reasons. So, in other words: The users inside the VM never sees anything else, than the configured VLAN -> no Trunk traffic inside the VM
I have a working cluster with 10 nodes (and growing), so migration must be possible.
Any suggestions?
Update
I have a new version, and it is working. Every VM which uses the same VLAN like the node, has to be drop into the vmbr1 bridge, all others uses the vmbr0. I hope, that it is ok, what I have done.
Code:
# Webinterface ueber v601
auto bond0.601
iface bond0.601 inet manual
vlan-raw-device bond0
auto vmbr0
iface vmbr0 inet manual
bridge_ports bond0
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet static
address 1.2.3.4
netmask 255.255.255.128
gateway 1.2.3.254
bridge_ports bond0.601
bridge_stp off
brdige_fd 0
Last edited: