No network after reboot

RayzenMat

New Member
Jul 12, 2018
11
0
1
29
Hello,

I encounter a problem with a virtual machine, at each restart, after the connection I get no network access.
I must use these commands 'ifdown eth0' then 'ifup eth0' to finaly get access to the internet again. Here is the network configuration of the mentionned virtual machine :

Code:
 cat /etc/network/interfaces                              root@PSSD-UMR-TEST
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
        address 192.168.X.X
        netmask 255.255.255.0
        gateway 192.168.X.X
 
I try to add auto eth0 but i have the same problem after reboot i get no network access
 

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!