default IP / Gateway for web gui?

lathe

New Member
Dec 5, 2021
2
0
1
37
Hi,

I'm installing proxmox on a new server I bought, in my home (a supermicro 1U). The server is sitting behind my verizon router on a wired connection.

I installed proxmox on it via a usb stick I set up. No problem! I used the default IP / gateway that it came up with- which was 192.168.1.157 / 192.168.1.1 (If I'm remembering the gateway correctly). I was able to access the web GUI and have all sorts of fun with it.

I decided to change to a full ZFS setup instead of installing to ext4 on one of my three drives. So, I reinstalled.

This time, the defaults were different- 192.168.100.2 for the IP and 192.168.100.1 for the default gateway. Using these defaults- or the original 192.168.1.157 (along with the original gateway above), didn't work. I tried doing a `wget --no-check-certificate https://192.168.1.157:8006` (when I reinstalled one of numerous times to try those initial settings again) from my desktop on the same network and it said "failed: No route to host". Ok- I figure it has something to do with my verizon router then. I tried setting a static 192.168.1.157 as a static IP to whatever MAC addresses I could find on my proxmox machine (I didn't know which one to use so I tried them all) and that didn't work. It's all a bit confusing to me and I'm sort of shotgunning it so, TLDR I tried making a bunch of routes available or clearing them up on my router and that didn't work.

I know the web GUI is up because I checked in the shell of the proxmox machine (did a wget to the IP I used in the install) and it loaded index.html fine.

Why did it give me different initial default settings the first time and now it's giving me 192.168.100.2 every time I reinstall?

I know this is a pretty crappy post. Sorry. What the heck is going on?
 
I managed to get into the web GUI.

I noticed that, on my first install, I had two network devices- eth0 and eth1. Now I had eth1 and eno1. I changed eno1 from `manual` to `dhcp` in `/etc/network/interfaces`. I also noticed when I did `ip a` that `eno1` was down (in fact, all the devices were down). So I did `ifup eno1` (in fact, tried it on all of them). I changed the host in `/etc/hosts` to 192.168.1.200 (to try something that I hadn't used before in case my router was being weird about the address). Something there seemed to work, because after a reboot, I could connect to the web GUI.

If anyone has any thoughts on this though (if it's possible to make sense of what I'm saying) then I'd love to hear it. I do webdev for a living and am self-taught so. IT stuff like this is still pretty confusing.
 
Habe vermutlich einen ähnlich richtig fetten Fehler gemacht und komme nicht weiter. Ich hatte am Proxmox-Server die IP mit Endung 250 habe ihm auf der WEB GUI die IP 1 gegeben. Wo die 250 eingetragen war. Leider habe ich vergessen die etc/hosts zu ändern. nun stehe ich vor dem Problem das ich nur auf die ursprüngliche 250 IP mit ssh Zugriff habe und dadurch aber die Hosts nicht mit vi ändern kann. Gibt es dafür eine Möglichkeit oder muss man das lokal am Server mit Monitor lösen? Da steige ich mit meinem wissen komplett aus. Bitte um Hilfe. Dankeschön LG Marco
 

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!