NIC does not work with static IP but works with DHCP received IP

Vladimir Buzalka
Vladimir Buzalka used Ask the Experts™
on
Dear Experts

I have never seen this before. I have VM running W2012 R2 standard,¨

My NIC works normally when its address is received from DHCP.

When I assign this IP as static IP, it stops working.

Any idea why?

Thanks

Vladimir
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Carl WebsterCitrix Technology Professional - Fellow
Top Expert 2010

Commented:
What happens if you use Remote Desktop Connection to connect to that IP address?

I had a similar issue and it turned out to be the static IP I was given to use had been assigned to a SQL Server Always On Availability Group Listener. When I used RDC and connected to that IP, it was a SQL Server. DOH! Someone forgot to record the static IP they used and I was issued another IP.

Author

Commented:
dear Carl

it does not work with any IP address which I positively know is free.
Carl WebsterCitrix Technology Professional - Fellow
Top Expert 2010

Commented:
Did you RDC to that IP?
Should you be charging more for IT Services?

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!

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
The IP address as been assigned on your network!
Philip ElderTechnical Architect - HA/Compute/Storage

Commented:
Advanced IP Scanner. It's free. Download and run.

When this happens 99 times out of 100 it's because there is a device somewhere that is using that IP.

While DHCP in elevated CMD:
arp -a

Open in new window

That can reveal a lot too.

Author

Commented:
dear all, new information - it seems my information was not 100% true. I routinely test ping with local IP of my router 192.168.1.2

when I did this, there is no answer, as there is also DNS running on router, I cannot ping outside world.

BUT I CAN PING ANY COMP IN MY LOCAL NET and VICE VERSA.

So slightly different problem, but again no idea what is wrong?

Thanks

V
ipconfig /all when static assignmentipconfig /all when DHCP assignment
Top Expert 2016

Commented:
if you look the difference is dynamic has a gateway and static doesn't .. you need a gateway to the outside world
Philip ElderTechnical Architect - HA/Compute/Storage

Commented:
As David mentions, the gateway is missing.

Also, get rid of the public DNS servers in there. If there is a network blip your clients will direct all internal DNS queries to the public servers and they'll answer back, "Huh?". It is proper practice to only put internal DNS servers pointing to self if AD integrated and clients to point to an internal DNS source or sources only.
Dear experts, my fault, I could not PING router as I ticked in its settings to use IP/MAC binding :-(

So now all is OK again.

Have a nice day

Vladimir

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 Today