Windows 10 - DHCP IP Not working

Hello,

I have Installed and Configure OpenNebula 6.6 on Ubuntu 20.04, All Linux OS working well and i just completed creating Windows Template with reference of: How to Build an Image for Windows Virtual Machines – OpenNebula Customer Portal

All Seems to be working well except getting DHCP IPv4 from NAT Network, i have done my best for identify issue but i didn’t get any solution, i am asking help from Community Support how to overcome this issue.


Versions of the related components and OS (frontend, hypervisors, VMs):

Opennebula Frontend: v6.6 (Base OS: Ubuntu 20.04)

Openebula Hypervisor (KVM) Node: v6.6 (Base OS: Ubuntu 20.04)

Opennebula VM: Windows 10

onevm show 4
VIRTUAL MACHINE 4 INFORMATION
ID : 4
NAME : Windows 10 Enterprise-4
USER : oneadmin
GROUP : oneadmin
STATE : ACTIVE
LCM_STATE : RUNNING
LOCK : None
RESCHED : No
HOST : 95.217.XXX.XXX
CLUSTER ID : 0
CLUSTER : HelsinkiDC
START TIME : 12/23 18:44:29
END TIME : -
DEPLOY ID : 2443679f-1dd7-47d3-a66a-631768ee788c

VIRTUAL MACHINE MONITORING
CPU : 112.81
MEMORY : 64.1G
NETTX : 38K
NETRX : 2K
DISKRDBYTES : 1044075008
DISKRDIOPS : 43308
DISKWRBYTES : 184993792
DISKWRIOPS : 8202
ID : 4
TIMESTAMP : 1671814375

PERMISSIONS
OWNER : um-
GROUP : —
OTHER : —

VM DISKS
ID DATASTORE TARGET IMAGE SIZE TYPE SAVE
0 default sda Windows Enterprise 10 8.9G/64G file NO
1 - hda CONTEXT 1M/- - -

VM NICS
ID NETWORK BRIDGE IP MAC PCI_ID
0 cloud-br0 cloud-br0 172.16.0.2 02:00:ac:10:00:02
1 vswitch-br0 vswitch-br0 10.0.1.2 02:00:0a:00:01:02
2 vswitch-br1 vswitch-br1 - 02:00:0d:09:fa:ba
2a01:4f8:fff0:116::2

SECURITY

NIC_ID NETWORK SECURITY_GROUPS
0 cloud-br0 0
1 vswitch-br0 0
2 vswitch-br1 0

SECURITY GROUP TYPE PROTOCOL NETWORK RANGE
ID NAME VNET START SIZE
0 default OUTBOUND ALL
0 default INBOUND ALL

VIRTUAL MACHINE HISTORY
SEQ UID REQ HOST ACTION DS START TIME PROLOG
0 - - 95.217.XXX.XXX none 0 12/23 18:45:48 0d 00h07m 0h01m25s

USER TEMPLATE
HOT_RESIZE=[
CPU_HOT_ADD_ENABLED=“YES”,
MEMORY_HOT_ADD_ENABLED=“YES” ]
HYPERVISOR=“kvm”
MEMORY_UNIT_COST=“MB”
SCHED_REQUIREMENTS=“ID="0"”

