Page MenuHomeDevCentral

Configure IPv6 with DUID for Online network
ClosedPublic

Authored by dereckson on Jun 7 2023, 00:41.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 20, 04:01
Unknown Object (File)
Wed, Dec 18, 05:33
Unknown Object (File)
Sat, Dec 14, 02:29
Unknown Object (File)
Sun, Dec 8, 19:14
Unknown Object (File)
Sat, Dec 7, 18:28
Unknown Object (File)
Sat, Dec 7, 09:16
Unknown Object (File)
Tue, Dec 3, 02:26
Unknown Object (File)
Mon, Dec 2, 17:13
Subscribers
None

Details

Summary

Online requests DHCP connection with a specific DUID.

It's treated as a secret to restrict range use to a specific account.
As such, it's stored in Vault, hence a policy change and specialized
credentials methods.

Ref T1861.

Test Plan

Tested on Windriver

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
ipv6-windriver
Build Status
Buildable 5017
Build 5298: arc lint + arc unit

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Jun 7 2023, 00:42
pillar/nodes/nodes.sls
277–281

What I'd ideally like to see is this:

ipv6:
  addresses:
    # SLAAC
    - address: 2001:0bc8:6005:0005:aa1e:84ff:fef3:5d9c
      prefixlen: 128

    # /56 routed block
    - address: 2001:bc8:2e84:700::da7a:7001
      prefixlen: 56
      aliases:
        - 2001:bc8:2e84:700::...
dereckson added inline comments.
pillar/nodes/nodes.sls
277–281

At Online, you need to disable SLAAC to get the /56 routed block working.

roles/core/network/ipv6.sls
102

Ok, we've a configuration.

But we also need a service to start:

/usr/local/sbin/dhclient -cf /usr/local/etc/dhclient6.conf -6 -P -v igb0

dereckson marked an inline comment as not done.Jun 7 2023, 01:07
This revision is now accepted and ready to land.Jun 7 2023, 02:08