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 for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
Windows for business | Windows Server | User experience | Other
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Boris Von Dahle 3,221 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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.