VIRTUAL MACHINE TEMPLATE
AUTOMATIC_DS_REQUIREMENTS=“("CLUSTERS/ID" @> 0)”
AUTOMATIC_NIC_REQUIREMENTS=“("CLUSTERS/ID" @> 0)”
AUTOMATIC_REQUIREMENTS=“(CLUSTER_ID = 0) & !(PUBLIC_CLOUD = YES) & !(PIN_POLICY = PINNED)”
CONTEXT=[
DISK_ID=“1”,
ETH0_DNS=“172.16.0.1 185.12.x.x 185.12.x.x”,
ETH0_EXTERNAL=“”,
ETH0_GATEWAY=“172.16.0.1”,
ETH0_IP=“172.16.0.2”,
ETH0_IP6=“”,
ETH0_IP6_GATEWAY=“”,
ETH0_IP6_METHOD=“”,
ETH0_IP6_METRIC=“”,
ETH0_IP6_PREFIX_LENGTH=“”,
ETH0_IP6_ULA=“”,
ETH0_MAC=“02:00:ac:10:00:02”,
ETH0_MASK=“255.255.0.0”,
ETH0_METHOD=“”,
ETH0_METRIC=“”,
ETH0_MTU=“”,
ETH0_NETWORK=“172.16.0.0”,
ETH0_SEARCH_DOMAIN=“”,
ETH0_VLAN_ID=“”,
ETH0_VROUTER_IP=“”,
ETH0_VROUTER_IP6=“”,
ETH0_VROUTER_MANAGEMENT=“”,
ETH1_DNS=“”,
ETH1_EXTERNAL=“”,
ETH1_GATEWAY=“10.0.1.1”,
ETH1_IP=“10.0.1.2”,
ETH1_IP6=“”,
ETH1_IP6_GATEWAY=“”,
ETH1_IP6_METHOD=“”,
ETH1_IP6_METRIC=“”,
ETH1_IP6_PREFIX_LENGTH=“”,
ETH1_IP6_ULA=“”,
ETH1_MAC=“02:00:0a:00:01:02”,
ETH1_MASK=“255.255.255.0”,
ETH1_METHOD=“”,
ETH1_METRIC=“”,
ETH1_MTU=“1400”,
ETH1_NETWORK=“10.0.0.0”,
ETH1_SEARCH_DOMAIN=“”,
ETH1_VLAN_ID=“”,
ETH1_VROUTER_IP=“”,
ETH1_VROUTER_IP6=“”,
ETH1_VROUTER_MANAGEMENT=“”,
ETH2_DNS=“2a01:4ff:ffxx::add:1 2a01:4ff:ffxx::add:2”,
ETH2_EXTERNAL=“”,
ETH2_GATEWAY=“”,
ETH2_IP=“”,
ETH2_IP6=“2a01:4f8:fff0:xxx::2”,
ETH2_IP6_GATEWAY=“2a01:4f8:fff0:xxx::1”,
ETH2_IP6_METHOD=“”,
ETH2_IP6_METRIC=“”,
ETH2_IP6_PREFIX_LENGTH=“64”,
ETH2_IP6_ULA=“”,
ETH2_MAC=“02:00:0d:09:fa:ba”,
ETH2_MASK=“”,
ETH2_METHOD=“”,
ETH2_METRIC=“”,
ETH2_MTU=“1400”,
ETH2_NETWORK=“”,
ETH2_SEARCH_DOMAIN=“”,
ETH2_VLAN_ID=“”,
ETH2_VROUTER_IP=“”,
ETH2_VROUTER_IP6=“”,
ETH2_VROUTER_MANAGEMENT=“”,
NETWORK=“YES”,
ONEGATE_ENDPOINT=“http://65.xx.88.xx:5030”,
REPORT_READY=“YES”,
SSH_PUBLIC_KEY=“ssh-ed25519 AAAAC3NzaxxxxxxC1lZDI1NTE5AAAAIK+MCgBYuchnqkfY99OiMDrxyvdy9erEDZfghHbhnTi9k”,
TARGET=“hda”,
TOKEN=“YES”,
VMID=“4” ]
CPU=“0.5”
CPU_MODEL=[
MODEL=“host-passthrough” ]
CREATED_BY=“0”
FEATURES=[
ACPI=“yes”,
APIC=“no”,
GUEST_AGENT=“yes”,
HYPERV=“yes”,
IOTHREADS=“0”,
LOCALTIME=“yes”,
PAE=“no”,
VIRTIO_SCSI_QUEUES=“4” ]
GRAPHICS=[
LISTEN=“0.0.0.0”,
PORT=“5904”,
TYPE=“VNC” ]
INPUT=[
BUS=“usb”,
TYPE=“tablet” ]
MEMORY=“16384”
MEMORY_MAX=“65536”
MEMORY_RESIZE_MODE=“BALLOONING”
NIC_DEFAULT=[
MODEL=“virtio” ]
OS=[
ARCH=“x86_64”,
SD_DISK_BUS=“scsi”,
UUID=“2443679f-1dd7-47d3-a66a-631768ee788c” ]
SUBMIT_ON_HOLD=“YES”
TEMPLATE_ID=“21”
TM_MAD_SYSTEM=“ssh”
VCPU=“8”
VCPU_MAX=“16”
VMID=“4”

Current results:

It sounds like you’re having trouble getting a DHCP IPv4 from NAT Network in your OpenNebula environment with a Windows 10 virtual machine. That can be frustrating! Have you tried checking your network settings to make sure everything is configured correctly? You may also want to look into updating your drivers or checking for any compatibility issues with your hardware.
If you’re still having trouble, it might be helpful to reach out to the reddit windows key community for support. They might have some additional tips or tricks that could help you resolve this issue. Don’t forget to include all the relevant information about your system, such as the versions of the related components and OS.