[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>.
 
you can't set the same ip to a bridge and to a vm.
remove ip on vmbr1+2+3 then assign vmbr0 to your VM.
 
Last edited:
  • Like
Reactions: Moayad
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.
 

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!