problem with dhcp setup

John Jason Brzozowski (CISSP, RHCT) jjmb at jjmb.com
Thu Jun 14 10:44:19 UTC 2007


Correct the result of a /128 would be just like using fixed-address6.

A quick grep through the code indicates that the generation of the address
appears to be random in nature.

John


On 6/13/07 11:43 PM, "Suprasad Mutalik Desai" <suprasad.desai at gmail.com>
wrote:

> I understand about using prefix /128 in the dhcp-4.0.0a1 version , but
> wat u said is
> same as using fixed-address6 . with the prefix /64 i get a random IPv6
> address assigned to my host . Is there any addressing mechanism behind
> it ?
> 
> On 6/14/07, John Jason Brzozowski (CISSP, RHCT) <jjmb at jjmb.com> wrote:
>> See below.
>> 
>> John
>> 
>> 
>> On 6/12/07 6:27 AM, "Shane Kerr" <Shane_Kerr at isc.org> wrote:
>> 
>>> -----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.
>> [jjmb] This is correct, to the best of my knowledge there is no mechanism
>> specified for core DHCPv6 to set IPv4 configuration information.  So this is
>> currently not valid.
>>> 
>>> 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.
>> [jjmb] So a range6 using a /128 would allow for the assignment of a single
>> IPv6 address?  I do not believe this should be limited to a /128, in fact,
>> it should allow for variable prefix lengths.
>>> 
>>> - --
>>> 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-----
>>> 
>> 
>> ===============================================
>> John Jason Brzozowski (CISSP, RHCT)
>> jjmb at jjmb.com
>> (p) 484-994-6787
>> (f) 610-616-4535
>> ===============================================
>> 
>> 
>> 
>> 
> 

===============================================
John Jason Brzozowski (CISSP, RHCT)
jjmb at jjmb.com
(p) 484-994-6787
(f) 610-616-4535
===============================================




More information about the dhcp-users mailing list