[SOLVED] VLAN management and same vlan on vm not working

rvdk92

Member
Nov 8, 2020
67
3
13
32
Hello,

I would like configure my manegement LAN on a VLAN 123 and also 1 virtual machine.

when i configured if start up the server, its works.. but when i restart network or restart the server nothing work and can't access, i get the error in the attachemnd.. who can help me?

I have configured my proxmox server as following:

Code:
auto lo

iface lo inet loopback

auto eno5

iface eno5 inet manual

iface eno1 inet manual

iface eno2 inet manual

iface eno3 inet manual

iface eno4 inet manual

auto eno6

iface eno6 inet manual

iface enp1s0f4u4 inet manual

auto bond0
iface bond0 inet manual
        bond-slaves eno5 eno6
        bond-miimon 100
        bond-mode balance-rr

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

auto vmbr0.123
iface vmbr0.123 inet static
        address 10.1.123.11/24
        gateway 10.1.123.1

and in the VM:

Code:
net0 : virtio=D6:1F:82:1D:C4:F9,bridge=vmbr0,tag=123
 

Attachments

  • Fout networking.png
    Fout networking.png
    178.1 KB · Views: 5
Last edited:
I have now configured as this way, can anybody confirm this is the best solution for me?

Code:
auto lo
iface lo inet loopback

auto eno5
iface eno5 inet manual

iface eno1 inet manual

iface eno2 inet manual

iface eno3 inet manual

iface eno4 inet manual

auto eno6
iface eno6 inet manual

iface enp1s0f4u4 inet manual

auto bond0
iface bond0 inet manual
        bond-slaves eno5 eno6
        bond-miimon 100
        bond-mode balance-rr

auto bond0.123 inet manual

auto vmbr0
iface vmbr0 inet manual
        bridge-ports bond0
        bridge-stp off
        bridge-fd 0

auto vmbr0v123
iface vmbr0v123 inet static
        address 10.1.123.11/24
        gateway 10.1.123.1
        bridge-ports bond0.123
        bridge-stp off
        bridge-fd 0

and for the virtual machine:

Code:
net0 : virtio=D6:1F:82:1D:C4:F9,bridge=vmbr0,tag=123

now sometimes only the ping from or to the virtual machine is dropped, but not to management ip. is this the right way?
 
Please, can anybody help me out?

I don't understeand this problem.. above it seems to work.. but nog good i think.

Now i have virtual machines.. i tag VLAN30 they also in my switch and router, i get a ip address on the virtual machines in the subnet from dhcp of the vlan but can't ping or internet access?? i have this with all of the vlans.. what do i wrong?
 
Last edited:
do you have tried with a simple active-backup bond in instead balance-rr ?
(active-backup && lacp are the only 2 really 100% stable bonded mode)
Yes many thanks hero!!!! this works like a charm with active-backup and lacp also!! many thanks!
 

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!