[SOLVED] Removed all my network devices

Vaillant

New Member
Jul 3, 2023
12
1
3
I made a big mistake.

I was thinking if I remove the CIDR and gateway from the bridge under network, Proxmox would use DHCP instead of a static ip (I'm so tired that I don't think very well).

Thus, me removing both information under the network of the node and click apply configuration.

20230827_164855.jpg
My node is not working anymore as it does not have any network connection (no route to host (595)). I also do not have a backup.

Is there a way within the files system that I could input the data I removed to restore everything?
 
Last edited:
Connect a display + keyboard, login as root, edit your network config via nano /etc/network/interfaces, save it with "Ctrl+X, Y", add the IP and gateway again and reboot.

You probably want to add a...
Code:
        address 192.168.50.6/24
        gateway 192.168.50.1
...below the line "iface vmbr0 inet static".

If you just want DHCP, skip the IP and gateway and change the "iface vmbr0 inet static" to "iface vmbr0 inet dhcp".
 
Last edited:

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!