# 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: wlx00e01d0808b2: role: wan ipv4: address: 192.168.10.3 netmask: 24 gateway: 192.168.10.1 int0: role: lan ipv4: address: 192.168.90.100 netmask: 24 ipv6: address: cafe::1 netmask: 64 # Birgitte nextcloud: interfaces: eth0: role: lan hwaddr: 0e:18:a7:03:50:54 ipv4: 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: "{{ ipv6_networks.conflatorio.prefix }}:3017:fd82:dfd7:8617" netmask: 64 conflatorio-test1: interfaces: veth0: hwaddr: 66:01:9d:6a:e6:cd ipv6: address: "{{ ipv6_networks.conflatorio.prefix }}:6c53:1011:3bad:9498" netmask: 64 conflatorio-test2: interfaces: veth0: hwaddr: 6a:c6:27:92:dd:84 ipv6: 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