Moving from ESXi to Proxmox finally.. but the network config has (also) me a bit stumped. Also first post...
I have a bunch of tagged VLANs on the Ethernet to my Proxmox and I need to
So how can pass through full trunks into VMs while having a Promox IP also on one or more of them VLANs?
I have a bunch of tagged VLANs on the Ethernet to my Proxmox and I need to
- Get Proxmox to have IPs on a few of these VLANs (management and NFS storage)
- Pass through full trunks to a few VMs
- Pass individual VLANs to many VMs
- eno1np0 is the physical interface
- vmbr0 has eno1np0 as the only slave, naturally no IP, just VMs that need a full trunk
- eno1np0.1 is VLAN 1
- vmbr1 has eno1np0.1 as slave and no IP, just many VMs
- eno1np0.40 is VLAN 40 needed by Proxmox
- vmbr40 has eno1np0.40 as slave and has IP of 10.0.40.1
So how can pass through full trunks into VMs while having a Promox IP also on one or more of them VLANs?
Code:
iface eno1np0 inet manual
auto eno1np0.1
iface eno1np0.1 inet manual
auto eno1np0.40
iface eno1np0.40 inet manual
auto vmbr0
iface vmbr0 inet manual
bridge-ports eno1np0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr1
iface vmbr1 inet manual
bridge-ports eno1np0.1
bridge-stp off
bridge-fd 0
auto vmbr40
iface vmbr40 inet manual
address 10.0.40.112/24
bridge-ports eno1np0.40
bridge-stp off
bridge-fd 0