{% extends "network/base.html" %} {% block title %}Subnet Calculator — Network Design Canvas{% endblock %} {% block head %} {% endblock %} {% block content %}
Compute IPv4/IPv6 subnet details and save to project history. One CIDR per project — duplicates update in place.
10.1.2.0/24 · IPv6: 2001:db8::/48 · Link-local: fe80::/64
| CIDR | Network | Hosts | Mask | Class | {% if not filter_project %}Project | {% endif %}Actions |
|---|---|---|---|---|---|---|
| {{ h.cidr }} | {{ h.network_addr }} | {%- if h.address_family == 'ipv6' -%} — {%- elif h.usable_hosts -%} {{ "{:,}".format(h.usable_hosts) }} {%- else -%} 0 {%- endif -%} | {{ h.subnet_mask }} | {% if h.address_family == 'ipv6' %} v6 {% elif h.ip_class and h.ip_class != 'N/A' %} {{ h.ip_class }} {% else %}—{% endif %} | {% if not filter_project %}{{ h.get('project_name','—') }} | {% endif %}