{{ title }}
{{ iface.name }}
Status | {% if iface_status == "up" %} {% set status_color = "bg-success" %} {% elif iface_status == "down" %} {% set status_color = "bg-danger" %} {% else %} {% set status_color = "bg-warning" %} {% endif %}{{ iface_status }} |
---|---|
IPv4 | {{ iface.ipv4 | safe }} |
IPv6 | {{ iface.ipv6 | safe }} |
MAC | {{ iface.mac | safe}} |
Flags | {{ iface.flags | safe }} |
Destination | Gateway | Device | Protocol | Scope | Metric | Flags | ||||
---|---|---|---|---|---|---|---|---|---|---|
{{ route.dst }} | {% if route.gateway %}{{ route.gateway }} | {% else %}default | {% endif %}{{ route.dev }} | {% if route.protocol %}{{ route.protocol }} | {% else %}{{ EMPTY_FIELD | safe }} | {% endif %} {% if route.scope %}{{ route.scope }} | {% else %}{{ EMPTY_FIELD | safe }} | {% endif %} {% if route.metric %}{{ route.metric }} | {% else %}{{ EMPTY_FIELD | safe }} | {% endif %}{{ route.flags | safe }} |