have i wrecked my PVE by moving it to another vLAN?

Iacov

Member
Jan 24, 2024
38
0
6
hey

today i've created a separate vLAN for my servers
at first, i've assigned the new vlan tag and dhcp lease to my vm's...all flawless
then i changed the ipv4 and gateway info on my pve and rebooted
after correcting the vlan on the specific port of my switch, pve was reachable again, but my vms all report a 127.... adress

why don't they draw a dhcp lease? is there a typical setting in pve i could have missed?
what would be the usual steps to change a proxmox' ip and subnet?

i just want to make sure that it's nothing on proxmox' side while i investigate if i made an issue with my firewall rules or dhcp

thank you!
 
my /etc/network/interfaces looks like this after doing some more researh (added the vmbr0.2):

Code:
auto lo
iface lo inet loopback


iface eno1 inet manual


auto vmbr0.2
iface vmbr0.2 inet static
        address 192.168.2.11/24
        gateway 192.168.2.1


auto vmbr0
iface vmbr0 inet static
#       address 192.168.2.11/24
#       gateway 192.168.2.1
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 1-4094


iface wlp2s0 inet manual


source /etc/network/interfaces.d/*

my problem is, that proxmox is reachable via a trunk port now, but the vms only get 127... ip's and are not (v)lan aware at all it seems

what am i doing wrong, what do i have to change?
 
just an update - apparently the edit mentioned above did the trick
i think the vms just did take some time to realize that the port is trunkating now
all have received their correct ips
 

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!