[OpenIndiana-discuss] IPv6 DHCP
Richard L. Hamilton
rlhamil at smart.net
Tue Feb 28 00:24:03 UTC 2012
You have (service names from an earlier release, may not be identical):
Only one of those can be used. The first tries to Do The Right Thing, automagically (including DHCP and all that); the second is for a straightforward static configuration.
Nwam probably makes sense for something mobile, like a laptop. It _may_ make sense for fixed workstations if the infrastructure is there to use it, so that workstation deployment can be simplified. It probably does _not_ make sense for a server, most of the time.
You can't really mix and match features between the two. Well, you probably could, by creating a third alternative using some of what the others use as tools. But that's neither supported nor easy.
On Feb 27, 2012, at 6:32 PM, Robbie Crash wrote:
> Is configuring these things through nwam not the /proper/ way to do things?
> I don't understand why all the help pages say to disable nwam for static IP
> On Mon, Feb 27, 2012 at 15:58, James Carlson <carlsonj at workingcode.com>wrote:
>> russell wrote:
>>> I have configured my OI_151 installation with a static IPv4 address and
>>> would like to configure IPv6 to work with DHCP but the notes I've found
>>> appear to require nwam to be running but I have disabled this.
>> Might be helpful to provide a link or a copy of those notes. They don't
>> sound accurate.
>>> I would appreciate a suggestion on how to configure OI manually to only
>>> use DHCP for IPv6. I would like to have the IPv6 use both SLAAC and a
>>> DHCPv6 server.
>> The standards-compliant way to do this is to plumb up one or more IPv6
>> interfaces and make sure that svc:/network/routing/ndp:default is enabled.
>> When you do that, in.ndpd(1M), the IPv6 autoconfiguration daemon, will
>> run. That daemon will listen to ICMPv6 Router Advertisement messages.
>> If the messages say that a given prefix uses DHCPv6, then it will
>> automatically start dhcpagent(1M), and that will configure the address.
>> (Unlike DHCPv4, the prefix length -- aka "subnet" -- comes from the RA,
>> not from the DHCP server. Only the address itself comes from DHCP.
>> It's how DHCPv4 should have been done ...)
>> If you have one or more IPv6 routers, and they all say that you
>> shouldn't run DHCPv6 on a prefix, then it will not be run. If you have
>> no IPv6 routers (a bit of a degenerate case in the standards), then
>> DHCPv6 is required to run, and the system will run it, but it's almost
>> completely useless.
>> See in.ndpd(1M), dhcpagent(1M), and ifconfig(1M) for details.
>> James Carlson 42.703N 71.076W <carlsonj at workingcode.com>
>> OpenIndiana-discuss mailing list
>> OpenIndiana-discuss at openindiana.org
> Seconds to the drop, but it seems like hours.
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
The waitress asked, "Do you want lemon or no lemon with that iced tea?"
Naturally, I said "yes", and then burst out laughing, because there simply
wasn't any other answer in Boolean logic. She didn't get it, but I got
the lemon, which I wanted anyway. Later, I realized a quantum computer
could have offered another answer: Schroedinger's Lemon!
More information about the OpenIndiana-discuss