No internet

ewenlau

New Member
May 16, 2022
2
0
1
Hello,
I recently installed proxmox on a computer but the shell has no internet. VM can get internet but not the host shell. The proxmox version is the last. I can ping other computers within the local network.

ip a
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: enp14s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
link/ether f8:a9:63:89:a1:0f brd ff:ff:ff:ff:ff:ff
3: wlo1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 9c:ad:97:9e:9d:19 brd ff:ff:ff:ff:ff:ff
altname wlp7s0f0
4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether f8:a9:63:89:a1:0f brd ff:ff:ff:ff:ff:ff
inet 192.168.1.56/24 scope global vmbr0
valid_lft forever preferred_lft forever
inet6 fe80::faa9:63ff:fe89:a10f/64 scope link
valid_lft forever preferred_lft forever

ip l

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp14s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether f8:a9:63:89:a1:0f brd ff:ff:ff:ff:ff:ff
3: wlo1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 9c:ad:97:9e:9d:19 brd ff:ff:ff:ff:ff:ff
altname wlp7s0f0
4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether f8:a9:63:89:a1:0f brd ff:ff:ff:ff:ff:ff

ip r

192.168.1.0/24 dev vmbr0 proto kernel scope link src 192.168.1.56

I'm pretty new to linux so if anyone can help it would be great. By the way I know my english is bad, i'm sorry but I'm french.
 
Last edited:

pilgrimage

Member
Oct 17, 2021
37
0
6
41
in the same way, after I upgrade to 7.2.3, the host machine does not go to the internet, but the vms do. I think it's a bug. However, they still did not offer a solution.Unable to assign host ip Google.com or any website when you want to ping from the host. You must be getting the network is unreachable error too? this way?
 
Last edited:

Dunuin

Famous Member
Jun 30, 2020
6,783
1,579
149
Germany
What does your network configuration look like (cat /etc/network/interfaces, cat /etc/hosts, cat /etc/resolv.conf)? Did you make sure the gateway and DNS server is setup correctly?
When guests can go online but the host not, its usually either:
1.) wrong gateway
2.) wrong DNS server
3.) double use of IPs, IP already used by another host
4.) host got 2 IPs in the same subnet
5.) using a IP of a wrong subnet
6.) bad firewall rules
 
Last edited:

pilgrimage

Member
Oct 17, 2021
37
0
6
41
When I manually give the internet ip to the ethernet of the main machine(host), I log out to the internet without any problems. But interestingly it can't get n internet ip from dhcp.Where can I make and control what settings to receive over DHCP on the host?

thankyou.

cat/etc/network/interface

auto lo
iface lo inet loopback

iface eno1 inet manual

auto enp1s0
iface enp1s0 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.100.2/24
bridge-ports eno1
bridge-stp off
bridge-fd 0
#LOCAL

auto vmbr1
iface vmbr1 inet manual
bridge-ports enp1s0
bridge-stp off
bridge-fd 0
#INTERNET1


root@pve:~# cat /etc/resolv.conf
search mg.cv.tr
nameserver 10.255.0.31
nameserver 10.255.0.32
nameserver 8.8.8.8



root@pve:~# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.100.2 pve.tesla.local 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
 

ewenlau

New Member
May 16, 2022
2
0
1
Hello, thank you for your replies.

You must be getting the network is unreachable error too? this way?

It says:
ping: google.com: Temporary failure in name resolution


What does your network configuration look like (cat /etc/network/interfaces, cat /etc/hosts, cat /etc/resolv.conf)? Did you make sure the gateway and DNS server is setup correctly?

cat /etc/network/interfaces

auto lo
iface lo inet loopback

iface enp14s0 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.1.56/24
gateway 192.168.1.255
bridge-ports enp14s0
bridge-stp off
bridge-fd 0

iface wlo1 inet manual

cat /etc/hosts

127.0.0.1 localhost.localdomain localhost
192.168.1.56 ####### #######

# 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

cat /etc/resolv.conf

search local
nameserver 4.4.4.4


Should I install an older version of proxmox? Or do any configuration changes?
 

xevilstar

New Member
May 24, 2022
2
0
1
pve version 7.2-4
all vm can reach/are reachable.
wan is on vmbr0 (physical interface ens10f0 )
default gw is configured on vmbr0
internal lan is on vmbr1 which is purely virtual.
lan gw is a vm firewall.
If I activate the datacenter firewall the proxmox cannot ping nor resolve anything outside.
can anyone advise me ?
 

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 your own in 60 seconds.

Buy now!