Hello all,
I am very new to Proxmox, having come from the VMware world. On my ESXi hypervisor my server's mgmt interface sits on one vlan and the vms sit on another vlan. I also employ DHCP, with a MAC reservation, for the mgmt IP. Since I am new to Proxmox I understand that the network configuration is within /etc/network/interfaces file. Here is a copy of it:
auto lo
iface lo inet loopback
iface eno1 inet manual
auto vmbr0
iface vmbr0 inet manual
# address 192.168.1.5/24
# gateway 192.168.1.1
bridge-ports eno1
bridge-stp on
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 30
auto vmbr0.1
iface vmbr0.1 inet static
address 192.168.1.5/24
gateway 192.168.1.1
As you can see I have setup vlan 30, which is my vm vlan. In my network vlan 30 is 192.168.2.96/27. Do I need to specify anything for vmbr0 to lay out vlan 30 or will this be automatically done? Can I change iface vmbr0.1 inet static to dhcp and remove the address and gateway lines, so the DHCP reservation kicks into effect?
Thanks,
Steve
I am very new to Proxmox, having come from the VMware world. On my ESXi hypervisor my server's mgmt interface sits on one vlan and the vms sit on another vlan. I also employ DHCP, with a MAC reservation, for the mgmt IP. Since I am new to Proxmox I understand that the network configuration is within /etc/network/interfaces file. Here is a copy of it:
auto lo
iface lo inet loopback
iface eno1 inet manual
auto vmbr0
iface vmbr0 inet manual
# address 192.168.1.5/24
# gateway 192.168.1.1
bridge-ports eno1
bridge-stp on
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 30
auto vmbr0.1
iface vmbr0.1 inet static
address 192.168.1.5/24
gateway 192.168.1.1
As you can see I have setup vlan 30, which is my vm vlan. In my network vlan 30 is 192.168.2.96/27. Do I need to specify anything for vmbr0 to lay out vlan 30 or will this be automatically done? Can I change iface vmbr0.1 inet static to dhcp and remove the address and gateway lines, so the DHCP reservation kicks into effect?
Thanks,
Steve