[SOLVED] Windows VM won't connect to internet

FarrelSpa

New Member
Apr 28, 2023
4
0
1
I'm a newbie.
I just bought dedicated server and planning to create some rdp/vps.
I've got an issue that my windows 2012r2 vm have no internet conenction. Its always look like this 1682838966558.png.
I have 4 Ips (162.xxx.xxx.186 ~ 162.xxx.xxx.189). and here's my ipv4 configuration 1682839562895.png.
when i try to ping 8.8.8.8 it's always show like this 1682839636444.png, but when i change gateway to 162.xxx.xxx.186 it become 1682839723003.png.

Please help me.
 
Hi,

Please post the output of the Proxmox VE network config cat /etc/network/interfaces and the VM config as well qm config <VMID>.
 
as @_gabriel says,
step1 - remove vmbr1,2 and 3 from your config.
step2 - verify your host can ping a remote address like 8.8.8.8 or 1.1.1.1 (if not then this where your problem is, not on the VM config)
step3 - create a vm with a nic assigned to vmbr0 and a manual IP assigned like 162.xxx.xxx.188 and a gateway of 162.xxx.xxx.1
step4 - if all is now working, then both your host and your VM are directly connected to the public internet so consider the security implications of that (hopefully, you have a firewall in place)
 
as @_gabriel says,
step1 - remove vmbr1,2 and 3 from your config.
step2 - verify your host can ping a remote address like 8.8.8.8 or 1.1.1.1 (if not then this where your problem is, not on the VM config)
step3 - create a vm with a nic assigned to vmbr0 and a manual IP assigned like 162.xxx.xxx.188 and a gateway of 162.xxx.xxx.1
step4 - if all is now working, then both your host and your VM are directly connected to the public internet so consider the security implications of that (hopefully, you have a firewall in place)
oh my god, thank you so much. it worked now.