I am trying to setup my Freebsd router to work with ipv6 and to assign ipv6 address for my LAN hosts based on their mac-address.
Here is my rc.conf (other options are skipped)
dhcpd6.conf:
and my rtadvd.conf:
Any linux host in my LAN-network gets an ip address from rtadvd and not from dhcp, but Windows 2012 Server gets two ipv6 addresses: from dhcp and from SLAAC.
What I am doing wrong?
Here is my rc.conf (other options are skipped)
Code:
ipv6_gateway_enable="YES"
ifconfig_re0_ipv6="inet6 2001:db8:acad:a::1 prefixlen 64"
rtadvd_enable="YES"
rtadvd_interface="re0"
dhcpd6_enable="YES"
dhcpd6_conf=/usr/local/etc/dhcpd6.conf
dhcpd6_ifaces="re0"
Code:
default-lease-time 2592000;
preferred-lifetime 604800;
option dhcp-renewal-time 3600;
option dhcp-rebinding-time 7200;
allow leasequery;
option dhcp6.domain-search "tomilino.org";
option dhcp6.info-refresh-time 21600;
dhcpv6-lease-file-name "/var/db/dhcpd6/dhcpd6.leases";
subnet6 2001:db8:acad:a::/64 {
range6 2001:db8:acad:a::20 2001:db8:acad:a::25;
}
host arch {
hardware ethernet 70:8b:cd:a2:99:62;
fixed-address6 2001:db8:acad:a::6;
fixed-prefix6 2001:db8:acad:a::/64;
}
host server-win {
hardware ethernet 82:e1:9d:18:48:af;
fixed-address6 2001:db8:acad:a::7;
fixed-prefix6 2001:db8:acad:a::/64;
}
Code:
re0:\
:addrs#1:addr="2001:db8:acad:a::":prefixlen#64:tc=ether:
Any linux host in my LAN-network gets an ip address from rtadvd and not from dhcp, but Windows 2012 Server gets two ipv6 addresses: from dhcp and from SLAAC.
What I am doing wrong?