Can't access internet

ed9

New Member
Feb 25, 2021
4
0
1
20
Good day to all,

The problem is that I somehow can't access internet from VM (Ubuntu 20.04 LTS). I have dedicated server (which I rent from provider) and external IP block /24. Proxmox network: Mlnx NIC (ens1) and vmbr0. Can ping 8.8.8.8, network is accessible from shell (Host). Configured manually VM's network, so for now I can ping my vmbr0, but can not ping gateway and 8.8.8.8; Where can be main issue? I'm not sure, but have a feeling like something is blocking traffic from VM to gateway. VM firewall is disabled, Hosts firewall - default. Can a misconfiguration of VLAN be the cause of the issue? (Haven't already configured any VLAN's, but know that provider use for some reasons)

P.S. Network was configured in Ubuntu with GUI.
 
Last edited:
hi,

* how does /etc/network/interfaces look on your PVE host?

* how is the VM network configured? is it using static IP or dhcp?

I'm not sure, but have a feeling like something is blocking traffic from VM to gateway.
* ip r will tell you if you have the necessary networking route
 
Hi @oguz, thank you for the reply!

/etc/network/interfaces

(IP address here changed)

Code:
auto lo
iface lo inet loopback

auto eno1np0
iface eno1np0 inet manual

iface eno2np1 inet manual

iface enxb03af2b6059f inet manual

auto vmbr0
iface vmbr0 inet static
        address 98.76.54.32/24
        gateway 98.76.54.1
        bridge-ports eno1np0
        bridge-stp off
        bridge-fd 0

VM is using static IP address (IPv4 Method: Manual):

Address: 98.76.54.40
Netmask: 255.255.255.0
Gateway: 98.76.54.1


ip r :

default via 98.76.54.1 dev ens18 proto static metric 20100
169.254.0.0/16 dev ens18 scope link metric 1000 (IP not changed)
98.76.54.0/24 dev ens18 proto kernel scope link src 98.76.54.40 metric 100
 
network conf on host looks normal, can you also post ip a output from both host and VM?

* is this the only VM with connectivity issue?

* can you also try with an ubuntu container using the network same settings?
 

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!