VLAN IP assigning to proxmox for GUI and VMs?

ZooKeeper

Active Member
Aug 5, 2020
58
3
28
35
I have pfsense which has two nic I use for internal stuff. One is 10g NIC which is connected to 10 G switch 8 port TP-Link TL-SX1008 (unmanaged switch). I have assigned vlan ID of 70 on that NIC with main ip in 10 range. So any thing connect to that switch get 10.0.10.100 to 200 ip. Now, I want my proxmox to be on vlan id of 70 when I connect to 10G switch. I have static ip for proxmox - 10.0.70.100 (content for /etc/network/interfaces below). But I can't access GUI at all using that. I am sure I am doing something wrong.

Code:
auto lo

iface lo inet loopback
iface eno2 inet manual

iface enp8s0 inet manual

auto vmbr0

iface vmbr0 inet static

               address 10.0.70.100/24

               gateway 10.0.70.1

               bridge-ports eno2

               bridge-stp off

               bridge-fd 0

               bridge-vlan-aware yes

               bridge-vids 2-4094


Any Suggestion? Thank you for reading.
 
If your Proxmox host should use the VLAN ID 70 for WebUI you should try something like this:
Code:
auto vmbr0
iface vmbr0 inet manual
               bridge-ports eno2
               bridge-stp off
               bridge-fd 0
               bridge-vlan-aware yes
               bridge-vids 2-4094
             
auto vmbr0.70
iface vmbr0.70 inet static
               address 10.0.70.100/24
               gateway 10.0.70.1
 
  • Like
Reactions: ZooKeeper