[SOLVED] Network change gone horribly wrong

wegi

New Member
Apr 7, 2023
4
0
1
Hi all,

I messed up trying to change my network inferface for PVE terribly.

I have had problems with unreliable network access to my pve (lost pings, music from a media server did not serve reliably and so on) and wanted to try another network interface. I made the changes listed below in the GUI and rebooted. The result is, that the server is no longer reachable over the network.

I checked /etc/network/interfaces and it looked fine to me as the changes below are there. I am able to ping localhost, but get a "destination unreachable" error, when trying to get to my router @ 192.168.1.1 or any other local address.

It is almost impossible to use editors etc. because my screen is being flooded with CIFS error messages (guess, because it cannot reach a mapped shared)

This is the change I made in the GUI (rescued from the still open browser window)

Because I`m a Linux noob I don't know what to do now to get the machine back online. Can someone help me please? What should I do now?

Code:
--- /etc/network/interfaces    2022-03-06 09:40:14.954596035 +0100
+++ /etc/network/interfaces.new    2023-04-07 14:57:05.898065807 +0200
@@ -18,9 +18,7 @@
     mtu 1500
 
 auto vmbr0
-iface vmbr0 inet static
-    address 192.168.1.4/24
-    gateway 192.168.1.1
+iface vmbr0 inet manual
     bridge-ports enxa0cec8e88fc7
     bridge-stp off
     bridge-fd 0
@@ -28,7 +26,9 @@
 iface wlp2s0 inet manual
 
 auto vmbr1
-iface vmbr1 inet manual
+iface vmbr1 inet static
+    address 192.168.1.4/24
+    gateway 192.168.1.1
     bridge-ports eno1
     bridge-stp off
     bridge-fd 0

Thank you so much
Markus
 
Thanks for your reply and sorry also here for the redundant post. It was completely gone, but no clue what happened. Same with this thread. Maybe because I'm new to the forum?

I meanwhile gave up and just reinstalled the server. But "ip a" showed the IP address 192.168.1.4 on vmbr1 and everything looked OK I think. And sure, I switched the cable, also reverted the change manually in /etc/network/interfaces and tried again with the other network adapter

However, I was only able to ping my own IP or the hostname which was saved in the hosts file.

And to top all of this and completely ruin my day: After throwing all the work in the bin by reinstalling the whole server from USB, it still did not get an IP. Turned out, that my switch somehow hung up. So I probably spent 3 hours completely frustrated trying to do something on the commandline while permanent error messages made the work almost impossible and the whole time my network was the issue as it seems.

:-(

Ah and btw: Bad idea to run a wiki containing information on how to properly configure proxmox on the same server, you have to recover :rolleyes:
 
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!