My home server has two onboard 1Gbps interfaces and have added a PCI-E 4x 1Gbps network card and is running Proxmox 8.0.4, upgraded from Proxmox 7.x.
The hardware as reported by
The interfaces as reported by
The contents of
However, in the
I am not clear why both the interface name and the interface alternate name are being shown in the web interface.
Also, if I attempt to define a new Linux Bridge using the alternat name for an interface it errors as follows
Where the definition for
If I try and create
So, a few things.
The hardware as reported by
dmesg
Code:
root@proxmox:/etc/network# dmesg | grep -i ethernet
[ 2.275542] igb: Intel(R) Gigabit Ethernet Network Driver
[ 2.469170] igb 0000:04:00.0: Intel(R) Gigabit Ethernet Network Connection
[ 2.657115] igb 0000:04:00.1: Intel(R) Gigabit Ethernet Network Connection
[ 2.841172] igb 0000:05:00.0: Intel(R) Gigabit Ethernet Network Connection
[ 3.025164] igb 0000:05:00.1: Intel(R) Gigabit Ethernet Network Connection
[ 3.053149] igb 0000:0c:00.0: Intel(R) Gigabit Ethernet Network Connection
The interfaces as reported by
ip link
are
Code:
...
2: enp0s25: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 34:17:eb:ce:7a:a9 brd ff:ff:ff:ff:ff:ff
3: ens1f0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:1b:21:ca:6a:90 brd ff:ff:ff:ff:ff:ff
altname enp4s0f0
4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:1b:21:ca:6a:91 brd ff:ff:ff:ff:ff:ff
altname enp4s0f1
5: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:1b:21:ca:6a:94 brd ff:ff:ff:ff:ff:ff
altname enp5s0f0
6: ens1f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:1b:21:ca:6a:95 brd ff:ff:ff:ff:ff:ff
altname enp5s0f1
...
The contents of
/etc/network/interfaces
is
Code:
...
iface lo inet loopback
iface enp12s0 inet manual
iface enp0s25 inet manual
iface enp4s0f0 inet manual
iface enp4s0f1 inet manual
iface enp5s0f0 inet manual
iface enp5s0f1 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.4.128/22
gateway 192.168.4.1
bridge-ports enp12s0
bridge-stp off
bridge-fd 0
However, in the
System/Network
web interface of Proxmox it shows the following.I am not clear why both the interface name and the interface alternate name are being shown in the web interface.
Also, if I attempt to define a new Linux Bridge using the alternat name for an interface it errors as follows
Code:
root@proxmox:/etc/network# ifreload -a
error: vmbr1: bridge port enp4s0f0 does not exist
warning: vmbr1: apply bridge ports settings: bridge configuration failed (missing ports)
Where the definition for
vmbr1
created in the web interface is
Code:
...
auto vmbr1
iface vmbr1 inet static
address 192.168.100.0/24
bridge-ports enp4s0f0
bridge-stp off
bridge-fd 0
#WAN
If I try and create
vmrb1
using ens1f0
which is the underlying interface name it succeds.So, a few things.
- I don't understand how Linux is naming these interfaces...
- I thought I could use the
enp
version of interface for consistency regardless of whether its onboard or on the addon - I don't understand why Proxmox is showing both names of an interface
- I don't understand why Proxmox persists both names of an interface in
/etc/network/interfaces
when you make changes in the web interface - I can't find any remnants from Proxmox 7.x that should have been removed as part of the Proxmox 8.x upgrade.
Last edited: