Dhcpv6 fixed-address6 hardware ethernet

Cory Coager ccoager at gmail.com
Thu Apr 4 20:53:26 UTC 2013


Augusto,

I asked a similar question about a week ago on the mailing list.  I can 
get an ipv6 address from DHCP but static reservations don't seem to 
work.  I'm considering opening a bug on this unless someone out there 
can help.

On 04/04/2013 08:29 AM, Augusto Sousa 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20130404/bbac49b6/attachment-0001.html>


More information about the dhcp-users mailing list