Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Servers that have been set to Static IP are reconfiguring the ip to the 169.0.0.0 range after reboot

Posted on 2009-07-10
14
563 Views
Last Modified: 2012-05-07
We have a Citrix Xen server from Dell that is the host for two Windows 2008 servers. When we bring the Windows Servers up using DHCP the servers get an IP address in the 10.0.0.0 range (which is correct), but as you can imagine; we want our servers to be static! Here is when we get into trouble. When we set the NIC to use a static IP in the 10.0.0.0 range everything resets and all is well. That is until it gets rebooted; then we get an IP of the 169.0.0.0.0 range when it returns.

I understand that the 169 is the address range that is the windows Automatic Private Address range, but why would it be assigning that when it has been assigned an IP of the 10.0.0.0 range?

Any thoughts?
What other info do you need to help us? Thanks a ton Experts!
0
Comment
Question by:neil1997
  • 6
  • 5
  • 2
  • +1
14 Comments
 
LVL 4

Expert Comment

by:astrochimp
ID: 24825378
Could it be that they're reverting to an earlier snapshot?
0
 
LVL 9

Expert Comment

by:nick2253
ID: 24825448
It might also be that the static IP you are assigning is in the DHCP range.  Make sure that it is not.
0
 
LVL 30

Expert Comment

by:Britt Thompson
ID: 24825501
Don't suppose you've updated the NIC drivers? If not, do it and make sure it's the drivers from Dell's website.

If it's not either of the previous, changing the default APIPA address to the one you need may be a workaround.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:neil1997
ID: 24826065
Sorry, it has taken so long for me to get back to this.

astrochimp: everything is new. There haven't been any snapshots made

nick2253: It is not in the DHCP range

renazonse: we will try the NIC driver updates

More info:
I have noticed that both machines have a number after the "local area connection" adapter like "local area connection 7" The other administrator that set these up says he doesn't know why those are there. It behaves as if the adapters are being recreated on each bootup.
0
 

Author Comment

by:neil1997
ID: 24826142
It is not doing that after all. A reboot didn't increment the number. It was a thought.
0
 

Author Comment

by:neil1997
ID: 24826261
the local area connection 7 might be from having 7 adapters on the xen server and all were assigned to the server at the begining. We changed that and then just mapped one to that vm. Which would have been called 7. The others were probably just deleted after that by the other administrator.
0
 
LVL 9

Accepted Solution

by:
nick2253 earned 500 total points
ID: 24826335
The following workaround might work:

Use your DHCP server to forcibly assign the IP to the Windows Server NICs based on their MAC addresses.  Even virtual adapters will have MAC addresses.  This way, the servers are set using DHCP, but are really receiving a static IP.

Cheers,
Nick
0
 
LVL 30

Expert Comment

by:Britt Thompson
ID: 24826431
Actually, are the virtual machines clones of one another? If so, they may have the same virtual mac address causing the cards to freak out.
0
 

Author Comment

by:neil1997
ID: 24826750
We thought of that workaround too, but our DHCP is done by our router and that is a feature that it doesn't have.

The servers aren't clones; both were fresh installs. I have verified that the MAC addresses are not the same.

Thanks guy's you are giving us great things to check! I feel like a solution is close.
0
 
LVL 9

Expert Comment

by:nick2253
ID: 24827328
Are the 169.0.0.0 IP addresses set as the static IP in TCP/IP properties after reboot?  Or is it that the desired static IP is still set in TCP/IP properties, but the network adapter gets the 169.0.0.0 IP?

Oh, one idea just popped into my head:  do the servers have the IPv6 protocol installed?  A conflict between the IPv6 and IPv4 may cause the problem.  Try uninstalling the IPv6 if it is installed.  You'd see it in the properties of the network adapter if it were installed.

Cheers,
Nick
0
 

Author Comment

by:neil1997
ID: 24828279
Yes it is the adapter only. The tcp/ip properties still have the proper ip settings. For the adapter: ipv6 is listed, but we unchecked the box next to it, since we knew we wouldn't use it. Is unchecking that box what you mean by uninstalling ipv6? Or is there somewhere else to actually remove it?
0
 
LVL 9

Expert Comment

by:nick2253
ID: 24828309
Unchecking the box should be sufficient, however you can always uninstall it with the uninstall button just below the listing.  A last ditch idea might be to uncheck/uninstall the QoS Packet Scheduler as I  have had problems with it, but those were problems related to wireless internet access.

Hopefully another expert has some advice because I'm getting stumped!

Good luck,
Nick
0
 
LVL 9

Expert Comment

by:nick2253
ID: 24828344
What about this workaround:

Write a batch file that does the following:

ipconfig /release
ipconfig /renew

and set it to start on boot up.

Good Luck,
Nick
0
 

Author Closing Comment

by:neil1997
ID: 31602160
Your comment about MAC addresses and virtual adapters led us to remove old NICs by setting device manager to show nonpresent devices and uninstalling all the adapters listed. Even the current one. Once the NIC was reinstalled on reboot, I set the IP and rebooted again. All is well. Thanks a bunch for leading us in the right direction.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question