Add support for IPv6
The 40 bits in the ULA global prefix fdce:73a4:0b00::/48 were generated by Python's `random.randint(0,2**40-1)` callmaster
parent
5a446aa6ef
commit
0396099bcd
@ -1,5 +1,6 @@
|
|||||||
{% for br in c.bridges %}
|
{% for br in c.bridges %}
|
||||||
172.23.{{ br.num }}.{{ c.num }} host-{{ c.name }}-net-{{ br.num }}
|
172.23.{{ br.num }}.{{ c.num }} host-{{ c.name }}-net-{{ br.num }}
|
||||||
|
fdce:73a4:0b00:{{ "%x" % (br.num) }}::{{ "%x" % (c.num) }} host-{{ c.name }}-net-{{ br.num }}-v6
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
127.0.0.1 host-{{ c.name }} localhost localhost.localdomain
|
127.0.0.1 host-{{ c.name }} localhost localhost.localdomain
|
||||||
::1 host-{{ c.name }} localhost localhost.localdomain
|
::1 host-{{ c.name }} localhost localhost.localdomain
|
||||||
|
@ -1 +1,2 @@
|
|||||||
net.ipv4.conf.all.forwarding=1
|
net.ipv4.conf.all.forwarding=1
|
||||||
|
net.ipv6.conf.all.forwarding=1
|
||||||
|
Loading…
Reference in New Issue