Comment 24 for bug 1621507

Revision history for this message
Scott Moser (smoser) wrote :

As I suggested in bug 1634176, I think that we can extend the 'ip=' parameter to work as it has a 'autoconf' parameter in it, which indicates the type of "auto" configuration to do:

klibc documents the previous ip= syntax at README.ipconfig [1].
  <client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>

My suggestion is to extend the 'autoconf' parameter. Previously the supported documented values were 'rarp', 'bootp', 'both', 'dhcp', 'all', 'off', 'static', 'none'. I suggest we add 'dhcp6' to the the list.

We could also support 'dhcp4,dhcp6' or 'dhcp+dhcp6' indicating both should be tried or possibly dhcp6 if and only if dhcp4 failed. I think though, for the immediate use case that just adding 'dhcp6' to the autoconf types would suffice.