diff options
Diffstat (limited to 'ansible/group_vars')
-rw-r--r-- | ansible/group_vars/all/host_database.yml | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/ansible/group_vars/all/host_database.yml b/ansible/group_vars/all/host_database.yml index 4342f23..c7bce07 100644 --- a/ansible/group_vars/all/host_database.yml +++ b/ansible/group_vars/all/host_database.yml @@ -1,13 +1,15 @@ -# Generate hwaddr with -# echo $(od -vN 6 -An -tx1 /dev/urandom) |tr ' ' : # Generate ipv6 with # echo $(od -vN 8 -An -tx2 /dev/urandom) |tr ' ' : +# Generate hwaddr with +# echo $(od -vN 6 -An -tx1 /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 + arius: + prefix: f338:7b65:2445:ef9a host_database: birgitte: @@ -87,3 +89,26 @@ host_database: ipv6: address: "{{ ipv6_networks.conflatorio.prefix }}:5375:e67b:7878:310d" netmask: 64 + + arius: + interfaces: + lxc0-int: + ipv4: + address: 10.1.1.1 + netmask: 24 + ipv6: + address: "{{ ipv6_networks.arius.prefix }}:954b:90fc:c42d:1aef" + netmask: 64 + + arius-test1: + interfaces: + veth0: + hwaddr: 42:bc:1e:d3:bb:c5 + ipv4: + address: 10.1.1.2 + netmask: 24 + gateway: 10.1.1.1 + ipv6: + address: "{{ ipv6_networks.arius.prefix }}:2d35:abc6:97c1:cbf3" + netmask: 64 + gateway: auto |