Dhcpv6 fixed-address6 hardware ethernet
Augusto Sousa
augusto.sousa1 at gmail.com
Thu Apr 4 22:32:14 UTC 2013
I was install a radvd, to set the router RAS,
and there i was set the flagas "M", when i set the flag.
But the DHCP server ignore the requests.
Doesn't get ip from prefix.
I though there is some thing to block, but i drop the iptables.
from radvd.conf
interface eth2
{
AdvSendAdvert on;
AdvManagedFlag on;
AdvOtherConfigFlag on;
MinRtrAdvInterval 30;
MaxRtrAdvInterval 100;
prefix 2804:49c:c1aa:1113::/64
{
AdvOnLink on;
AdvAutonomous off;
AdvRouterAddr on;
};
};
The most intersting is when i set AdvAutonomous on, the
machines got ip.
I believe the dhcp doesn't work.
Some one know if this correct
i found more things to put on dhcpd.conf, i dont know if it is help, but i
put.
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));
option dhcp6.next-hop-rt-prefix code 242 = { ip6-address, unsigned integer
16,
unsigned integer 16, unsigned integer 32, unsigned integer 8, unsigned
integer 8, ip6-address };
option dhcp6.next-hop code 242 = ip6-address;
option dhcp6.next-hop 2804:49c:c1aa:1113::1;
option dhcp6.rtprefix code 243 = {unsigned integer 32, unsigned integer 8,
unsigned integer 8, ip6-address };
option dhcp6.rtprefix 3600 64 1 2804:49c:c1aa:1113::;
subnet6 2804:49c:c1aa:1113::/64 {
option dhcp6.name-servers fec0:0:0:1::1;
option dhcp6.domain-search "domain.example";
}
host specialclient {
hardware ethernet 00:50:56:3f:e0:17;
fixed-address6 2804:49c:c1aa:1113::113;
fixed-prefix6 2804:49c:c1aa:1190::/64;
}
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20130404/b0f35257/attachment.html>
More information about the dhcp-users
mailing list