Recently moved and have a new router/network config

rusdog2784

Member
May 25, 2023
6
0
6
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: 35
  • PXL_20231220_185544384_exported_17625.jpg
    PXL_20231220_185544384_exported_17625.jpg
    528.9 KB · Views: 34
  • PXL_20231220_185544384_exported_21854.jpg
    PXL_20231220_185544384_exported_21854.jpg
    670.1 KB · Views: 35
  • PXL_20231220_185544384_exported_32720.jpg
    PXL_20231220_185544384_exported_32720.jpg
    711.2 KB · Views: 39
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?
 
i am facing similar issue and am not able to connect to URL provided after booting proxmox. Can you please share if above discussed issue was solved & how ?
 

Attachments

  • PHOTO-2025-02-28-11-17-45 (6).jpg
    PHOTO-2025-02-28-11-17-45 (6).jpg
    147 KB · Views: 12
  • PHOTO-2025-02-28-11-17-45 (4).jpg
    PHOTO-2025-02-28-11-17-45 (4).jpg
    114.9 KB · Views: 11
  • PHOTO-2025-02-28-11-17-45 (5).jpg
    PHOTO-2025-02-28-11-17-45 (5).jpg
    160 KB · Views: 10
  • PHOTO-2025-02-28-11-17-45 (3).jpg
    PHOTO-2025-02-28-11-17-45 (3).jpg
    138.8 KB · Views: 10
  • PHOTO-2025-02-28-11-17-45 (2).jpg
    PHOTO-2025-02-28-11-17-45 (2).jpg
    210 KB · Views: 10
  • PHOTO-2025-02-28-11-17-45 (1).jpg
    PHOTO-2025-02-28-11-17-45 (1).jpg
    230.5 KB · Views: 9
  • PHOTO-2025-02-28-11-17-45.jpg
    PHOTO-2025-02-28-11-17-45.jpg
    121.7 KB · Views: 11
when trying to follow the steps in other post :: this commands does not find anything "ip -4 address show dev enp1s0"
 
when trying to follow the steps in other post :: this commands does not find anything "ip -4 address show dev enp1s0"
That is correct. The interface has no address; the bridge does.

Have you verified that 192.168.1.x is your actual network - the one you are connected to? Can another device ping 192.168.1.1?
 
That is correct. The interface has no address; the bridge does.

Have you verified that 192.168.1.x is your actual network - the one you are connected to? Can another device ping 192.168.1.1?
my other laptop is not able to ping 192.168.1.1 (but this laptop is connected via wifi not lan)
 
also it was all up and running fine with haos working on all same config till the time i change router & wifi (i was forced to change wifi password too but this should be fine as proxmox server is connected via LAN cable)