Page MenuHomeDevCentral

Configure static IPv6 on WindRiver
Open, HighPublic

Description

Create a canonical IP in the range 2001:bc8:2e84:700::/56 (NetBox)

DNS records to update:

  • create PTR record for selected IP
  • create AAAA record for windriver.nasqueron.org
  • update AAA record for www-dev.nasqueron.org and increase its TTL (currently 300)

Event Timeline

Through autoconfig we've an IP in our /64 block: 2001:bc8:6005:5:aa1e:84ff:fef3:5d9c

Gateway is in fe80, ie in link-local unicast addressing.

Could need to enable a block for static assignment according https://www.scaleway.com/en/docs/compute/dedibox/how-to/activate-ipv6-block/

Important:

The DUID of your prefix (and each of its subnets) is like a private key and grants you access to your prefix. Keep it secret and do not share it.

Autoconfig IP isn't in our block

2001:bc8:2e84:700:: /56 should be used for WindRiver addresses.

We've a DNS delegation for they block at HE.

dereckson triaged this task as Normal priority.May 13 2023, 12:24
dereckson moved this task from Backlog to Analysis / under discussion on the Servers board.

DUID published in Vault under ops/secrets/network/DUID/2001:bc8:2e84:700::

In NetBox, a DUID custom field has been created for objects IPAM > prefixes, so we can store those paths.

dereckson raised the priority of this task from Normal to High.Jun 3 2023, 21:31
dereckson moved this task from Analysis / under discussion to Working on on the Servers board.

Taking it as we've issues with the /128 one and I'd prefer to fix the /56 config than the /128 one.

Worked before (dhclient + routes), but on boot:

  • we've a correct fe80 address
  • no dhclient, but /usr/local/etc/rc.d/dhclient6 start does NOT complain dhclient6_enable="YES" is missing
  • when dhclient is started, our correct prefix is returned
  • no static IP assignment in current state (missing from /etc/netif/igb0_ipv6)
  • we can add manually IP in our prefix
  • routing is missing and can't be easily figured (the expectation was dhclient would take care of that)

So, to get routing back:

  • remove IPv6 from igb0 (perhaps not needed)
  • ask again route advertisement ifconfig igb0 inet6 accept_rtadv (definitely needed)
  • ping something to go out, at that moment the routing table (netstat -6rn) should get a default route in fe80
  • add our static IP: ifconfig igb0 inet 6 add 2001:bc8:2e84:700::da7a:7001 prefixlen 56