IPv6 w/ dhclient configuration script (Debian/RedHat-based distros)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
templates Experimental CentOS6 support Aug 6, 2016
LICENSE Initial commit Jan 11, 2015
README.md Minor update Dec 16, 2017
ipv6-dhclient-script.sh UDP (DHCP) traffic limit option Dec 16, 2017

README.md

ipv6-dhclient-script

Simple IPv6 configuration script for Debian (Ubuntu...) and RedHat (CentOS, Fedora...) based distros, mainly for Online.net servers but valid for any network that provides IPv6 access through prefix delegation i.e. the static address is configured by the client and an identifier (DUID) is sent to the DHCP server in order to get functional routes.

Dedicated servers provided by Online.net won't come with IPv6 enabled by default so this makes things a bit easier specially when owning multiple servers and IPv6 needs to be enabled by hand in each one.

The script has been successfully tested under:

  • Ubuntu Server 14.04 & 16.04
  • Debian 7 & 8
  • CentOS 6 & 7
  • Some Proxmox VE setups (see issue #1 and #2)

Just run the script and follow the instructions:

$ ./ipv6-dhclient-script.sh

You can also pass parameters straight away:

$ ./ipv6-dhclient-script.sh <interface> <address block> <subnet> <duid>

Some questions were answered in a LowEndTalk thread although I really encourage you to open an issue here instead of posting there.