[SOLVED] No internet connection from server

angelo_

New Member
Sep 4, 2020
3
1
3
25
I installed proxmox ve6.2-1 and at first could access either the webui or the internet, I switched the default config

auto lo iface lo inet loopback iface wlp2s0 inet manual auto vmbr0 iface vmbr0 inet static address 192.168.1.69 netmask 255.255.255.0 gateway 192.168.1.1 bridge_ports wlp2s0 bridge_stp off bridge_fd 0

to

auto lo iface lo inet loopback auto enp1s0 iface enp1s0 inet static address 192.168.1.69 netmask 255.255.255.0 gateway 192.168.1.1 post-up echo 1 > /proc/sys/net/ipv4/ip_forward post-up echo 1 > /proc/sys/net/ipv4/conf/eno1/proxy_arp auto vmbr0 iface vmbr0 inet static address 203.0.113.17 netmask 255.255.255.248 bridge_ports none bridge_stp off bridge_fd 0

as per the network config page of the wiki , I can access the webui from https://192.168.1.69:8006 and open a shell from here but I can't even run apt update as it gives me an error that suggests there is no connectivity
root@pve:~# apt update Err:1 http://ftp.it.debian.org/debian buster InRelease Temporary failure resolving 'ftp.it.debian.org' Err:2 http://ftp.it.debian.org/debian buster-updates InRelease Temporary failure resolving 'ftp.it.debian.org' Err:3 http://download.proxmox.com/debian/pve buster InRelease Temporary failure resolving 'download.proxmox.com' Err:4 http://security.debian.org buster/updates InRelease Temporary failure resolving 'security.debian.org' Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. W: Failed to fetch http://ftp.it.debian.org/debian/dists/buster/InRelease Temporary failure resolving 'ftp.it.debian.org' W: Failed to fetch http://ftp.it.debian.org/debian/dists/buster-updates/InRelease Temporary failure resolving 'ftp.it.debian.org' W: Failed to fetch http://download.proxmox.com/debian/pve/dists/buster/InRelease Temporary failure resolving 'download.proxmox.com' W: Failed to fetch http://security.debian.org/dists/buster/updates/InRelease Temporary failure resolving 'security.debian.org' W: Some index files failed to download. They have been ignored, or old ones used instead.

I also tried changing the dns from 127.0.0.1 to cloudflare's 1.1.1.1 but doing so results in me being still able to access the webui but not able to open a shell.
It's my first attempt at doing anything with proxmox but the same pc worked fine with ubuntu server and can connect to the internet with it using enp1s0, the default vmbr0 didn't allow me to connect to the webui and the device didn't appear on either the router webui or using an ipscanner

cat /etc/hosts gives
127.0.0.1 localhost.localdomain localhost 192.168.1.69 pve.test.invalid pve # The following lines are desirable for IPv6 capable hosts ::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
 
Hi,

auto lo
iface lo inet loopback

iface wlp2s0 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.1.69
netmask 255.255.255.0
gateway 192.168.1.1
bridge_ports wlp2s0
bridge_stp off
bridge_fd 0


Have you switched interface wifi to cable?

could you please post output of ip a
 
Hi,




Have you switched interface wifi to cable?

could you please post output of ip a
I never configured wifi with proxmox, from install I ran it with a cable, sure, the output is:
ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 88:ae:1d:9a:8d:bf brd ff:ff:ff:ff:ff:ff inet 192.168.1.69/24 brd 192.168.1.255 scope global enp1s0 valid_lft forever preferred_lft forever inet6 fe80::8aae:1dff:fe9a:8dbf/64 scope link valid_lft forever preferred_lft forever 3: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 4c:0f:6e:3d:21:11 brd ff:ff:ff:ff:ff:ff 4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000 link/ether 2a:72:52:fe:1e:51 brd ff:ff:ff:ff:ff:ff inet 203.0.113.17/29 brd 203.0.113.23 scope global vmbr0 valid_lft forever preferred_lft forever inet6 fe80::2872:52ff:fefe:1e51/64 scope link valid_lft forever preferred_lft forever
 
It was on the wlp2s0 interface. Can I know why you switched?

Can you post output of ifreload -a
 
It was on the wlp2s0 interface. Can I know why you switched?

Can you post output of ifreload -a
Because I checked what Ubuntu used on the same device and or used enp1s0. I managed to solve the issue changing the dns to google's in the webui
 
  • Like
Reactions: Moayad

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!