PVE hat kein internet

cainam

Member
Aug 5, 2020
51
0
11
44
Hallo zusammen
Mein Hoste / PVE hat kein internet aka kann ich keine updates machen. VMs und CTs funktioniert das internet auch kann ich die proxmox intern problemlos finden und funktioniert bis auf das internet...

Danke und Gruss


cat /etc/network/interfaces zeigt fogendes:

auto lo
iface lo inet loopback

iface enp3s0 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.0.40
netmask 255.255.255.0
gateway 192.168.0.1
bridge_ports enp3s0
bridge_stp off
bridge_fd 0
 
Deine "/etc/network/interfaces" sieht eigentlich ok aus, wenn 192.168.0.1 dein Router ist und bei dem die IP 192.168.0.40 noch unbelegt ist.

Neben ping 8.8.8.8 wäre noch ping google.de interessant, um zu gucken, ob deine DNS-Auflösung funktioniert.

Ich würde mal denken deine DNS-Auflösung läuft nicht, bei den VMs aber schon, weshalb die funktionieren.
Falls 8.8.8.8 geht aber google.de nicht, solltest du gucken, ob in "/etc/resolv.conf" dein Router als DNS-Server eingetragen ist. Da sollte dann die Zeile "nameserver 192.168.0.1" drin stehen.
 
Last edited:
  • Like
Reactions: CoolTux
Hoi zusammen
Das geht beides (die Pings) und auch der nameserver ist so eingetragen...
Update geht aber nicht...


root@pve:~# apt-get update
Get:1 http://security.debian.org buster/updates InRelease [65.4 kB]
Hit:2 http://ftp.ch.debian.org/debian buster InRelease
Hit:3 http://ftp.ch.debian.org/debian buster-updates InRelease
Err:4 https://enterprise.proxmox.com/debian/pve buster InRelease
401 Unauthorized [IP: 2a01:7e0:0:424::249 443]
Reading package lists... Done
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease 401 Unauthorized [IP: 2a01:7e0:0:424::249 443]
E: The repository 'https://enterprise.proxmox.com/debian/pve buster InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
 
Ok, dein Internet geht.
Du musst das Repository wechseln. Standardmäßig ist das Enterprise Repository eingetragen, was du nicht ohne eine Lizenz nutzen kannst.

Guck mal hier, wie du das zum "No-Subscription-Repository" ändern kannst: https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_no_subscription_repo

PS:
Proxmox darf man übrigens nicht über "apt upgrade" aktualisieren. Immer "apt dist-upgrade" nutzen, sonst kannst du dir das Proxmox zerschießen.
 
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!