Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@AndreasAakesson
Copy link
Contributor

So config.json can now hold IPv6 configuration as well.
Instead of adding 6 members, they now support a list of addresses, both v4 and v6. / can also be used for netmask/prefix.

Example:

    {
      "iface": 0,
      "config": [ "static" ],
      "address": [
        "fe80::1337/64",
        "10.0.0.42/24",
        "fe80::42",
      ],
      "gateway": [
        "10.0.0.1",
        "fe80::1"
      ],
      "dns": [
        "4.4.4.4",
        "fe80::1"
      ]
    }

It's also possible to pass more than one config method (then use array): dhcp, dhcp4, dhcp6 (unsupported), static, static4, static6, and the good ol' dhcp-with-fallback. static in this case means both static4 and static6.

Copy link
Contributor

@KristianJerpetjon KristianJerpetjon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@KristianJerpetjon KristianJerpetjon merged commit fd34f73 into includeos:dev Apr 3, 2019
@AndreasAakesson AndreasAakesson deleted the netconf branch April 23, 2019 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants