MaximusMcfly

New Member
Oct 28, 2023
2
0
1
So i have been using Proxmox for a while and i did not need any of the features that access the internet (It couldn't access the internet since fresh installing it). But now I need a package from apt and it can resolve hostnames after setting the DNS server to my routers IP address, but when i try to ping, download or use internet in any way (The VMs can access the internet.) it shows the following:

$ ping google.com
Code:
PING google.com (216.58.211.238) 56(84) bytes of data.
From proxmox.local (192.168.1.3) icmp_seq=1 Destination Host Unreachable
From proxmox.local (192.168.1.3) icmp_seq=2 Destination Host Unreachable
From proxmox.local (192.168.1.3) icmp_seq=3 Destination Host Unreachable
$ apt update
Code:
Ign:1 http://ftp.fi.debian.org/debian bookworm InRelease
Ign:2 http://download.proxmox.com/debian/pve bookworm InRelease
Ign:3 http://ftp.fi.debian.org/debian bookworm-updates InRelease
Ign:2 http://download.proxmox.com/debian/pve bookworm InRelease
Err:4 http://download.proxmox.com/debian/pve bookworm Release
  Cannot initiate the connection to download.proxmox.com:80 (2a01:7e0:0:424::249). - connect (101: Network is unreachable)
Ign:5 http://security.debian.org bookworm-security InRelease
Ign:5 http://security.debian.org bookworm-security InRelease
Err:6 http://security.debian.org bookworm-security Release
  Cannot initiate the connection to security.debian.org:80 (2a04:4e42:600::644). - connect (101: Network is unreachable) Cannot initiate the connection to security.debian.org:80 (2a04:4e42::644). - connect (101: Network is unreachable) Cannot initiate the connection to security.debian.org:80 (2a04:4e42:400::644). - connect (101: Network is unreachable) Cannot initiate the connection to security.debian.org:80 (2a04:4e42:200::644). - connect (101: Network is unreachable)

The config is following:
/etc/hosts
Code:
127.0.0.1 localhost.localdomain localhost
192.168.1.3 proxmox.local proxmox pve pve.local

# The following lines are desirable for IPv6 capable in

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
/etc/hostname
Code:
pve
/etc/resolv.conf
Code:
nameserver 192.168.1.254
options enp4s0

Any ideas?
 
Gateway not set to your routers IP? Whats does cat /etc/network/interfaces report? 192.168.1.254 is your routers IP?
 
  • Like
Reactions: MaximusMcfly

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!