diskimage-builder/diskimage_builder/elements/dhcp-all-interfaces/install.d
Harald Jensås f94508d537 Add IPv6 support in dhcp-all-interfaces
When the rdisc6 utility is available probe for router
advertisement. configure eni and rhel-netscripts interfaces
to do IPv6 address configuration according to the flags
in the RA recived from the router.

The systemd service file timeout is DIB_DHCP_TIMEOUT * 2,
so that DHCPv4 can timout, and dhcpv6 run before the service
times out.

Retries are commented in dhclient.conf, without it we end up
trying DIB_DHCP_TIMEOUT * 60 before the client move on to
IPv6.

WHEN:
  Stateful address conf.    :          No
  Stateful other conf.      :          No
THEN:
  Do not run dhclient at all, autoconfiguration via
  SLAAC only.

WHEN:
  Stateful address conf.    :          No
  Stateful other conf.      :          Yes
THEN:
  Run "dhclient -6 -S", The ``-S`` option makes the
  dhcp client not request an address, only other
  options such as DNS servers and NTP servers from
  DHCPv6 server.

WHEN:
  Stateful address conf.    :          Yes
  Stateful other conf.      :          Yes
THEN:
  The dhcp client should request an address _and_ other
  options such as DNS servers and NTP servers from
  DHCPv6 server.

NOTE: No IPv6 support added for suse-netscripts

Closes-Bug: 1754219
Change-Id: Icdc79875c33f894ab7eaec8afdfb33a731efff99
2019-11-13 09:31:01 +01:00
..
50-dhcp-all-interfaces Add IPv6 support in dhcp-all-interfaces 2019-11-13 09:31:01 +01:00
60-remove-cloud-image-interfaces Fix /etc/network/interfaces file contents 2018-06-19 11:26:21 +02:00
dhcp-all-interfaces-udev.rules Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
dhcp-all-interfaces.conf Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
dhcp-all-interfaces.init Merge remote-tracking branch 'origin/master' into merge-branch 2016-11-18 13:53:56 +11:00
dhcp-all-interfaces.sh Add IPv6 support in dhcp-all-interfaces 2019-11-13 09:31:01 +01:00
dhcp-interface@.service Fix cylical systemd config for dhcp-all-interfaces 2017-08-25 15:51:23 +10:00