Use it to find which subnet an address belongs to, and to check that routes and ACLs use the right network address.
Network address
The network address is the first address of a subnet (all host bits 0, for example 192.168.1.0/24); it identifies the subnet in routing tables and is not assigned to a host.
1. Prefix length → block size (e.g. /27 → 32).
2. Round the address down to a multiple of the block size: 10.1.1.77/27 → 10.1.1.64.
3. That is the network address.
4. Routes and ACLs must use it (with the matching mask or wildcard).
5. show ip route connected shows the same network.
address and prefix → host bits set to 0 → network address → used in routes, ACLs and summaries
Context & applicabilityCommon mistakes · platform/version boundaries
- Assigning the network address to a host (not allowed except on /31).
- Calculating with the wrong block size for non-/24 masks.
- Using a host address in routing statements where the network address is expected — IOS corrects some commands, others reject them.
Operational reference
Fast context before you go deeper.
show ip interface briefVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Calculate and check Verify boundary
show ip interface brief
show ip route connected
ipcalc 10.1.1.70/26 # Linux helper: network, broadcast, host range
Network address = IP AND mask. For 10.1.1.70/26 (mask .192): 70 AND 192 = 64 → network 10.1.1.64.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Block size = 256 − the interesting mask octet; subnets start at multiples of it. Network address = all host bits 0, broadcast = all host bits 1, hosts in between. Hosts per subnet = 2^host bits − 2 (a /31 has two usable addresses for point-to-point links, a /32 is one host). IOS rejects a route or interface address that is really a network address of a different mask ("Bad mask").
show ip interface brief— addresses on each interface.show ip interface <if> | include Internet address— address with prefix length.show ip route connected— the subnets the router derives from its addresses.show ip route <prefix> longer-prefixes— overlapping or more specific routes.- Subnet calculator (e.g.
ipcalc <ip>/<len>on Linux) — network, broadcast and host range.
ReferenceWhat it is1 section · depth on demand
How to find it
AND the address with the mask, or set all host bits to 0.
| Address/prefix | Network address |
|---|---|
| 192.168.1.77/24 | 192.168.1.0 |
| 10.20.30.200/26 | 10.20.30.192 |
| 172.16.45.9/20 | 172.16.32.0 |
For /26 the block size is 64 (256 − 192), so networks start at .0, .64, .128 and .192; .200 falls in the .192 block. The network address is used in routing tables and cannot be assigned to a host (except on /31 links).
ReferenceWhy it matters1 section · depth on demand
When to use it
Use it to calculate network, broadcast, usable range, host capacity, summarization boundaries and overlap before configuring a path.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Network and broadcast address together
For any address: network = address AND mask; broadcast = network OR wildcard.
| Address/prefix | Wildcard | Network | Broadcast |
|---|---|---|---|
| 10.1.1.70/26 | 0.0.0.63 | 10.1.1.64 | 10.1.1.127 |
| 172.16.45.9/20 | 0.0.15.255 | 172.16.32.0 | 172.16.47.255 |
| 192.168.7.130/30 | 0.0.0.3 | 192.168.7.128 | 192.168.7.131 |
Where IOS insists on the network address
| Command | Behaviour with host bits set |
|---|---|
ip route 10.1.1.70 255.255.255.192 ... | Rejected: %Inconsistent address and mask |
ip prefix-list X permit 10.1.1.70/26 | Converted silently or refused depending on release — always write the network address |
network 10.1.1.70 0.0.0.0 area 0 (OSPF) | Accepted: OSPF network matches interfaces, so any address inside works, and 0.0.0.0 matches exactly one interface address |
BGP network 10.1.1.64 mask 255.255.255.192 | Needs an exact RIB match for the network address and mask |
Directed broadcast
Traffic to a remote subnet's broadcast address (for example 10.1.1.127 from elsewhere) is a directed broadcast. IOS does not forward it by default (no ip directed-broadcast since 12.0), which prevents smurf amplification. Wake-on-LAN designs sometimes enable it on one SVI with an ACL; keep that exception narrow.
/31 and /32 exceptions
On a /31 point-to-point link (RFC 3021) there is no network or broadcast address — both addresses are hosts. A /32 is a single host route. Tools and scripts that assume "first address = network" must handle these cases.
Verify
show ip route connected shows the network the router derived for each interface; if it differs from the documented plan, the interface mask is wrong.
Worked example
The network address names the subnet as a whole. Routers store routes as network address plus prefix, so knowing how to derive it from any host address is the basis for reading routing tables, writing ACLs and checking whether two devices are really in the same subnet. The quick method is the block size: 256 minus the interesting mask octet gives the step between subnets, and the network address is the largest multiple of that step that is not higher than the host's octet.
The network address is the first address of a subnet (all host bits 0) and identifies the subnet in routing tables; it is not assigned to hosts (except in /31 and /32).
Worked example: 10.0.20.77/26 → block size 64 → subnets start at .0, .64, .128, .192 → network 10.0.20.64, first host .65, last host .126, broadcast .127.
ipcalc 10.0.20.77/26
show ip route 10.0.20.77 ! shows the matching prefix
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in IP Fundamentals → IPv4 → Addressing → Network address. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc791.html · confidence 94%