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
$ apt update
The config is following:
/etc/hosts
/etc/hostname
/etc/resolv.conf
Any ideas?
$ 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
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
Code:
pve
Code:
nameserver 192.168.1.254
options enp4s0
Any ideas?