Fresh install but VMs and CTs have no network

wksmatt

New Member
Apr 14, 2018
2
0
1
53
I had to reinstall Proxmox and on the new install I cannot get any VMs or containers on the network. This is true for both new guests and guests that I've restored from backup. They can ping the host, but no guest can ping anything else and no guest is reachable from other hosts.

Here is my host /etc/network/interfaces:

auto lo
iface lo inet loopback

iface eno2 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.5.10
netmask 255.255.255.0
gateway 192.168.5.1
network 192.168.5.0
bridge_ports eno2
bridge_stp off
bridge_fd 0

iface eno1 inet manual

Here is a container's /etc/network/interfaces:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.5.24
netmask 255.255.255.0
gateway 192.168.5.1
network 192.168.5.0


Here is a VM's /etc/network/interfaces:

auto lo
iface lo inet loopback

auto ens18
iface ens18 inet static
address 192.168.5.5
netmask 255.255.255.0
gateway 192.168.5.1
network 192.168.5.0
broadcast 192.168.5.255


All the interfaces are UP. The firewalls are disabled.

I'm pulling my hair out (what's left) over this. Please help -- I know it has to be something stupid I've done.

Thanks,

Matt
 
Problem solved. It was something stupid that I did.

I must have accidentally swapped the server's NIC at some point and the iLO (remote support) patch cables at the switch, and the port the iLO is supposed to be linked to has port security on. Swapped them back and all is good. I'm not sure why this worked before I had to reinstall though...
 

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!