interface enp0s3 { AdvSendAdvert on; prefix 2001:db8:0:15::/64 { AdvOnLink on; AdvAutonomous on; AdvPreferredLifetime 900; AdvValidLifetime 1500; }; AdvDefaultLifetime 1500; AdvOtherConfigFlag on; };
option dhcp6.name-servers 2001:db8:0:910::1; option dhcp6.domain-search "kurs.home"; subnet6 2001:db8:0:910::/64 { }
… INTERFACESv6="eth0" …
DHCP Server Konfiguration für v6 testen:
dhcpd -6 -cf /etc/dhcp/dhcpd6.conf -t
DHCP Server Leases für v6 testen:
dhcpd -6 -cf /etc/dhcp/dhcpd6.conf -t
DHCP Server neu starten
service isc-dhcp-server restart
Sind DHCPv6 Server da?
ping -I enp0s3 ff02::1:2
DHCP Client für v6 testen: stateless (nur information, keine IP) Anfrage
dhclient -6 -S -v -sf /bin/true enp0s3
temporäte IPv6 Adresse anfordern:
dhclient -6 -T -v -sf /bin/true enp0s3
normale IPv6 Adresse anfordern:
dhclient -6 -N -v -sf /bin/true enp0s3
DORA (Dicover,Offer, Request, Ack) in IPv4 wird zu SARR (Silicit, Advertise, Request, Reply) in IPv6
normale IPv6 Adressen von f00:0 bis fff:ffff:
range6 2001:db8:0:910::f00:0 2001:db8:0:910::fff:ffff;
temporäre (nicht verlängerbare) IPv6 Adressen von 0 bis ffff:
range6 2001:db8:0:910::/104 temporary;
IPv6 Subnetz:
prefix6 2001:db8:ff00:: 2001:db8:ffff:: /64;
interface enp0s3 { AdvSendAdvert on; prefix 2001:db8:0:15::/64 { AdvOnLink on; AdvAutonomous off; AdvPreferredLifetime 900; AdvValidLifetime 1500; }; AdvDefaultLifetime 1500; AdvManagedFlag on; };
subnet6 2001:db8:0:910::/64 { range6 2001:db8:0:910::f00:0000 2001:db8:0:910::fff:0000; range6 2001:db8:0:910::/64 temporary; prefix6 2001:db8:ff00:: 2001:db8:ffff:: /64; }
Am Ende: https://ipv6.he.net/certification/