[SOLVED] Unable to get internet connection on fresh Proxmox install

tuxerproxer

New Member
Jul 12, 2022
7
0
1
If this is the wrong forum I apologize, please move my post to the correct forum.

I've recently set up a Supermicro(Motherboard Link) server with Proxmox (Proxmox VE 7.2)

I am unable to set up a working internet connection. If I use a USB to boot into a live Ubuntu OS the internet works fine, however it does not work when I boot into Proxmox. If I try to ping/curl/wget a website, I just get "could not resolve host". I am also unable to access the Proxmox web interface.


I've done the following troubleshooting:

Tried all 3 ethernet ports. (Restarting each time I change port)
Adding mac address to /etc/network/interfaces
Running ifupdown2 ifreload -a

Here are some pictures:
ip a

ipa.png


/etc/network/interfaces

interfaces.png


apt update

1657607333132.png


Please let me know if more information is required or if I am somehow doxing myself by showing too much information in these pictures.

Thanks in advance.
 
Last edited:
Tried all 3 ethernet ports.

In the moment your cable is in the wrong port. It is in eno2, but your vmbr0 uses eno1. So either plug the cable in the right port or change the bridge-ports of your vmbr0 in /etc/network/interfaces to eno2 and reboot the host.

Is 192.168.100.0 your actual network/subnet and is 192.168.100.1 really your gateway (most likely your router) or did you just leave it at the defaults?
 
In the moment your cable is in the wrong port. It is in eno2, but your vmbr0 uses eno1. So either plug the cable in the right port or change the bridge-ports of your vmbr0 in /etc/network/interfaces to eno2 and reboot the host.

Is 192.168.100.0 your actual network/subnet and is 192.168.100.1 really your gateway (most likely your router) or did you just leave it at the defaults?

I believe I already tried all the ports, as well as changing eno1 to eno2 (That was just the picture I had available). I will retry it when I am home later today to confirm.

The addresses for my subnet/gateway are just the default settings that Proxmos put there. I'll try and log onto my modem/router when I am home to check if it is correct.
 
In the moment your cable is in the wrong port. It is in eno2, but your vmbr0 uses eno1. So either plug the cable in the right port or change the bridge-ports of your vmbr0 in /etc/network/interfaces to eno2 and reboot the host.

Is 192.168.100.0 your actual network/subnet and is 192.168.100.1 really your gateway (most likely your router) or did you just leave it at the defaults?

I can't seem to locate the MAC address from ip a on my network.

I've tried both eno1 and eno2
What should I try next?

1657641142562.png
 
Last edited:
Although there are three network ports on your system, only the two that are close together are actually network ports, the other one is an IPMI port for remote management of the server.

You need to establish the correct network settings to use. The live UBUNTU OS will automatically join your network, that's why that works and Proxmox doesn't. Boot from the live UBUNTU disk and check what IP address it is using - most likely it will be something like 192.168.1.x and note the gateway address.

Then install Proxmox and during the install, enter an IP address in the same range (for example 192.168.1.250 if that's similar to what was allocated to the Ubuntu system)
 
Although there are three network ports on your system, only the two that are close together are actually network ports, the other one is an IPMI port for remote management of the server.

You need to establish the correct network settings to use. The live UBUNTU OS will automatically join your network, that's why that works and Proxmox doesn't. Boot from the live UBUNTU disk and check what IP address it is using - most likely it will be something like 192.168.1.x and note the gateway address.

Then install Proxmox and during the install, enter an IP address in the same range (for example 192.168.1.250 if that's similar to what was allocated to the Ubuntu system)

Thanks, I manage to get it working by putting in the correct gateway, ip address and nameserver in the correct config files. However now I am unable to reach the web browser GUI
 
Don't forget to also edit your "/etc/hosts" file to match your new IP.
Thank you!
1657646120222.png



I am able to connect to Apache2 webserver (after installing it sudo apt install apache2 ) by typing in the ip, but if I add :8006 I instantly get thrown "connection reset".

However if the server is offline the page spends time to load before giving me an cant connect page, so it seems something is stopping me from connecting?
 
Last edited:
I am able to connect to Apache2 webserver via the ip, but if I add :8006 I instantly get thrown "connection reset".
On a normal install, there isn't a default webpage on http or https so there's something strange here - do you have a VM running Apache on the same IP? can you open an ssh terminal to Proxmox?
 
mtu in the physical switch ?
I am not familiar with this
On a normal install, there isn't a default webpage on http or https so there's something strange here - do you have a VM running Apache on the same IP? can you open an ssh terminal to Proxmox?
I should have specified. A friend of mine made me run the command sudo apt install apache2 which installed the framework for Apache

Here is a picture from nmap
1657688564118.png
I am also able to ping the server just fine now. But still unable to reach the web gui
 
Last edited:
Hello everyone, am new here, first timer using Proxmox VE and I am stuck at web gui due to , am thinking my ip address is wrong hence cannot connect to the webpage. how can I know for certain my ip address?, please help.
 
You connect a display to your PVE host and look whats written there. It will tell you which URL to type into your browser to access the webUI. Your IP is uncluded there. And really type it in exaclty like its shown there. Don't forget the "https:" at the beginning ("http:" won't work) and the ":8006" at the end.
And in case it tells you the IP is 192.168.100.2 you have choosen a wring IP when installing PVE. The IP should be free and part of your routers subnet with the IP of your router as the gateway and DNS server.
 
Last edited:
You connect a display to your PVE host and look whats written there. It will tell you which URL to type into your browser to access the webUI. Your IP is uncluded there.
Thank you for your quick reply. I seen the url to use to access the web gui, but for the pass 2 days now am having issue to connect, am newby to all this. So if you could please explain in details on how to find my correct ip address, please.
 
What will you PVE server show after logging in and running cat /etc/network/interfaces?
 
What will you PVE server show after logging in and running cat /etc/network/interfaces?
I would have to check to see what it is saying. I am using wifi so does that make a difference?, when I was installing in interfaces management i did select wlp6, am unsure but something like that
 
You shouldn't use wifi. Its slower, less secure and more unreliable. Because of that it isn't used in server environments and Proxmox won't directly support it. Will be OK to connect to the webUI but most likely your guests won't be able to access the internet. See here: https://pve.proxmox.com/wiki/WLAN
 
Last edited:
You shouldn't use wifi. Its slower, less secure and more unreliable. Because of that it isn't used in server environments and Proxmox won't directly support it. Will be OK to connect to the webUI but most likely your guests won't be able to access the internet. See here: https://pve.proxmox.com/wiki/WLAN
OK, it seem am out of luck then because wifi is my only way of getting internet access.
 
You connect a display to your PVE host and look whats written there. It will tell you which URL to type into your browser to access the webUI. Your IP is uncluded there. And really type it in exaclty like its shown there. Don't forget the "https:" at the beginning ("http:" won't work) and the ":8006" at the end.
And in case it tells you the IP is 192.168.100.2 you have choosen a wring IP when installing PVE. The IP should be free and part of your routers subnet with the IP of your router as the gateway and DNS server.
Thanks for the help everyone.
After typing in exactly like it was shown I am now able to access the web interface.

I'm marking this as solved.
 

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!