How to add multiple DHCP private IP addresses on a single NIC from inside Windows OS

Rasool SB 0 Reputation points
2023-04-29T04:03:04.8266667+00:00

I have successfully added the secondary DHCP private IP address in azure portal. when I tried to run ipconfig /all, it shows only one IP address and that is primary IP address. Then I tried to add the IP address from inside windows operating system in "Advanced TCP/IP settings" it is not allowing. The "Add" button is greyed out. I am assuming that this is happening due to "DHCP enabled" hence I am unable to add another secondary DHCP private IP address.

Please guide me how to proceed further configuring secondary DHCP private IP address from inside windows operating system.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,122 questions
Windows Network
Windows Network
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Network: A group of devices that communicate either wirelessly or via a physical connection.
648 questions
Windows DHCP
Windows DHCP
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.DHCP: Dynamic Host Configuration Protocol (DHCP). A communications protocol that lets network administrators manage centrally and automate the assignment of Internet Protocol (IP) addresses in an organization's network.
1,021 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,162 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Boris Von Dahle 3,116 Reputation points
    2023-04-29T14:12:44.9233333+00:00

    Hello,

    When using DHCP, you cannot manually add multiple IP addresses to a single network interface from within the Windows operating system. DHCP automatically assigns IP addresses to the NIC, and you won't be able to add additional IP addresses manually.

    Can I deploy a DHCP server in a VNet?

    Azure VNets provide DHCP service and DNS to VMs and client/server DHCP (source port UDP/68, destination port UDP/67) not supported in a VNet. You cannot deploy your own DHCP service to receive and provide unicast/broadcast client/server DHCP traffic for endpoints inside a VNet. It is also an unsupported scenario to deploy a DHCP server VM with the intent to receive unicast DHCP relay (source port UDP/67, destination port UDP/67) DHCP traffic.

    https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq#can-i-deploy-a-dhcp-server-in-a-vnet:~:text=Can%20I%20deploy%20a-,DHCP,-server%20in%20a%20VNet%3F

    If you found this answer usefull please mark it as accepted so others can find this topic

    0 comments No comments