{% extends "base.html" %} {% load i18n %} {% block title %}{% trans "Network Pool" %}{% endblock %} {% block content %} {% include 'sidebar.html' %}
{% if errors %} {% for error in errors %}
{{ error }}
{% endfor %} {% endif %} {% if device %}

{% trans "Pool name" %}

{% trans "Device pool" %}

{% trans "State" %}

{% trans "Autostart" %}

[{% for net in networks %} {% ifequal net pool %} {{ net }} {% else %} {{ net }} {% endifequal %} {% endfor %} ]

{{ device }}

{% csrf_token %} {% ifequal state 0 %} {% else %} {% endifequal %}

{% csrf_token %} {% ifequal autostart 0 %} {% else %} {% endifequal %}

{% trans "IPv4 configuration" %}


{% trans "IPv4 Forwarding" %}

{% trans "Network" %}

{% trans "DHCP" %}

{% if ipv4_dhcp_range %}

{% trans "Start" %}

{% trans "End" %}

{% endif %}

{% ifequal ipv4_forward.0 'nat' %} {% trans "NAT" %} {% endifequal %} {% ifequal ipv4_forward.0 'route' %} {% trans "ROUTE" %} {% endifequal %} {% ifequal ipv4_forward.0 'bridge' %} {% trans "BRIDGE" %} {% endifequal %} {% if not ipv4_forward.0 %} {% trans "ISOLATE" %} {% endif %}

{{ ipv4_network }}

{% if ipv4_dhcp_range %} {% trans "ON" %} {% else %} {% trans "OFF" %} {% endif %}

{% if ipv4_dhcp_range %} {% for dhcp in ipv4_dhcp_range %}

{{ dhcp }}

{% endfor %} {% endif %}
{% if fixed_address %}

{% trans "Fixed Address" %}


{% for fix in fixed_address %} {% endfor %}
{% trans "Address" %} {% trans "MAC" %}
{{ fix.host }} {{ fix.mac }}
{% endif %} {% endif %} {% endblock %} {% block script %} {% endblock %}