Vlan and prox

prox_usr

New Member
May 19, 2023
6
0
1
Hi, i'm new in proxmox environement.

I am trying to setup a vlan bridge with 2 VMs and it looks like it doesnt work... I'm pretty sure I did mistake but I can't figure it out without some help.

This is supposed to be simple, I created a new vmbr1 bridge where I checked the vlan aware box. I Put the interface of my choice in the Bridge ports field. In my case enp5s0f1 wich is a 10g fibre card.

Apply configuration.

Now in the VM section. I put the vlan tag for exemple vlan id : 600, choose the VirtIO model, no firewall and selected the bridge vmbr1.

Now inside the vm, ubuntu server, I set the right netplan configuration. *ip a* shows the good configuration.

Did the same thing in the next vm.

Result : both VMs can ping each other.

What should I do to troubleshoot it deeper? What am I missing? Need I reboot the proxmox server?

What informations do you guys need ?

Thank you very much !
 
- what subnet is vmbr0 (e.g. 192.168.1.0/24)
- what subnet is vmbr1

- after a network change you need to restart network service (button "Apply Configuration")
 
the op said the put the 1st VM in VLAN 600, then 'did the same thing in the next VM', so if they are both on VLAN 600 and both on vmbr1 then they should be able to ping each other. Hence my question.
 
  • Like
Reactions: Spoonman2002
the op said the put the 1st VM in VLAN 600, then 'did the same thing in the next VM', so if they are both on VLAN 600 and both on vmbr1 then they should be able to ping each other. Hence my question.

You are correct! My mistake...
Then what is the OP question? What is his problem?
 
Hi, i'm new in proxmox environement.

I am trying to setup a vlan bridge with 2 VMs and it looks like it doesnt work... I'm pretty sure I did mistake but I can't figure it out without some help.

This is supposed to be simple, I created a new vmbr1 bridge where I checked the vlan aware box. I Put the interface of my choice in the Bridge ports field. In my case enp5s0f1 wich is a 10g fibre card.

Apply configuration.

Now in the VM section. I put the vlan tag for exemple vlan id : 600, choose the VirtIO model, no firewall and selected the bridge vmbr1.

Now inside the vm, ubuntu server, I set the right netplan configuration. *ip a* shows the good configuration.

Did the same thing in the next vm.

Result : both VMs can ping each other.

What should I do to troubleshoot it deeper? What am I missing? Need I reboot the proxmox server?

What informations do you guys need ?

Thank you very much !

So...... what is your question exactly?
 
sry for late reply. Let me start over with a better description of the problem.


We have a dell server running proxmox 7.3-3.

Eno1 is plugged to internet and works like a charm. It is bridged with vmbr0 and all my VMs are setup with this ''vmbr0'' interface. So far so good

I purchassed a pci 10g sfp card wich is now installed in the proxmox server. Proxmox detect the card, and have a name let say : enp5s0f0

This card is plugged in the same switch as the port en01 and he link is up and running at 10gbps

I made another bridge, vmbr1 and this bridge has 1 interface, the enp5s0f0

If I choose a this new interface in a given VM, then there is no traffic flowing through.

I double check with iptraf-ng to be sure and NO, no traffic is passing.
I tried to replace the DAC cable with SFP, the pci card. I also tryed a different port to the switch, but no success still no traffic.

So the question before talking about VLAN is: Is there a special configuration to do in proxmox to make this straight forward thing work?
 
please share the file /etc/network/interfaces from your proxmox host
 
Code:
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

iface eno1 inet manual

iface eno2 inet manual

iface eno3 inet manual

iface eno4 inet manual

auto enp5s0f0
iface enp5s0f0 inet manual

iface enp5s0f1 inet manual

auto vmbr0
iface vmbr0 inet static
        address 10.99.1.12/25
        gateway 10.99.1.1
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

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

iface vmbr1.1530 inet static
        address 172.27.1.2/29


I'm trying to debug with vmbr1.1530. It will be removed after that.
 
Last edited:

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!