No network after reboot

everyman

Member
Mar 24, 2011
4
0
21
After restart, networking has vanished: can't ping the default gateway, much less reach anything else. Nothing was changed in /etc/network/interfaces (attached). Output from "ip link" and "ip route" is as I believe it should be.

Clearly something is wrong; possibly (probably) something subtle in /etc/network/interfaces that I'm just not seeing after staring at it for too long.

pveversion:
pve-manager/5.1-46/ae8241d4 (running kernel: 4.13.13-6-pve)
 

Attachments

  • interfaces.txt
    547 bytes · Views: 66
With default gateway, you mean '192.168.66.1'? And from which IP are you pinging from?
 
Correct. From the console I can ping the host -- 192.168.66.20 -- but not the gateway (192.168.66.1) nor anything else on 192.168.66.0/24.
 
"ip link" indicates both NICs (eno1, enp2s0) and both bridges (vmbr0, vmbr1) are up (state UP mode DEFAULT group default glen 1000).
 
What's in the dmesg/syslog?
 
Net-related dmesg output attached. Output from 'systemctl status networking.service' is:

Mar 02 09:40:58 pve systemd[1]: Starting Raise network interfaces...
Mar 02 09:41:00 pve ifup[1053]: Waiting for vmbr0 to get ready (MAXWAIT is 2 seconds).
Mar 02 09:41:01 pve ifup[1053]: RTNETLINK answers: File exists
Mar 02 09:41:01 pve ifup[1053]: ifup: failed to bring up vmbr0
Mar 02 09:41:01 pve ifup[1053]: Waiting for vmbr1 to get ready (MAXWAIT is 2 seconds).
Mar 02 09:41:01 pve systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Mar 02 09:41:01 pve systemd[1]: Failed to start Raise network interfaces.
Mar 02 09:41:01 pve systemd[1]: networking.service: Unit entered failed state.
Mar 02 09:41:01 pve systemd[1]: networking.service: Failed with result 'exit-code'.​
 

Attachments

  • dmesg.txt
    4.3 KB · Views: 16
Try to remove the 'auto eno1' stanza, as the bridge will bring up automatially.
Code:
auto lo

iface lo inet loopback

iface enp5s0 inet manual

auto vmbr0
iface vmbr0 inet static
    address 192.168.1.2
    netmask 255.255.255.0
    gateway 192.168.1.1
    bridge_ports enp5s0
    bridge_stp off
    bridge_fd 0

auto vmbr1
iface vmbr1 inet manual
    bridge_ports none
    bridge_stp off
    bridge_fd 0
Taken from my installation.
 
HI
I have the same issue with a PVE 5.2 Fresh install. How this was solved in your case ?
Thanks
 

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!