Dhcpv6 fixed-address6 hardware ethernet

Augusto Sousa augusto.sousa1 at gmail.com
Thu Apr 4 12:29:55 UTC 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20130404/1acb0d98/attachment.html>


More information about the dhcp-users mailing list