Comment 0 for bug 1675844

Revision history for this message
Witold Krecicki (wpk) wrote : MAAS takes ipv6 ULA address as a primary one

When installing MAAS on a machine with both v6 networking MAAS takes v6 ULA address as a primary: e.g. for a 'foobar' machine with:
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
    inet6 fd92:cf77:3cad::3d2/128 scope global dynamic
       valid_lft 69225sec preferred_lft 69225sec
    inet6 2001:abc:1234::3d2/128 scope global dynamic
       valid_lft 69225sec preferred_lft 69225sec

in DNS tab 'foobar.maas' will be set to fd92:cf77:3cad::3d2 and 'eno1.foobar.maas' will be set to 2001:abc:1234::3d2. I believe it should be reversed - this probably comes from the fact that ULA address is the first on the list of addresses for this device, but IMHO the proper behaviour would be to put ULA addresses at the end.