VMs cannot connect to the internet and not getting ip form dhcp server

netcoden_faisal

New Member
Jun 16, 2022
6
0
1
Hello
i have installed proxmox 7.1 on esxi, my host meachine got ip through dhcp but vms dont!
i am using the default bridge configuration, and cannot ping my host or gateway vice versa so i set static ip and can ping host but cannot ping gateway from vm
my router is pfsense

gateway ip 192.168.20.1
host proxmomx ip 192.168.20.110
vm ip (static) : 192.168.20.230

can someone help me with this ?
 

Attachments

  • net_config.png
    net_config.png
    11.7 KB · Views: 22
Last edited:
Hi,
did you enable the firewall? WIth hosst you mean the esxi machine or the Proxmox one?
 
Can you post your Proxmox /etc/network/interfaces config as well as one of the VM configs qm config <vmid>. Additonally the network config of the VM would be interessting as well.
 
Hi,
hm ... nothing obious here either. What does ip a and ip r say?
 
where in the vm?
in the vm i gave a static ip but if its dhcp then it dosnt get ipScreenshot from 2022-06-21 17-36-12.png
this is ip r
 
Last edited:
This also looks pretty normal. I'm guessing you restarted the VM & server at some point? What does ping 8.8.8.8 look like?