[SOLVED] Network problem after upgrade 6 to 7

hregis

Well-Known Member
Feb 11, 2011
49
0
46
France
www.inodbox.com
Hello,

Following the update from Proxmox 6 to 7, I followed a whole bunch of procedures and advice, but I can't get the network cards to work, I have error messages constantly scrolling (see all in down) and even by modifying the config of the interfaces to the bare minimum, like a first install, I don't have access from the outside. I specify that I installed "ifupdown2" as recommended by Proxmox 7 below is my setup. Do you have any info on this problem?
thank you

------------------------------------
auto lo
iface lo inet loopback

iface eno1 inet manual hwaddress d0:50:99:da:df:ed

auto eno2
iface eno2 inet manual
hwaddress d0:50:99:da:df:ec
ovs_type OVSPort
ovs_bridge vmbr1

auto vlan_cluster
iface vlan_cluster inet static
address 10.100.100.10/24
hwaddress d0:50:99:da:df:ec
ovs_type OVSIntPort
ovs_bridge vmbr1
ovs_options tag=100

auto vlan_interne
iface vlan_interne inet static
address 172.31.255.220/12
hwaddress d0:50:99:da:df:ec
ovs_type OVSIntPort
ovs_bridge vmbr1
ovs_options tag=50
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s 172.16.0.0/12 ! -d 172.16.0.0/12 -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s 172.16.0.0/12 ! -d 172.16.0.0/12 -o vmbr0 -j MASQUERADE

auto vmbr0
iface vmbr0 inet static
address 51.210.XXX.XX/24
gateway 51.210.XXX.254
hwaddress d0:50:99:da:df:ed
bridge-ports eno1
bridge-stp off
bridge-fd 0

iface vmbr0 inet6 static
address 2001:41d0:0303:e026::/64
hwaddress d0:50:99:da:df:ed
post-up /sbin/ip -f inet6 route add 2001:41d0:0303:efff:ff:ff:ff:ff dev vmbr0
post-up /sbin/ip -f inet6 route add default via 2001:41d0:0303:efff:ff:ff:ff:ff
pre-down /sbin/ip -f inet6 route del default via 2001:41d0:0303:efff:ff:ff:ff:ff
pre-down /sbin/ip -f inet6 route del 2001:41d0:0303:efff:ff:ff:ff:ff dev vmbr0

auto vmbr1
iface vmbr1 inet manual
hwaddress d0:50:99:da:df:ec
ovs_type OVSBridge
ovs_ports eno2 vlan_cluster vlan_interne

------------------------------------------------------

Error message in loop !


Jul 23 17:27:06 ns3178909 kernel: [ 118.908454] device eth1 left promiscuous mode
Jul 23 17:27:06 ns3178909 kernel: [ 118.913721] device eth1 entered promiscuous mode
Jul 23 17:27:06 ns3178909 kernel: [ 118.925826] device eth1 left promiscuous mode
Jul 23 17:27:06 ns3178909 kernel: [ 118.931078] device eth1 entered promiscuous mode
Jul 23 17:27:06 ns3178909 kernel: [ 118.942589] device eth1 left promiscuous mode
Jul 23 17:27:06 ns3178909 kernel: [ 118.947856] device eth1 entered promiscuous mode
Jul 23 17:27:06 ns3178909 kernel: [ 118.959659] device eth1 left promiscuous mode
Jul 23 17:27:06 ns3178909 kernel: [ 118.964913] device eth1 entered promiscuous mode
Jul 23 17:27:06 ns3178909 kernel: [ 118.976571] device eth1 left promiscuous mode
Jul 23 17:27:06 ns3178909 kernel: [ 118.981829] device eth1 entered promiscuous mode
Jul 23 17:27:06 ns3178909 kernel: [ 118.993791] device eth1 left promiscuous mode
Jul 23 17:27:06 ns3178909 kernel: [ 118.999378] device eth1 entered promiscuous mode
Jul 23 17:27:06 ns3178909 kernel: [ 119.010656] device eth1 left promiscuous mode
Jul 23 17:27:06 ns3178909 kernel: [ 119.015966] device eth1 entered promiscuous mode
Jul 23 17:27:06 ns3178909 kernel: [ 119.027479] device eth1 left promiscuous mode
Jul 23 17:27:06 ns3178909 kernel: [ 119.032731] device eth1 entered promiscuous mode
Jul 23 17:27:06 ns3178909 kernel: [ 119.044308] device eth1 left promiscuous mode
 
Hi @spirit

I think I know where it came from, when updating from 6 to 7 I was asked if I wanted to replace the "/etc/default/grub" file with the new version or keep the current version, and like I had no info on the subject, I replaced the current version. It seems to me that in this file we can define the name of the interfaces (enoX or ethX)? How can I correct and put back "enoX"?

Thanks a lot
 
The solution is simple, remove these two parameters from "GRUB_CMDLINE_LINUX_DEFAULT" in "/etc/default/grub"

Code:
biosdevname=0
net.ifnames=0

thhen run an "update_grub2" and edit the "/etc/network/interfaces" file to replace "ethX" with "enoX"

I am closing this thread
thank you
 
Hi,I may have the same problem but not finding these two parameters. I followed also a whole bunch of procedures and advices and most are saying that eth0 is preserved if updated from a version 5. And that's my case.
On the other hand I am not finding ifupdown2 too as it is not been installed while upgraded.

Any advices please?
 
Last edited:

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!