From cc70c3640eeb06d9129cd624c0750f2db70648a7 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 4 Jan 2019 15:04:54 +0100 Subject: lxc-host: Major refactoring. o Removing radvd support, should be handled by itself. Better support for setting ipv6 addresses instead. o Moving out UFW stupport, should be moved to the ufw package. o Better variables, default and file names. --- ansible/group_vars/all/host_database.yml | 39 ++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'ansible/group_vars/all/host_database.yml') diff --git a/ansible/group_vars/all/host_database.yml b/ansible/group_vars/all/host_database.yml index cbc1582..1898ccc 100644 --- a/ansible/group_vars/all/host_database.yml +++ b/ansible/group_vars/all/host_database.yml @@ -1,3 +1,8 @@ +# 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 + host_database: birgitte: interfaces: @@ -15,6 +20,8 @@ host_database: ipv6: address: cafe::1 netmask: 64 + + # Birgitte nextcloud: interfaces: eth0: @@ -24,3 +31,35 @@ host_database: address: 192.168.90.101 netmask: 24 gateway: 192.168.90.100 + + conflatorio: + interfaces: + lxc0-int: + ipv4: + address: 192.168.70.1 + netmask: 24 + ipv6: + address: fd56:1ae9:097d:3ddd::1 + 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 + 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 + netmask: 64 -- cgit v1.2.3