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

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

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