Solved

how to force ipv4 precedence in server 2008

Posted on 2011-03-01
6
2,917 Views
Last Modified: 2012-08-13
We are using MS System Center Virtual Machine Manager to centralize management of Hyper-V installations.  One of our Hyper-V customers enabled IPv6 on their server for their own purposes or experimentation.  Our VMM server lost connectivity to it because it is pulling the AAAA record, and some of our internal routers/switches do not support IPv6 yet.  We need to force the VMM to give IPv4 precedence.  How can we do that?
0
Comment
Question by:Steve Bink
  • 3
  • 3
6 Comments
 
LVL 19

Accepted Solution

by:
bevhost earned 300 total points
ID: 35015928
Look at

netsh int ipv6 int show/set prefixpolicy

similar to gai.conf under linux as per RFC 3484
0
 
LVL 50

Assisted Solution

by:Steve Bink
Steve Bink earned 0 total points
ID: 35120253
While the solution certainly does appear to work as advertised, we ended up disabling IPv6 on the SCVMM machine.  The powers-that-be did want to mess with configuration through netsh.

There is also another solution I found from Microsoft, which appears to be a little easier to implement:

http://support.microsoft.com/kb/929852

0
 
LVL 19

Expert Comment

by:bevhost
ID: 35121156
Well that's fair enough if you have no need for IPv6 but I recommend strongly against it.
You could end up having to disable IPv6 on all your servers.
That could create a real mess when you eventually have to turn it back on one day in the furture.

In particular, any Win7 or Vista machine which doesn't also have IPv6 disabled that finds a DNS entry pointing to the (disabled) Ipv6 interface of your server will have problems.
0
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 
LVL 50

Author Comment

by:Steve Bink
ID: 35121870
>>> [ ... ] I recommend strongly against it.

So do I.  I'm very much in favor of maintaining a functional IPv6 environment.  I believe it is coming up sooner than we think.  Unfortunately, our network admin is resistant (he believes it will not happen for the next 100 years..?!) and management is unwilling to push the issue.

Luckily, it is only this one particular customer that is playing with IPv6, and it only happens to interfere with this one server because of the Hyper-V involvement.  The "fix" should be adequate for now.

What are your thoughts on the alternative solution from Microsoft?  Have you played with precedence using that method?
0
 
LVL 19

Expert Comment

by:bevhost
ID: 35123671
>> Have you played with precedence using that method?

I have, but only on linux servers.
Apparently this also requires adjustment on MAC OSX for proper operation.

When microsoft wrote the RFC, they assumed that any PC using private IP address would not have global access.
This is most offten incorrect, and so microsoft ignore their own RFC. MAC OSX and some most linux distros still follow the RFC, so have to be tweaked so that a private IPv4 machine when trying to talk to a server with a public ipv4 address wont prefer IPv6 tunnel mechanisims.

I always change my LAN address to have global precedence, if it has access to the internet.
0
 
LVL 50

Author Closing Comment

by:Steve Bink
ID: 35154592
A different solution was implemented, and an easier solution was available.
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
web server dns redirect 5 61
Microsoft DNS on Windows Server 2012 R2 10 62
DNS zone 3 51
Server NIC binding order issues? 2 22
Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!

749 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