[Solved] ula_prefix and ip6hint not working

Hello,

I have a problem assigning an ip6hint on the ula_prefix.

Here is my configuration:

config globals 'globals'
        option ula_prefix 'fd01:39ad:9459:3f::/56'

config interface 'lan'
        option type 'bridge'
        option proto 'static'
        option netmask '255.255.0.0'
        option dns '1.1.1.1 8.8.8.8 8.8.4.4'
        option ip6assign '64'
        option _orig_ifname 'eth1.2 wlan0 wlan1'
        option _orig_bridge 'true'
        option ifname 'eth1.2 vpn'
        option ipaddr '10.2.1.1'
        option ip6hint '2'

ifstatus lan:

        "ipv6-prefix-assignment": [
                {
                        "address": "2a02:810c:c93f:a302::",
                        "mask": 64,
                        "preferred": 1702,
                        "valid": 4402,
                        "local-address": {
                                "address": "2a02:810c:c93f:a302::1",
                                "mask": 64
                        }
                },
                {
                        "address": "fd01:39ad:9459:3f::",
                        "mask": 64,
                        "local-address": {
                                "address": "fd01:39ad:9459:3f::1",
                                "mask": 64
                        }
                }
        ],

ifstatus wan6:

        "ipv6-prefix": [
                {
                        "address": "2a02:810c:c93f:a300::",
                        "mask": 56,
                        "preferred": 1573,
                        "valid": 4273,
                        "class": "wan6",
                        "assigned": {
                                "lan": {
                                        "address": "2a02:810c:c93f:a302::",
                                        "mask": 64
                                }
                        }
                }
        ],

So the ip6hint is applied to the wan6 prefix but not to the ula prefix. How can I fix that?

Thanks
Raphael

1 Like

This is wrong.

The proper prefix:

fd01:39ad:9459:3f00::/56
3 Likes

Thanks! It's working now :slight_smile:

1 Like