cannot access pve web everytime after reboot

helj15798

New Member
May 13, 2021
8
0
1
34
Everytime after reboot the server, I cannot access the proxmox web UI.

However, after running the following two commands, I can access the web UI.
dhclient -r vmbr0
dhclient vmbro

Here is my /etc/network/interfaces
auto lo
iface lo inet loopback

iface enp68s0f0 inet manual

auto vmbr0
iface vmbr0 inet static
address 10.xx.xx.xx/17
gateway 10.xx.xxx.xxx
bridge_ports enp68s0f0
bridge_stp off
bridge_fd 0

iface enp68s0f1 inet manual

iface enp161s0f0 inet manual

iface enp161s0f1 inet manual

Could anyone tell me why do I need to release and obtain IP every time after server reboot?
How can I really address this issue?
 
  1. Can you only not connect to the GUI, or is the server entirely unreachable?
  2. Why would you obtain an IP address with DHCP, when there is a statically configured address?
  3. Is the statically configured address and gateway correct?
  4. Check before and after the DHCP request (after a reboot): ip a and ip r
    • is there a before/after difference?
    • What differs?
  5. If the problem persists: please provide the output of pveversion -v
 
Last edited:
  1. Can you only not connect to the GUI, or is the server entirely unreachable?
  2. Why would you obtain an IP address with DHCP, when there is a statically configured address?
  3. Is the statically configured address and gateway correct?
  4. Check before and after the DHCP request (after a reboot): ip a and ip r
    • is there a before/after difference?
    • What differs?
  5. If the problem persists: please provide the output of pveversion -v



1. Can you only not connect to the GUI, or is the server entirely unreachable?
The server is reachable. For a Datacenter with two nodes (e.g., node1 and node2), if I reboot node2, I CANNOT access node2 through node2 web interface. However, I CAN still access to node2 through node1 web interface.



2. Why would you obtain an IP address with DHCP, when there is a statically configured address?
I simply use the default settings during pve installation. I have not changed any configurations in my /etc/network/interfaces file.
Since I cannot access to the web interface of the rebooted node, I searched on the internet, found and followed this solution (i.e., the two dhclient commands).



3. Is the statically configured address and gateway correct?
Yes, it is correct. I did not configure it mannuly. It is automatically accquired during installation.



4. Check before and after the DHCP request (after a reboot): ip a and ip r
  • is there a before/after difference?
  • What differs?
Yes, there is a difference. I have highlighted the difference below:

- before DHCP request (i.e., after reboot and cannot access to web GUI)
6: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 3c:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet 10.xx.xx.xxx/17 brd 10.xx.xxx.xxx scope global vmbr0
valid_lft forever preferred_lft forever
inet6 fe80::3eec:efff:fe5c:f4c1/64 scope link
valid_lft forever preferred_lft forever
default via 10.xx.xxx.xxx dev vmbr0 onlink
10.xx.x.x/17 dev vmbr0 proto kernel scope link src 10.xx.xx.xxx

- after DHCP request (i.e., can access to web GUI)
6: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 3c:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet 10.xx.xx.xxx/17 brd 10.xx.xxx.xxx scope global dynamic vmbr0
valid_lft 86381sec preferred_lft 86381sec
inet6 fe80::3eec:efff:fe5c:f4c1/64 scope link
valid_lft forever preferred_lft forever
default via 10.xx.xxx.xxx dev vmbr0
10.xx.x.x/17 dev vmbr0 proto kernel scope link src 10.xx.xx.xxx



5. If the problem persists: please provide the output of pveversion -v
The output is as follows:
proxmox-ve: 6.3-1 (running kernel: 5.4.73-1-pve)
pve-manager: 6.3-2 (running version: 6.3-2/22f57405)
pve-kernel-5.4: 6.3-1
pve-kernel-helper: 6.3-1
pve-kernel-5.4.73-1-pve: 5.4.73-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.4-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.16-pve1
libproxmox-acme-perl: 1.0.5
libproxmox-backup-qemu0: 1.0.2-1
libpve-access-control: 6.1-3
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.2-6
libpve-guest-common-perl: 3.1-3
libpve-http-server-perl: 3.0-6
libpve-storage-perl: 6.3-1
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.3-1
lxcfs: 4.0.3-pve3
novnc-pve: 1.1.0-1
proxmox-backup-client: 1.0.5-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.4-3
pve-cluster: 6.2-1
pve-container: 3.3-1
pve-docs: 6.3-1
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-3
pve-firmware: 3.1-3
pve-ha-manager: 3.1-1
pve-i18n: 2.2-2
pve-qemu-kvm: 5.1.0-7
pve-xtermjs: 4.7.0-3
qemu-server: 6.3-1
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 0.8.5-pve1
 
Thanks for your detailed answer :)
Is it possible that you have a duplicate ip address in your network? Check if any other device has the same ip address as one of your nodes.
 

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!