[SOLVED] VMs can't ping gateway on a certain node

menelaostrik

Member
Sep 7, 2020
24
0
6
39
Hi,
i've been facing this issue and have ran out of ideas on what the problem might be.
The host can access the internet just fine and everything works.
however within the VM i can only ping the host and nothing else.
Firewall within proxmox is disabled everywhere.
here is my config from the node:
root@hyper:~# qm config 201
agent: 1
boot: order=scsi0;ide2;net0
cores: 1
ide2: none,media=cdrom
memory: 1000
name: Various.icecast
net0: virtio=B2:DF:21:7A:EB:80,bridge=vmbr0
numa: 0
onboot: 1
ostype: l26
scsi0: hdd-zfs:vm-201-disk-0,size=32G
scsihw: virtio-scsi-pci
smbios1: uuid=5cbebf47-7470-459f-b6d5-de7b8ab72609
sockets: 1
vmgenid: 6cce389a-c2b1-488e-bd30-98c70e5b21ae
root@hyper:~# cat /etc/network
# 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

auto eno1
iface eno1 inet manual

auto eno2
iface eno2 inet manual

auto eno3
iface eno3 inet manual

auto eno4
iface eno4 inet manual

auto eno49
iface eno49 inet manual

auto eno50
iface eno50 inet manual

auto eno51
iface eno51 inet manual

auto eno52
iface eno52 inet manual

auto bond0
iface bond0 inet static
address 10.10.10.10/24
bond-slaves eno2 eno3 eno4 eno50 eno51
bond-miimon 100
bond-mode balance-rr

auto vmbr0
iface vmbr0 inet static
address 78.108.36.201/28
gateway 78.108.36.193
bridge-ports eno1
bridge-stp off
bridge-fd 0

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

and here is from the VM:
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-ens18
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
NAME=ens18
UUID=3c0b7d6e-988d-4ae0-8352-d64262149bfc
DEVICE=ens18
ONBOOT=yes
IPADDR=78.108.36.206
PREFIX=28
GATEWAY=78.108.36.193
DNS1=8.8.8.8
IPV6_PRIVACY=no
[root@localhost ~]#

Any help would be highly appreciated
Thank you in advance
 
Hi,

is your Proxmox running in some datacenter that might block unkown MAC addresses (aka the one of you VM)?
 
Hi,

is your Proxmox running in some datacenter that might block unkown MAC addresses (aka the one of you VM)?
Good idea!
unfortunately no.
I have found the culprit to be the migration process from another node.
While it's keeping the HWADDRESS of the virtio NIC during the migration process, i have to remove the nic and add it again every time i migrate and of course changing the connecting nic configuration files(like /etc/sysconfig/network-script/ifcfg-ens18 or ifcfg-eth0).

my initial thought was to update this thread with the new information but now i think its wiser to create a new.
i'm marking this thread as solved.
I will be happy if you could assist me in tis issue.

PS: sorry for my bad English
 
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!