No Network Access From VM

Klystrom

New Member
Feb 4, 2021
10
0
1
44
Hi, I am just starting to explore Proxmox for a homelab deployment and I have spun up a two VMs (pfSense and Ubuntu) to play around with.

The problem I am facing is that proxmox is able to have internet access and able to ping local machines. However, neither of the 2 VMs is able to ping anything, not even each other.

Proxmox is sitting behind the ISP router and I have a PiHole box which is showing all 3 (Proxmox, pfSense and Ubuntu) is requesting for DNS and their requests were being serviced/replied. Just for some reason none of them are able to ping to local machines nor out to the internet.

Firewall on Proxmox network is turned off. Both VMs are connected to only vmbr0.

Here's the interface details for Proxmox:
Code:
Last login: Thu Feb  4 22:42:41 +08 2021 on pts/0
Linux proxmox 5.4.73-1-pve #1 SMP PVE 5.4.73-1 (Mon, 16 Nov 2020 10:52:16 +0100) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@proxmox:~# cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

iface enp0s3 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.133/24
        gateway 192.168.1.1
        bridge-ports enp0s3
        bridge-stp off
        bridge-fd 0

auto vmbr1
iface vmbr1 inet manual
        bridge-ports none
        bridge-stp off
        bridge-fd 0
#Internal trunk

Could anyone help me with this? Thanks in advance!
 
hi,

can you post the output of cat /etc/resolv.conf from Ubuntu VM or you can try dhclient as well
 
hi,

can you post the output of cat /etc/resolv.conf from Ubuntu VM or you can try dhclient as well
1612624427787.png

Also, it seems like resolvconf is not installed by default and I couldn't install it due to no internet access. It's a fresh install of Ubuntu.

1612625236867.png

Not sure what to make of this tho..


When you said that none can ping ...
you tried to ping an IP address (ping 8.8.8.8) or a machine name (ping www.google.com) ?
Regards
1612624468092.png



Funny enough does it seems to be the DNS queries are going to itself instead of the resolver in my network(piHole at 192.168.1.10)? However Ubuntu network info seems to be showing the correct network info.
1612624696788.png

Please advise and thanks for the swift response!
 
Last edited:
As your ping does not seem to work, that is to say that you can't reach the IP ...
The name resolution contacts an IP do ask it the Ip corresponding to a name.
If you cannot reach outside IP, you can't make the queries so your name resolution can't work.
In the previous screen, the default route (gateway) seems to go to 192.168.1.1.
Can you ping 192.168.1.1 ? Does it work ?
 
As your ping does not seem to work, that is to say that you can't reach the IP ...
The name resolution contacts an IP do ask it the Ip corresponding to a name.
If you cannot reach outside IP, you can't make the queries so your name resolution can't work.
In the previous screen, the default route (gateway) seems to go to 192.168.1.1.
Can you ping 192.168.1.1 ? Does it work ?
That's not working either.
 
It's pretty simple (at least for now).

One physical NIC enp0s3 is connected to internal Linux bridge vmbr0. These I think comes default when I installed Proxmox.

Then I added another Linux bridge vmbr1 which I am currently not using.

Both VMs are connected to vmbr0.

For the exact configuration I think this would describe it better.
Code:
Last login: Thu Feb  4 22:42:41 +08 2021 on pts/0
Linux proxmox 5.4.73-1-pve #1 SMP PVE 5.4.73-1 (Mon, 16 Nov 2020 10:52:16 +0100) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@proxmox:~# cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

iface enp0s3 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.133/24
        gateway 192.168.1.1
        bridge-ports enp0s3
        bridge-stp off
        bridge-fd 0

auto vmbr1
iface vmbr1 inet manual
        bridge-ports none
        bridge-stp off
        bridge-fd 0
#Internal trunk
 
There is only one network card and it's connected to vmbr0 at Proxmox side, VMs are both connected to vmbr0.
 
I am very new to Proxmox, hence I did not change the firewall settings, they are at defaults. As far as I am able to tell, it's not activated.

Where do you suggest I check?

And not able to ping Ubuntu from my PC nor Android phone.
 
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!