Recently moved and have a new router/network config

rusdog2784

New Member
May 25, 2023
6
0
1
I've recently moved to a new rental home, and now I have a different router with a different gateway. Sadly, before moving, I did not know what network settings I would be inheriting and therefore could not edit my Proxmox VE server's network config to that of the new settings. Now, I'm able to turn on my proxmox server, but can't access it via SSH or GUI because of the previous network config.

I'm relatively new to proxmox and feel stuck. Does anyone know what I should do???
 
Connect a display+keyboard to your server. Login as root into the local console. Edit the "/etc/network/interfaces" ("nano" command should be most userfiendly) as well as "/etc/resolv.conf" and "/etc/hosts" to match your new gateway/DNS and to give your PVE host a new IP in the subnet of your new router. Then reboot or restart the network.
But first I would log in into the new router and see if it allows you to change the routers IP+subnet. Usually they do when using a proper router. Would be way easier to edit your new router to match your old subnet/network config than editing every client/server/VM/LXCs to match the new subnet...
 
Connect a display+keyboard to your server. Login as root into the local console. Edit the "/etc/network/interfaces" ("nano" command should be most userfiendly) as well as "/etc/resolv.conf" and "/etc/hosts" to match your new gateway/DNS and to give your PVE host a new IP in the subnet of your new router. Then reboot or restart the network.
But first I would log in into the new router and see if it allows you to change the routers IP+subnet. Usually they do when using a proper router. Would be way easier to edit your new router to match your old subnet/network config than editing every client/server/VM/LXCs to match the new subnet...
Thanks for the response, Dunuin!

I've tried connecting a display and keyboard to the server, but I don't know how to access the kernel as root. The only terminal I gain access to is GRUB.
 
Can you take a picture?

Your server is probably not booted at all.
It's going through its normal boot sequence then gets to a point where I can't interact with the terminal.

See images below of the different stages of the boot.
 

Attachments

  • PXL_20231220_185544384_exported_2552.jpg
    PXL_20231220_185544384_exported_2552.jpg
    773.1 KB · Views: 28
  • PXL_20231220_185544384_exported_17625.jpg
    PXL_20231220_185544384_exported_17625.jpg
    528.9 KB · Views: 26
  • PXL_20231220_185544384_exported_21854.jpg
    PXL_20231220_185544384_exported_21854.jpg
    670.1 KB · Views: 26
  • PXL_20231220_185544384_exported_32720.jpg
    PXL_20231220_185544384_exported_32720.jpg
    711.2 KB · Views: 29
It doesn't finish booting. Should end with that screen that shows the webUI URL and a login shell.
 
So would that have me put the Proxmox VE installer on a flash drive, plug it in, then start the server and select the drive as the boot drive?
 
Did you always connect to the ISP router directly?

You can find the old default LAN IP address scheme they used online. Should be able to make the same local network on your new router and look for devices (your PVE server) in the router's ip tables.

If you used a switch, you should be able to connect the server and just your laptop(?) to the same switch without the new router and assign your laptop the old address it had at the old house - then use your old bookmark or old server address (however you did before). Or any simple L!-L2 switch you may have should work.
 
So would that have me put the Proxmox VE installer on a flash drive, plug it in, then start the server and select the drive as the boot drive?
Actually skip that idea - since I doubt it would do more than the GRUB menu in your screenshot. Is there a boot repair or similar option in your "Advanced" option?
 

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!