[SOLVED] No internet connection/ wrong Interfaces

Zatterli

New Member
Jul 21, 2024
15
2
3
Hi there

So i just upgraded my proxmox from version 7 to 8. After the update my Proxmox didnt come online again. After reading some Threads i saw that qith the kernel update the Interfaces change nam. I tried to rename them in /etc/network/interfaces and then restart the aervice. No luck.
After that i also saw that my interfaces are down. I also tried to bring them back up.

Here are the Photos for some information:


Thanks in advance
 

Attachments

  • 17235770314763403907877214241049.jpg
    17235770314763403907877214241049.jpg
    497.5 KB · Views: 17
  • 17235770540242893865063715340472.jpg
    17235770540242893865063715340472.jpg
    575 KB · Views: 16
You'll have to use the main name instead of the altname, so replace all the "enp0s31f6" with eno1 ( 4 places) as well as fix the typo you made in the gateway (192 instead of 1925)
Then be sure to apply the new settings with ifreload -a
Also, if you're worries about the interface starting with W, ignore that for now, that's the wireless interface (unless you set that one up as your primairy source, then do worry / check your wireless settings)
 
Last edited:
So i did what you recommended but still the Interface doesnt get any ip Adress. I also couldnt do ifreload - a so i just rebooted the system.
 

Attachments

  • 17235831703062032245970558580725.jpg
    17235831703062032245970558580725.jpg
    566 KB · Views: 14
  • 17235831806697053978073171185327.jpg
    17235831806697053978073171185327.jpg
    490.1 KB · Views: 14
Hi there

Sorry i response only now. So i looked into the other forum and did the dkpg and that worked. Now i also can do the ifreload - a. But im still not getting any ipadress.
 

Attachments

  • 17240843969968184330295772496802.jpg
    17240843969968184330295772496802.jpg
    609.2 KB · Views: 7
Last edited:
Not sure how I missed this before, but you're missing a Linux Bridge (and using the linux-bridge values for the device, which is what some of the errors are about).
Try replacing your ENTIRE /etc/network/interfaces with the below (including the source-line at the bottom) and then running the ifreload -a again:

Code:
auto lo
iface lo inet loopback

auto eno1
iface eno1 inet manual

iface wlp3s0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.249/24
        gateway 192.168.1.1
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0

source /etc/network/interfaces.d/*
 
but do i need the wlp3s0?
i dont have them anymore, as seen in th latest pic
 
Last edited:
Ah, yeah, the wlp3s0 line you can drop (this is for your / a wireless card), but yes on the vmbr0

vmbr0 is a Virtual BRidge device, so it gets created through software, so it's not there because you don't have it in your config.
You need such a bridge device to, in turn, connect your VM's to, so yes you need it (and it's common practise to set the network-settings that you use to connect to your Proxmox on that bridge too, that's what the installer does as well)
 
So that worked my VM's are back but i cant login to my (no Webinterface). But the ones from the VM's are there. And if i do a ip addr there are many things (dont know what they are).
 

Attachments

  • 17240886931974013060016855473226.jpg
    17240886931974013060016855473226.jpg
    796.6 KB · Views: 5
  • 17240887354593066382870271076778.jpg
    17240887354593066382870271076778.jpg
    462.3 KB · Views: 5
  • 17240887493963707096368229395694.jpg
    17240887493963707096368229395694.jpg
    544 KB · Views: 5
  • 17240888082977236904385987869586.jpg
    17240888082977236904385987869586.jpg
    573.1 KB · Views: 5
Tried a full server restart already?
And are you able to ping from your proxmox-server itself to either your router or 8.8.8.8? (pinging to proxmox might be firewall-blocked or something like that)
 
I couldnt ping from the the host
 

Attachments

  • 17240924128193530625325418023766.jpg
    17240924128193530625325418023766.jpg
    555.6 KB · Views: 4
  • 17240924222204881560338804781054.jpg
    17240924222204881560338804781054.jpg
    327.8 KB · Views: 4
  • 1724092443850211332308531096429.jpg
    1724092443850211332308531096429.jpg
    256.7 KB · Views: 5
Note the typo in the interfaces configuration: it should be "address", not "adress"
Good catch there Markku!

And nice that it now works, maybe mark the topic as solved by editing your first post.

That aside, it is still strange that it broke so much, so you might want to think about doing a system re-install sometime in the future to remove any hidden issues (and/or keep an eye on the logs, see if something strange pops up in there).
 
  • Like
Reactions: Markku

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!