Dhcpv6 fixed-address6 hardware ethernet

Augusto Sousa augusto.sousa1 at gmail.com
Thu Apr 4 12:38:39 UTC 2013


Yes,
i using default setup with centos 6 and Ubuntu 12.
I didnt customization any config for dhclient

for test dhclients
I set  a radvd service, for test, to test the clients. and work.
but, when i set him to use dhcpd  or set any start only dhcp,  nothing ip
work.


that my settings

interface eth1
{
AdvSendAdvert on;
AdvManagedFlag on;
AdvOtherConfigFlag off;
MinRtrAdvInterval 60;
MaxRtrAdvInterval 180;
prefix 2804:49c:c1aa:1119::/64
{
AdvOnLink on;
AdvAutonomous off;
};

};



2013/4/4 Steven Carr <sjcarr at gmail.com>

> As I replied to the other email... does the client support DHCPv6? what
> client are you testing with? have you configured the router advertisements
> to send out the "M" flag?
>
>
> On 4 April 2013 13:29, Augusto Sousa <augusto.sousa1 at gmail.com> wrote:
>
>> Dears,
>> i'm trying to  set a dhcpv6 with fixed-addres6, with isc dhcp 4.2.5
>>
>> although i set  the optons "hardware ethernet" or dhcp6.client-id.
>> But, didn't get any ip.
>>
>> Bellow my configuration.
>>
>>
>> Im using eth1 for dhcp with 2804:49c:c1aa:1119::2 ip.
>>
>>
>> dhcpd6.conf
>>
>> default-lease-time 600;
>> max-lease-time 7200;
>> log-facility local7;
>>
>> option dhcp6.macaddr code 193 = string;
>> option dhcp6.leased-address code 194 = string;
>> option dhcp6.macaddr = binary-to-ascii(16, 8, ":", suffix(option
>> dhcp6.client-id, 6));
>> option dhcp6.leased-address = binary-to-ascii(16,16, ":",
>> substring(suffix(option dhcp6.ia-na, 24),0,16));
>> log (info, concat ("Lease for ",config-option dhcp6.leased-address, "
>> leased to ", config-option dhcp6.macaddr));
>>
>>
>> subnet6 2804:49c:c1aa:1119::/64 {
>>         # Range for clients
>>         #range6 2804:49c:c1aa:1119::110 2804:49c:c1aa:1119::254;
>>         # Additional options
>>         option dhcp6.name-servers fec0:0:0:1::1;
>>         option dhcp6.domain-search "domain.example";
>>         host specialclient {
>>                 hardware ethernet 00:0c:29:d6:55:a6;
>>                 fixed-address6 2804:49c:c1aa:1119::113;
>>                 fixed-prefix6 2804:49c:c1aa:1190::/64;
>>
>>         }
>> }
>>
>>
>>
>>
>> after sniffing eth1
>> i got this messages
>>
>> tcpdump  -n  -i eth1 ip6
>> tcpdump: WARNING: eth1: no IPv4 address assigned
>> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
>> listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
>> 08:09:36.460437 IP6 :: > ff02::16: HBH ICMP6, multicast listener report
>> v2, 1 group record(s), length 28
>> 08:09:36.569802 IP6 :: > ff02::1:ffd6:55a6: ICMP6, neighbor solicitation,
>> who has fe80::20c:29ff:fed6:55a6, length 24
>> 08:09:37.570301 IP6 fe80::20c:29ff:fed6:55a6 > ff02::2: ICMP6, router
>> solicitation, length 16
>> 08:09:41.570127 IP6 fe80::20c:29ff:fed6:55a6 > ff02::2: ICMP6, router
>> solicitation, length 16
>> 08:09:44.980781 IP6 fe80::20c:29ff:fed6:55a6 > ff02::16: HBH ICMP6,
>> multicast listener report v2, 1 group record(s), length 28
>> 08:09:45.570255 IP6 fe80::20c:29ff:fed6:55a6 > ff02::2: ICMP6, router
>> solicitation, length 16
>>
>>
>> who anyone know to fix this?
>>
>>
>> Thanks
>>
>>
>> []'s
>>
>>
>> Augusto
>>
>>
>> _______________________________________________
>> dhcp-users mailing list
>> dhcp-users at lists.isc.org
>> https://lists.isc.org/mailman/listinfo/dhcp-users
>>
>
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20130404/fa4969b4/attachment-0001.html>


More information about the dhcp-users mailing list