Hi,
my server with proxmox 7.3 has one 10GBit nic called ens6.
ens6 is a trunk from the core switch that transport many vlans (about 30).
I created ens6.10 (managment vlan) and bridged to vmbr0
Proxmox is accessible via vmbr0 with static ip
i made also ens6.20 and ens6.30, bridged respectively to vmbr20 and vmbr30 without any ip.
I attached these BRs to 2 VMs, so the VMs are connected to the right VLAN
So, for now is working fine.
Now i need to attach to a new VM (act as firewall) 'directly' to ens6 so in VM is possible to create the VLAN interface without create many bridges in proxmox and may vNIC in VM.
I made this configuration
But if i create a VLAN interface in VM, i do not see traffic.
Have you any ideas ?
Thanks
Sk3
my server with proxmox 7.3 has one 10GBit nic called ens6.
ens6 is a trunk from the core switch that transport many vlans (about 30).
I created ens6.10 (managment vlan) and bridged to vmbr0
Proxmox is accessible via vmbr0 with static ip
i made also ens6.20 and ens6.30, bridged respectively to vmbr20 and vmbr30 without any ip.
I attached these BRs to 2 VMs, so the VMs are connected to the right VLAN
Code:
auto ens6
iface ens6 inet manual
auto ens6.10
iface ens6.10 inet manual
auto ens6.20
iface ens6.20 inet manual
auto ens6.30
iface ens6.30 inet manual
auto vmbr1
iface vmbr1 inet static
address 192.168.0.46/24
gateway 192.168.0.254
bridge-ports ens6.10
bridge-stp off
bridge-fd 0
#LAN
auto vmbr2
iface vmbr2 inet manual
bridge-ports ens6.20
bridge-stp off
bridge-fd 0
auto vmbr3
iface vmbr3 inet manual
bridge-ports ens6.30
bridge-stp off
bridge-fd 0
Code:
# brctl show
bridge name bridge id STP enabled interfaces
vmbr1 8000.04d9f5c1052a no ens6.10
vmbr2 8000.04d9f5c1052a no ens6.20
tap107i1
vmbr3 8000.04d9f5c1052a no ens6.30
tap108i1
So, for now is working fine.
Now i need to attach to a new VM (act as firewall) 'directly' to ens6 so in VM is possible to create the VLAN interface without create many bridges in proxmox and may vNIC in VM.
I made this configuration
Bash:
auto vmbr1000
iface vmbr1000 inet manual
bridge-ports ens6
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
#GLOBAL VLAN
Code:
bridge name bridge id STP enabled interfaces
vmbr1000 8000.04d9f5c1052a no ens6
tap122i1
But if i create a VLAN interface in VM, i do not see traffic.
Have you any ideas ?
Thanks
Sk3