[SOLVED] Windows VM - no connection

Azunai

Member
Sep 28, 2019
17
1
6
33
Hello everyone,
I just installed my pve 6.3-2 like this
https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Buster
followed by this
https://pve.proxmox.com/wiki/Windows_2019_guest_best_practices

Since i only have 1 IP i choose the NAT setup explained here
https://pve.proxmox.com/wiki/Networ...ith_tt_span_class_monospaced_iptables_span_tt

my pve hosts /etc/network/interfaces file looks like this:
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eno1
iface eno1 inet dhcp


auto vmbr0
iface vmbr0 inet static
        address  10.10.10.1
        netmask  255.255.255.0
        bridge-ports none
        bridge-stp off
        bridge-fd 0

        post-up   echo 1 > /proc/sys/net/ipv4/ip_forward
        post-up   iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o eno1 -j MASQUERADE
        post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o eno1 -j MASQUERADE

        #In some masquerade setups with firewall enabled, conntrack zones might be needed for outgoing connections. Otherwise the firewall could
        #post-up   iptables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1
        #post-down iptables -t raw -D PREROUTING -i fwbr+ -j CT --zone 1

# This is an autoconfigured IPv6 interface
iface eno1 inet6 auto

my VMs config:
Code:
 qm config 100
agent: 1
balloon: 16384
boot: order=scsi0;ide2;net0
cores: 16
ide2: local:iso/SW_DVD9_Win_Server_STD_CORE_2019_1809.9_64Bit_German_DC_STD_MLF_X22-45000.ISO,media=cdrom,size=5384746K
ide3: local:iso/virtio-win-0.1.185.iso,media=cdrom,size=402812K
memory: 32768
name: testvm
net0: virtio=66:CC:42:C4:B8:11,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsi0: local:100/vm-100-disk-0.qcow2,cache=writeback,discard=on,size=500G
scsihw: virtio-scsi-pci
smbios1: uuid=6ff613b4-2598-4f88-8534-651be39a8fd6
sockets: 1
vmgenid: 29f953ed-51fa-4560-b83a-304b8d3fddb8

within my windows VM network shows:
2KGyXL6


i also tried a static ip:


i can not ping from the host to the gues and not from the guest to the host, both times i get destination host unreachable
i have not touched any firewall settings on the pve, neither on the node nor the vms
 
Last edited:
  • Like
Reactions: jpa19
I have no idea what changed, i literaly just gave the server a day off and now the windows VM is fine...
 
I had exactly the same issue and exactly the same solution. Just wait a day and everything was OK then.

Not sure, where can be the issue. Maybe because I installed Proxmox inside a VM (VMware)?
 

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!