diskimage-builder/diskimage_builder/elements/dhcp-all-interfaces/pkg-map
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

25 lines
428 B
Plaintext

{
"family": {
"redhat": {
"dhcp-client": "dhclient",
"ndisc6": "ndisc6"
},
"gentoo": {
"dhcp-client": "net-misc/dhcpcd",
"ndisc6": "net-misc/ndisc6"
},
"suse": {
"dhcp-client": "dhcp-client"
},
"debian": {
"ifupdown": "ifupdown",
"ndisc6": "ndisc6"
}
},
"default": {
"dhcp-client": "isc-dhcp-client",
"ifupdown": "",
"ndisc6": ""
}
}