No Networking After Upgrade to PVE 8

forbin

Member
Dec 16, 2021
32
5
13
44
Today I upgraded an older version of PVE 7 to the current version, rebooted, and everything went fine. Then I upgraded from the latest PVE 7 to PVE 8. Afterwards, the NICs do not come up. It also looks like it renamed the interfaces. How do I bring this thing back up?

# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65336 qdisk noqueue state UNKNOWN mode DEFAULT group dfault qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eno1np0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default glen 1000
link/ether bc:97:e1:c4:cc:40 brd ff:ff:ff:ff:ff:ff
altname enp25s0fOnp0
3: eno2npl: <BROADCAST,MULTICAST) mtu 1500 qdisc noop state DOWN mode DEFAULT group default glen 1000
link/ether bc:97:e1:c4:cc:41 brd ff:ff:ff:ff:ff:ff
altname enp25s0flnpl
4: ens1fOnp0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default glen 1000
link/ether e4:3d:1a:01:97:80 brd ff:ff:ff:ff:ff:ff
altname enp59s0fOnp0
5: ens1f1np1: <BROADCAST,MULTICAST> mtu 1500 qdlsc noop state DOWN mode DEFAULT group default glen 1000
link/ether e4:3d:1a:01:97:81 brd ff:ff:ff:ff:ff:ff
altname enp59s0f1np1
7: vmbr0: <NO-CARRIER,BROADCAST,NULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default glen 1000
link/ether 6a:da:d9:13:fc:2b brd ff:ff:ff:ff:ff:ff

# cat interfaces

# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

iface eno1np0 inet manual

auto enp59s0f0np0
iface enp59s0f0np0 inet manual

auto enp59s0f1np1
iface enp59s0f1np1 inet manual

auto bond0 iface bond0 inet manual
bond-slaves enp59s0f0np0 enp59s0f1np1
bond-miimon 100
bond-mode active-backup
bond-primary enp59s0f0np0

auto vmbr0
iface vmbr0 inet static
address 192.168.8.110/22
gateway 192.168.10.100
bridge-ports bond0 bridge-stp off
bridge-fd 0
 
  • Like
Reactions: donhwyo
forbin could you please share the contents of /etc/network/interfaces and /etc/hosts? While the .link might work in practice, it might not be fixing the underlying issue.
 
forbin could you please share the contents of /etc/network/interfaces and /etc/hosts? While the .link might work in practice, it might not be fixing the underlying issue.
Hi,


I shared the contents of /etc/network/interfaces in my OP.

Here is /etc/hosts...

root@vmhost52b:~# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.8.110 vmhost52b.mycharts.md vmhost52b

# The following lines are desirable for IPv6 capable hosts

::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
 
Did you write this manually? The O in ens1fOnp0 looks a bit suspicious.
 
Did you write this manually? The O in ens1fOnp0 looks a bit suspicious.
I only had console access to the server, so I could not copy and paste the output. I also didn't want to type the whole thing out by hand to post it here, so I took a picture of it and ran it through an online OCR process. The OCR mistook a lot of the zeroes for "ohs" and I had to change them back manually before posting it. I obviously missed that one. However, the actual file on the server is auto-generated and correct.
 

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!