Hi ,
Without any talk we can go straight to configure IPV6 DHCP server .
Before start its very important to read centos configuration from below link.
DHCP V6 important notes from CentOS
IPV6 NS : 2015:9:19:ffff::1
IPV6 DHCP SERVER : 2015:9:19:ffff::2
# yum install dhcp -y
# cp /usr/share/doc/dhcp-4.2.5/dhcpd6.conf.example /etc/dhcp/dhcpd6.conf
# cat /etc/dhcp/dhcpd6.conf
default-lease-time 2592000;
preferred-lifetime 604800;
option dhcp-renewal-time 3600;
option dhcp-rebinding-time 7200;
allow leasequery;
option dhcp6.info-refresh-time 21600;
dhcpv6-lease-file-name “/var/lib/dhcpd/dhcpd6.leases”;
subnet6 2015:9:19:ffff::/64 {
range6 2015:9:19:ffff::10 2015:9:19:ffff::1000;
option dhcp6.name-servers 2015:9:19:ffff::1;
option dhcp6.domain-search “iptechnics.ae”;
}
No we need to take look interface configuration.
# cat /etc/sysconfig/network-scripts/ifcfg-enp3s0
DEVICE=enp3s0
BOOTPROTO=none
ONBOOT=yes
NM_CONTROLLED=no
TYPE=Ethernet
NETMASK=255.255.255.192
IPADDR=10.254.254.154
GATEWAY=10.254.254.129
IPV6INIT=yes
IPV6ADDR=”2015:9:19:ffff::2/64″
IPV6_AUTOCONF=yes
Finally restart dhcp service and put the service on startup.
# systemctl start dhpcd6
# systemctl enable dhcpd6
Thats it. Now we configured an IPV6 dhcp server. You can modify your IP with this configuration.
Cool. Now what about the client ?
LikeLike
Soon I will try to update dhcp6 detailed configuration for rhel8
LikeLike
This works if you don’t care about having a gateway for your clients and getting out!
LikeLike
Yes, this setup is only for LAN . Soon i will updated rhel8 , dhcp ipv6 configuration with detailed steps. Thank you for visiting..!
LikeLike