windows kvm no NAT ip

si458

Renowned Member
im having an issue with a windows kvm
i have got 2 lan cards connected to the windows kvm
one thats a public ip vmbr0
and another that connects into the NAT

however the windows server isnt getting an ip address from the NAT?
the weird thing is that i have installed a linux kvm server and that gets an ip from the NAT without any issue but the windows machine doesnt?

also ive given the windows server 2 lan cards because i want to VPN into the server via public ip address and it gives me an ip address from the NAT so i can access my servers in the NAT remotely

any ideas?

cheers

SASmith
Simon Smith
 
post the /etc/qemu-server/VMID.conf file of this windows VM, also the /etc/network/interfaces from the Proxmox VE host.
and last, the output of 'pveversion -v'
 
proxmox:~# tail -n50 /etc/qemu-server/123.conf
name: Win2003R2
ide2: none,media=cdrom
vlan0: rtl8139=6A:2A:19:83:3D:60
bootdisk: ide0
ostype: w2k3
ide0: local:123/vm-123-disk-1.vmdk
memory: 512
sockets: 1
onboot: 1
cores: 1
vlanu: rtl8139=42:B4:2C:E0:14:92
proxmox:~# tail -n50 /etc/network/interfaces
# network interface settings
auto lo
iface lo inet loopback

iface eth0 inet manual

auto vmbr0
iface vmbr0 inet static
address 217.28.20.xxx
netmask 255.255.255.128
gateway 217.28.20.xxx
bridge_ports eth0
bridge_stp off
bridge_fd 0

proxmox:~# pveversion -v
pve-manager: 1.8-17 (pve-manager/1.8/5948)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.8-33
pve-kernel-2.6.32-4-pve: 2.6.32-33
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-17
vncterm: 0.9-2
vzctl: 3.0.26-1pve4
vzdump: 1.2-12
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.14.0-3
ksm-control-daemon: 1.0-5
proxmox:~#
 
looks fine, I assume its an issue inside your windows VM.
 
as I said, looks like an issue inside windows so you should debug inside why you do not get an IP, see your network config, device manager etc. It works here without problems.
 
ive tried debugging inside windows and its still not working...
ive tried using the virtio drivers and still nothing
changed mac address and still nothing! :(

can i debug the proxmox server and see if the nat request is going threw correctly?

also if i add a second network card in, the server suddenly cant see the network, and ping anything?
 
ive manage to get it working now,

i did the following steps
1. remove all network cards, start windows to prove no lan cards
2. shutdown machine, then add 1 Lan card as NAT and virtio
3. prove LAN card works on NAT fine with internet searching and ping
4. shutdown machine, then add 2nd Lan card in as vmbr0 and virtio
5. change the 2nd Lan card to manual ip address, then prove LAN card works on vmbr0 with internet searching and ping

cheers
 

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!