unable to assign a static IP to a 2019 VM?

TopCat-007
TopCat-007 used Ask the Experts™
on
I’m unable to assign a static IP address to 2019 VM, it picks up DHCP addresses just fine but when I add static it changes to a 169.254.231.x address, the IP address I’m assigning isn’t in use.  I’m stumped 🤔
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Brian BEE Topic Advisor, Independant Technology Professional

Commented:
I don't think it has anything to do with being a VM. What is the operating system on the guest server? When does it change, at restart, or as soon as you click OK? It also sounds lie you are getting a default DHCP address, so is it showing as static, or DHCP?

But since it is a VM, I would remove the network card and restart the guest. Then add the network card back in.

Author

Commented:
2019 host and 2019 VM, it happens as I press ok on the 2019 VM however it happened on another server on reboot.

Author

Commented:
ah the static IP address shows up as 10.1.1.2 (duplicate) with ipconfig /all
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Brian BEE Topic Advisor, Independant Technology Professional

Commented:
So Microsoft Windows Server 2019, then.

Anyway, that sounds like your problem there. Have to figure out how you got two IPs.
the IP address was assigned to another device, found it by looking at the arp cache (arp-a) the device doesn’t respond to pings.  The strange thing was I had to restart the PC before any other IP address on the same range would apply.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
That's correct !!! Does not respond to pings  - firewall enabled?

IP Conflict!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial