diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-01-04 15:33:37 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-01-04 15:33:37 +0100 |
commit | ad9943e6b9a597e8efc3a9a5807600d21d9c717e (patch) | |
tree | 6f678284b4b30da50a6db0fc02ceeef90b388130 /ansible/group_vars | |
parent | cc70c3640eeb06d9129cd624c0750f2db70648a7 (diff) | |
download | infra-ad9943e6b9a597e8efc3a9a5807600d21d9c717e.tar.gz infra-ad9943e6b9a597e8efc3a9a5807600d21d9c717e.tar.bz2 infra-ad9943e6b9a597e8efc3a9a5807600d21d9c717e.tar.xz infra-ad9943e6b9a597e8efc3a9a5807600d21d9c717e.zip |
conflatorio
Diffstat (limited to 'ansible/group_vars')
-rw-r--r-- | ansible/group_vars/all/host_database.yml | 42 |
1 files changed, 33 insertions, 9 deletions
diff --git a/ansible/group_vars/all/host_database.yml b/ansible/group_vars/all/host_database.yml index 1898ccc..4342f23 100644 --- a/ansible/group_vars/all/host_database.yml +++ b/ansible/group_vars/all/host_database.yml @@ -1,8 +1,14 @@ # Generate hwaddr with # echo $(od -vN 6 -An -tx1 /dev/urandom) |tr ' ' : +# Generate ipv6 with +# echo $(od -vN 8 -An -tx2 /dev/urandom) |tr ' ' : # Note that the last bit of the first byte can't be set! Keep that byte even! # After you boot the container you'll get the IPv6 address +ipv6_networks: + conflatorio: + prefix: fd56:1ae9:097d:3ddd + host_database: birgitte: interfaces: @@ -39,27 +45,45 @@ host_database: address: 192.168.70.1 netmask: 24 ipv6: - address: fd56:1ae9:097d:3ddd::1 + address: "{{ ipv6_networks.conflatorio.prefix }}:3017:fd82:dfd7:8617" netmask: 64 conflatorio-test1: interfaces: veth0: hwaddr: 66:01:9d:6a:e6:cd - ipv4: - address: 192.168.70.2 - netmask: 24 ipv6: - address: fd56:1ae9:097d:3ddd::2 + address: "{{ ipv6_networks.conflatorio.prefix }}:6c53:1011:3bad:9498" netmask: 64 conflatorio-test2: interfaces: veth0: hwaddr: 6a:c6:27:92:dd:84 - ipv4: - address: 192.168.70.3 - netmask: 24 ipv6: - address: fd56:1ae9:097d:3ddd::3 + address: "{{ ipv6_networks.conflatorio.prefix }}:4c96:be16:9e04:c110" + netmask: 64 + + conflatorio-test3: + interfaces: + veth0: + hwaddr: 6a:c6:27:92:dd:85 + ipv6: + address: "{{ ipv6_networks.conflatorio.prefix }}:02df:da1d:ccb7:97b9" + netmask: 64 + + conflatorio-test4: + interfaces: + veth0: + hwaddr: 6a:c6:27:92:dd:86 + ipv6: + address: "{{ ipv6_networks.conflatorio.prefix }}:ecd7:7f0a:79cd:343c" + netmask: 64 + + conflatorio-test5: + interfaces: + veth0: + hwaddr: 6a:c6:27:92:dd:87 + ipv6: + address: "{{ ipv6_networks.conflatorio.prefix }}:5375:e67b:7878:310d" netmask: 64 |