Skip to content

Instantly share code, notes, and snippets.

@Nainterceptor
Created October 18, 2015 20:46
Show Gist options
  • Save Nainterceptor/ac7385b79787fdec2274 to your computer and use it in GitHub Desktop.
Save Nainterceptor/ac7385b79787fdec2274 to your computer and use it in GitHub Desktop.
IPv6 debian Jessie - Online.net

Cette doc m'a posé quelques soucis; http://documentation.online.net/en/serveur-dedie/reseau/ipv6-prefix En attendant une mise à jour ou la rédaction d'un blog post, je vous partage rapidement mes working steps

wget "http://klub.com.pl/dhcpv6/dibbler/dibbler-1.0.1.tar.gz" #Update to 1.0.1 for security issues
apt-get install build-essential
tar -xvf dibbler-1.0.1.tar.gz && cd dibbler-1.0.1 && ./configure && make install clean
mkdir -p /var/lib/dibbler /etc/dibbler
#Debian Jessie use Systemd, ignore init.d commands. If it's too late, you can do the following
#update-rc.d -f dibbler-client remove && rm /etc/init.d/dibbler-client
vim /etc/systemd/system/dibbler.service #Put in this file the content of dibbler.service file following
systemctl enable dibbler #Start dibbler on start up
systemctl start dibbler #Start dibbler now
vim /etc/network/interfaces #Add inet6 here
service networking restart
ping6 ipv6.google.com #.com, .fr is not an existing domain...
[Unit]
Description=Dibbler
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/sbin/dibbler-client start
ExecStop=/usr/local/sbin/dibbler-client stop
PrivateTmp=true
NonBlocking=yes
[Install]
WantedBy=multi-user.target
#iface eth0 inet content
#....
iface eth0 inet6 static
address myIpSubBloc64::1
netmask 64
accept_ra 2
#Other things
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment