Proxmox GUI does'nt show interfaces from /etc/network/interfaces

Yanux

New Member
Apr 9, 2022
2
0
1
France
yanux.info
Hi !

I'm working on installing and configure some proxmox homeservers using Ansible.
I have 2 playbooks :
First install Promox over Debian
Second set-up networks by writing in /etc/network/interfaces

Between playbooks, Proxmox GUI show correctly some networks.
After the second playbook and a reboot, network screen is empty.

Created networks works fine, but I ca'nt use them for proxmox cluster or VM.
ifreload -a show no errors

I do'nt now why Proxmox do'tn see them, or how update GUI screen...
Thanks if you have an idea !


/etc/network/interfaces :
Bash:
# 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!

# BEGIN CONFIGURATION OF lo
auto lo
iface lo inet loopback
# END CONFIGURATION OF lo
# BEGIN CONFIGURATION OF enp11s0
auto enp11s0
iface enp11s0 inet manual
# END CONFIGURATION OF enp11s0
# BEGIN CONFIGURATION OF enp9s0
auto enp9s0
iface enp9s0 inet manual
# END CONFIGURATION OF enp9s0
# BEGIN CONFIGURATION OF vmbr0
auto vmbr0
iface vmbr0 inet static
        hwaddress 70:85:c2:88:a3:a7
        address 192.168.1.50/24
        gateway 192.168.1.254
        dns-nameservers 127.0.0.1 192.168.1.254 8.8.8.8
        bridge-ports enp11s0
        bridge-stp off
        bridge-fd 0
#INTERNET
# END CONFIGURATION OF vmbr0
# BEGIN CONFIGURATION OF vmbr1
auto vmbr1
iface vmbr1 inet static
        hwaddress 00:8e:25:79:01:ae
        address 10.0.10.10/24

        bridge-ports enp9s0
        bridge-stp off
        bridge-fd 0
#SAN
# END CONFIGURATION OF vmbr1

ip -a :
Bash:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp9s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr1 state UP group default qlen 1000
    link/ether 00:8e:25:79:01:ae brd ff:ff:ff:ff:ff:ff
3: enp11s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
    link/ether 70:85:c2:88:a3:a7 brd ff:ff:ff:ff:ff:ff
4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 70:85:c2:88:a3:a7 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.50/24 scope global vmbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::7285:c2ff:fe88:a3a7/64 scope link
       valid_lft forever preferred_lft forever
5: vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:8e:25:79:01:ae brd ff:ff:ff:ff:ff:ff
    inet 10.0.10.10/24 scope global vmbr1
       valid_lft forever preferred_lft forever
    inet6 fe80::28e:25ff:fe79:1ae/64 scope link
       valid_lft forever preferred_lft forever
 

Attachments

  • Screenshot 2022-04-09 at 17-11-03 VIRTU - Proxmox Virtual Environment.png
    Screenshot 2022-04-09 at 17-11-03 VIRTU - Proxmox Virtual Environment.png
    170.2 KB · Views: 16
hi,

what are the file permissions of /etc/network/interfaces? could you check with ls -l /etc/network/interfaces ?

normally it should look like this:
Code:
$ ls -l /etc/network/interfaces
-rw-r--r-- 1 root root 850 Jul  6  2021 /etc/network/interfaces

if you see something else other than -rw-r--r-- and root root for the owners, try the following:
Code:
chown root.root /etc/network/interfaces
chmod 644 /etc/network/interfaces

and refresh the web gui.

hope this helps!
 

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!