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)
Thu, Apr 18, 00:16
Unknown Object (File)
Sun, Apr 14, 07:13
Unknown Object (File)
Sat, Apr 13, 14:53
Unknown Object (File)
Mon, Apr 8, 23:31
Unknown Object (File)
Sun, Apr 7, 19:11
Unknown Object (File)
Wed, Apr 3, 00:30
Unknown Object (File)
Sun, Mar 31, 19:06
Unknown Object (File)
Sun, Mar 31, 19:05
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 Not Applicable
Unit
Tests Not Applicable

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