|
|
@ -292,7 +292,7 @@ on an interface:
|
|
|
|
iface eth0 inet6 static
|
|
|
|
iface eth0 inet6 static
|
|
|
|
address 2001:db8:deaf:be11::ef3/64
|
|
|
|
address 2001:db8:deaf:be11::ef3/64
|
|
|
|
|
|
|
|
|
|
|
|
If needed, you can extract subnet and prefix information from the 'host/prefix' value::
|
|
|
|
If needed, you can extract subnet and prefix information from the 'host/prefix' value:
|
|
|
|
|
|
|
|
|
|
|
|
.. code-block:: jinja
|
|
|
|
.. code-block:: jinja
|
|
|
|
|
|
|
|
|
|
|
@ -302,7 +302,6 @@ If needed, you can extract subnet and prefix information from the 'host/prefix'
|
|
|
|
# {{ host_prefix | ansible.netcommon.ipaddr('host/prefix') | ansible.netcommon.ipaddr('prefix') }}
|
|
|
|
# {{ host_prefix | ansible.netcommon.ipaddr('host/prefix') | ansible.netcommon.ipaddr('prefix') }}
|
|
|
|
[64, 24]
|
|
|
|
[64, 24]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Converting subnet masks to CIDR notation
|
|
|
|
Converting subnet masks to CIDR notation
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
|
|