problem with dhcp setup

Shane Kerr Shane_Kerr at isc.org
Tue Jun 12 10:27:03 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Suprasad Mutalik Desai wrote:
> Hi all ,
> 
>    I am new to DHCP .I am using dhcp-4.0.0a1 version and i have
> complied it for IPv6 .i have 2 host m/c .
> In host1, i executed dhcpd -6 /etc/dhcpd.conf
> dhcpd.conf ----
> 
> subnet6 fec0:3::/64{
> range6 fec0:3::100/64;
> option domain-name "example.org";
> option domain-name-servers 10.1.1.200;
> allow unknown-clients;
> }
> 
> and in host2 , i executed dhclient -6 /etc/dhclient.conf
> 
> /etc/dhclient.conf ---
> 
>  interface "eth1"{
>  send dhcp6.oro 1, 2, 7, 12, 13, 23, 24, 39;
> request domain-name, domain-name-servers, host-name;
> }
> 
> i get an IPv6 address configured on host2 (IPv6 address is random as
> this version has some problem with range6).but i dont get domain-name
> and domain-name-servers configured .
> 
> pls guide me . is there anything i need to add in configuration file ?

DHCPv6 has a different option space that DHCP for IPv4. You probably want
something like:

subnet6 fec0:3::/64 {
	range6 fec0:3:0::100/128;
	option dhcp6.domain-search "example.org";
	option dhcp6.name-servers f3c0:3::101;
	allow unknown-clients;
}

Note that you there is no way to set an IPv4 DNS server using DHCPv6. I guess
the idea is that you should use existing IPv4 mechanisms to do that.

About the range6: you probably wanted to specify /128 rather than /64. We should
probably make it an error if you specify an invalid network (like 1:2:3:4::/8 or
something). I'll try to get this fixed for 4.0.0a2 also.

- --
Shane
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGbnTzMsfZxBO4kbQRAvVHAJ91mRij53mMUN5XrZMGsTVdkE+6cQCfYhJJ
qvxezKDPObCyxTj9D0IdX4Q=
=+7s0
-----END PGP SIGNATURE-----


More information about the dhcp-users mailing list