| 48 | |
| 49 | == Steps for allocating an IPv6 address == |
| 50 | |
| 51 | The IPv6 process is much more manual, and not directly managed by puppet. |
| 52 | |
| 53 | === find a free IPv6 address === |
| 54 | |
| 55 | first, list all claimed IPv6 addresses by searching in : |
| 56 | |
| 57 | {{{ |
| 58 | 0 mfpl-puppet$ git grep 'gateway.*->.*:' |
| 59 | manifests/nodes/production/che.pp:# mayfirst::m_interface::set { "2001:470:1:116::7/64": gateway => "2001:470:1:116::1" } |
| 60 | 0 mfpl-puppet$ |
| 61 | }}} |
| 62 | |
| 63 | Note that the lines are commented out (with a `#`). this is as intended, they're still allocations, because puppet isn't dealing with IPv6 at all yet. |
| 64 | |
| 65 | Then choose a free one. |
| 66 | |
| 67 | === assign it to the host manually === |
| 68 | |
| 69 | place the appropriate stanza in a new file in `/etc/network/interfaces.d/` on hosts that use `ifupdown`, or in a `/etc/systemd/network/*.network` file on hosts that use `systemd-networkd` |
| 70 | |
| 71 | === claim it in puppet === |
| 72 | |
| 73 | remember to add a commented line in the appropriate puppet production file corresponding to the host! |