[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: