No network connection after fresh install

smashery

New Member
May 1, 2020
1
0
1
36
Hi - trying to get set up with proxmox for the first time; having some issues. I'm mildly competent with Linux, but not a guru. Help appreciated :-)

- I'm Installing proxmox on my desktop, from a USB made with Etcher from proxmox-ve_6.1-2.iso
- During the installation process, I check my router's admin panel, and my desktop has been assigned a DHCP lease; I can ping the machine from my laptop on the same network, without issue.
- I follow through the installation steps and assign an IP to it. I've set this outside of my router's DHCP range (though I've also tried within the range, without any difference to the issues I'm seeing).
- I reboot at the end of the installation.
- I cannot connect to https://<IP>:8006 from my laptop
- In fact, the router doesn't have a record of it at all
- pinging from proxmox returns "Network is unreachable"
- Most debugging info I can find on this forum points me to the /etc/network/interfaces file; however that file doesn't exist (the /etc/network directory is not present)
- ip addr shows enp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
- I can arping from proxmox to any IP address on the network

Any pointers to debugging this? Cheers.
 
Well, that's hard to say, without actually having seen the installation process, but the interface config file (afaik), will always be created by the installer, so I am assueming, that something went wrong with that. You can create a simple interface config manually, but if the installer failed on creating that, I wouldn't trust the rest of the install as well.

If you're adventureous though, you could go ahead and create a minimal interfaces file and kickstart the network with it. Just create the file and paste this to it (change the IPs to something suitable):


Code:
auto lo
iface lo inet loopback

iface enp2s0 inet manual

auto vmbr0
iface vmbr0 inet static
    address <PVE IP>/24
    gateway <Router IP>
    bridge-ports enp2s0
    bridge-stp off
    bridge-fd 0

Afterwards, issue a
Code:
systemctl restart networking
should kickstart the network.

However, I'd go through the install process again and watchout for any issues, that the installer might throw at you. The network configuration might not be the only thing, that failed.
 

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!