ipv4_calculator
Calculate network, broadcast, mask, hosts, class and binary for any IPv4 address
Enter runs the calculation · Shift+Enter inserts a new line
Calculate network, broadcast, mask, hosts, class and binary for any IPv4 address
Calculate network info for IPv6 addresses in CIDR notation
Variable Length Subnet Mask — assigns optimal blocks for each network segment
| # | Name | Hosts Req | Hosts Avail | Prefix | Network | First Host | Last Host | Broadcast | Mask |
|---|
Shows the exact usable host range for a given network
Convert IP addresses to binary and vice versa, with per-octet visualization
Convert between CIDR, decimal mask and wildcard. Includes full /1–/32 reference table.
| CIDR | Subnet Mask | Wildcard | Hosts | /24 subnets | Block |
|---|
Calculate the wildcard (inverse) mask for Cisco ACLs, OSPF and firewall rules
Find the minimum supernet containing all specified networks (route summarization)
Split a network into equal subnets by specifying a new prefix
| # | Network | First Host | Last Host | Broadcast | Hosts | Mask |
|---|
Convert an IP range (start–end) to the minimum set of CIDR blocks
| # | CIDR Block | Network | Broadcast | Hosts |
|---|
Convert IPv4/IPv6 addresses to integer and vice versa
Expand and compress IPv6 addresses — normalize any valid format
Convert between hexadecimal and IP address — useful for Windows route tables and Cisco logs
802.1Q VLAN info: tag encoding, PCP, DEI, VID, range and compatibility
Generate the PTR in-addr.arpa zone for an IPv4 network
Generate the PTR ip6.arpa record for an IPv6 address
Locate a public IP or resolve a domain and geolocate its public address
Interactive IP address space planner — click cells to edit, export to CSV
| # | Name | Network | Mask/CIDR | Gateway | VLAN | Location | Notes |
|---|
Theme, language, promotion dismissal and calculation history are stored in localStorage on this device.
Calculations are sent through this site's same-origin Worker proxy to the private calculation service.
LCP, CLS and INP may be stored as aggregate performance measurements by tool and language. Calculation inputs and persistent user identifiers are not included.
Only GeoIP lookups are processed by an external provider. The requested IP address is sent for that lookup.
A report link opens the public Telegram bot and includes only the current page slug in the bot start parameter. Calculator inputs and report text are not sent by this website. Text you choose to send inside Telegram is handled by Telegram and the bot.
Advertising is controlled by the production configuration. When Google AdSense is enabled, consent is handled through a certified CMP before personalized advertising is used where required.
Use the button below to clear calculation history. To remove every local preference, clear this site's data in your browser settings.
This page provides operational information; it is not a legal-compliance certification.
Revisa rutas, AllowedIPs, MTU, firewall y camino de retorno cuando WireGuard establece handshake pero las aplicaciones siguen fallando.
Un handshake reciente de WireGuard demuestra que los peers intercambiaron paquetes autenticados. No demuestra que los prefijos protegidos estén bien enrutados, que el retorno conozca el túnel ni que un firewall stateful permita los flujos interiores. Tómalo como el inicio del diagnóstico de forwarding.
AllowedIPs controla qué destinos se envían a un peer y qué prefijos de origen se aceptan desde él. Entradas solapadas, LAN remotas ausentes o una ruta por defecto asociada al peer equivocado pueden dejar un handshake sano sin tráfico útil. Compara ambos extremos.
Traza el destino desde el router origen y después revisa cómo volvería el extremo remoto hacia la fuente original. Una ruta existente solo en un sentido suele parecer pérdida dentro del túnel aunque el fallo real sea routing normal fuera de él.
Si pings pequeños funcionan pero HTTPS, transferencias o algunas aplicaciones se bloquean, calcula la MTU del túnel y prueba tamaños de paquete de forma deliberada. WireGuard añade overhead UDP y cifrado, y un underlay PPPoE ya reducido puede dejar la MTU interior en la zona baja de 1400.
Con rutas correctas, confirma que la interfaz del túnel está en la zona esperada y que NAT no reescribe tráfico de forma inesperada. Un peer puede descifrar el paquete y descartarlo acto seguido porque el forwarding entre zonas está denegado.
Si el prefijo remoto también se considera local en origen, el host puede hacer ARP en vez de enviar el paquete al gateway del túnel. Es habitual cuando ambas sedes usan rangos RFC1918 populares.
Documenta AllowedIPs, MTU efectiva, tabla de rutas y una prueba end-to-end exitosa. Así la siguiente incidencia pasa de “WireGuard está roto” a comparar contra una referencia conocida.