Hi, today i upgrade 2 servers with proxmox 5 to 6 version.
After restart server vlan stop working, when i try ifup:
Enp5s0 interface working.
My config:
What a problem with vlan?
After restart server vlan stop working, when i try ifup:
Code:
sudo ifup enp5s0.4000
RTNETLINK answers: File exists
ifup: failed to bring up enp5s0
ifup: could not bring up parent interface enp5s0
My config:
Code:
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto enp5s0
iface enp5s0 inet static
address ip
netmask 255.255.255.248
gateway gateway_ip
up route add -net my_ip netmask 255.255.255.248 gw gw_ip dev enp5s0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up echo 1 > /proc/sys/net/ipv4/conf/eno1/proxy_arp
auto vmbr0
iface vmbr0 inet static
address 10.2.1.1
netmask 255.255.255.0
bridge-ports none
bridge-stp off
bridge-fd 0
auto enp5s0.4000
iface enp5s0.4000 inet static
address 10.2.0.1
netmask 255.0.0.0
mtu 1400
vlan-raw-device enp5s0