Proxmox VE network didnt come up after restart

pravinfarad

Member
Sep 22, 2021
8
0
6
35
I notice weird issues :
1. Whenever I restart my machine, I lose the network and I manually need to make it up using following command.
>>> ip link set dev enp0s25 down && ip link set dev enp0s25 up && dhcpclient -v enp0s25
without this the network is down and I am unable to ping to the proxmox server. How to resolve this issue ?
root@# ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether 98:90:96:ca:ce:be brd ff:ff:ff:ff:ff:ff

2. None of my VM working now. Whenever I tried to start then I am getting following error.
bridge 'vmbr0' does not exist kvm: -netdev type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown: network script /var/lib/qemu-server/pve-bridge failed with status 512 TASK ERROR: start failed: QEMU exited with code 1

please help to resolve the issue.
 
root@faradproxmox:~# cat /etc/network/interfaces
# 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!



auto lo
iface lo inet loopback

iface enp0s25 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.1.50/24
gateway 192.168.1.1
bridge-ports enp0s25
bridge-stp off
bridge-fd 0
 
I really dont why the port got autoshut and I need to enable it manually which is practically not possible.
Secondly none of my VM are getting ON. do I need to format and reinstall everything ?
 
Thanks @spirit. I will try it and update you.
btw one more thing I noticed about my VM that when I removed network device from hardware of that VM then VM came up.
So something is not right with network device.
But after I tried to add the network device , again VM didnt start so definitely network device is culprit.
So please guide me how can I resolve the network device issue ?
 
dmesg seem to be ok.

when you said
"
>>> ip link set dev enp0s25 down && ip link set dev enp0s25 up && dhcpclient -v enp0s25
without this the network is down and I am unable to ping to the proxmox server. How to resolve this issue ?"

do you have another ip from dhcp (not only the static 192.168.1.50) ?
 

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!