You are here: version6.ru » Welcome! » Using the WIDE DHCPv6 Client on Online.net dedicated servers
This is an old revision of the document!
Using the WIDE DHCPv6 Client on Online.net dedicated servers
…and switching to it from Dibbler:
- setup-dhcpv6.sh
#!/bin/bash DUID=$1 skill -9 dibbler-client dpkg -P dibbler-client rm -rvf /etc/dibbler /var/log/dibbler /var/lib/dibbler apt-get install -y wide-dhcpv6-client vim-common /etc/init.d/wide-dhcpv6-client stop echo 'profile default { script "/etc/wide-dhcpv6/dhcp6c-script"; };' > /etc/wide-dhcpv6/dhcp6c.conf echo 'id-assoc pd { prefix-interface eth0 { }; };' >> /etc/wide-dhcpv6/dhcp6c.conf echo 'interface eth0 { send ia-pd 0; };' >> /etc/wide-dhcpv6/dhcp6c.conf echo $DUID | awk '{ gsub(":"," "); printf "0: 0a 00 %s\n", $0 }' | xxd -r > /var/lib/dhcpv6/dhcp6c_duid /etc/init.d/wide-dhcpv6-client start
Run this as:
./setup-dhcpv6.sh <your online.net DUID>
en/online.net-wide-dhcpv6.1409303727.txt.gz · Last modified: 2014-08-29 09:15 UTC by rm