<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
David Horn wrote:
<pre wrap="">On Fri, Apr 2, 2010 at 3:42 AM, Rudy Zijlstra
<a class="moz-txt-link-rfc2396E" href="mailto:email@example.com"><firstname.lastname@example.org></a> wrote:
Does dhclient have dual-stack support?
I've been trying to find that, and could not. For a number of reasons i believe a lot of deployments will be fully or partially dual-stack for a number or years. Background:
- many currently deployed devices do not support IPv6 and will not (cannot) be upgraded to support IPv6
- There is going to be a transition time when you need to have both IPv6 and IPv4 access, as many (web)sites are still not IPv6 capable and it will take time for them to move to dual-stack support.
My experiments of last week found that on linux the bottle-neck seems to be resolv.conf, where both the dhcp IPv4 client and the IPv6 dhcp client want to write it. As a result the contents are usually not correct.
At the moment it is possible to work around this on a dual stack machine by ensuring the IPv6 dhcp client does not touch resolv.conf. Better would be if it would change only the IPv6 related parts, or if one dhcp client handles both IPv4 and IPv6.
If NetworkManager is not your cup of tea, you can also look at
resolvconf or openresolv which will manage the /etc/resolv.conf file
in a more intelligent fashion. It does require that you have a
dhclient-script that checks for and utilizes /sbin/resolvconf, but
that is trivial to setup. This will allow multiple sources of dns
server information without stomping on each other. You did not
mention what distro of linux you were using, so it is difficult to
give more specific information for your situation.
Google "openresolv" for one possible solution.
I'll be looking into both options. If you have more information, my
dhcp server is running on slackware 13.0. My firewall on Debian Lenny
sparc. That one is running without problems though in dual stack.
Clients are a mix of Slackware (different versions), Debian (lenny and
squueze), MS (win2k, XP, 7). For MS i know that only Windows 7 is IPv6