vm on same vlan as the proxmox host

Han Boetes

Active Member
Jun 21, 2018
20
3
43
56
Hi there,

I have a host with a config like this:
Code:
auto lo
iface lo inet loopback

iface eno2 inet manual

auto vlan60
iface vlan60 inet static
        address  10.10.60.230
        netmask  255.255.255.0
        gateway  10.10.60.1
        vlan_raw_device eno2
        metric 10

auto vmbr0
iface vmbr0 inet manual
        bridge-ports eno2
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

And now I can have clients in any VLAN, but not in VLAN 60.

I also tried with this setup and I get the same result.
Code:
auto lo
iface lo inet loopback

iface eno2 inet manual
iface eno2.60 inet manual

auto vmbr0v60
iface vmbr0v60 inet static
        address  10.10.60.230/24
        gateway  10.10.60.1
        bridge-ports eno2.60
        bridge-stp off
        bridge-fd 0

auto vmbr0
iface vmbr0 inet manual
        bridge-ports eno2
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

How can I make it work, so that I can have VMs in the same VLAN as the proxmox host?
 
I also have this problem, and these are my config that I have tried

Code:
auto lo
iface lo inet loopback

iface enp11s0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.2.2/24
        gateway 192.168.2.1
        bridge-ports enp11s0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

auto vmbr0.10
iface vmbr0.10 inet static
        address 192.168.1.10/24

With this config, everytime I start a guest OS, the host stopped responding.

Code:
auto lo
iface lo inet loopback

iface enp11s0 inet manual

auto enp11s0.10
iface enp11s0.10 inet static
        address 192.168.1.10/24

auto vmbr0
iface vmbr0 inet static
        address 192.168.2.2/24
        gateway 192.168.2.1
        bridge-ports enp11s0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

With this config, host is safe, and can be accessed at all times, but the guest VM cannot connect to network.

The IP 192.168.2.2 is always connected though.
 
Last edited: