Static IP vs Dynamic IP: Side-by-Side Comparison Table
Static and dynamic IP addresses differ in how they are assigned, whether they stay fixed, common failure modes, direct cost, DNS hosting, reverse DNS and email delivery, firewall allowlisting, and best-fit use cases:
| Dimension | Static IP Address | Dynamic IP Address |
|---|---|---|
| Assignment mechanism | Configured manually on the interface or allocated statically by an ISP or cloud provider | Leased automatically from a pool by a DHCP server or autoconfigured in IPv6 |
| Address permanence | Fixed for its configured allocation until an administrator or provider changes it | Temporary lease; renewals can keep the same address, or it can rotate after expiry, reconnect, or maintenance |
| Primary failure mode | Manual typos, stale documentation, or duplicate-IP (ARP) conflicts if placed inside a DHCP scope | DHCP server outage or pool exhaustion triggers self-assigned APIPA addresses (169.254.0.0/16) with no internet gateway |
| Direct cost | Broadband ISPs typically require a business plan or add-on fee; AWS bills $0.005/public IPv4/hr (~$3.65/mo since Feb 2024) | Included at no extra fee on residential internet plans; private LAN DHCP carries zero address fee |
| DNS A / AAAA hosting | Stable endpoint; DNS records stay valid without client update scripts | Requires Dynamic DNS (DDNS) when publicly reachable; cached TTL answers route traffic to old IPs during rotation |
| Reverse DNS (PTR) & SMTP | Supports custom PTR and forward-confirmed reverse DNS; still verify Spamhaus PBL policy exclusion on end-user blocks | Most residential dynamic pools sit on Spamhaus PBL (1.4B+ IPv4s) and carry generic ISP PTRs; route mail via authenticated relay |
| Allowlists & VPN gateways | Stable destination or source IP for firewall allowlists, site-to-site IPsec tunnels, and partner APIs | Breaks strict IP allowlists whenever a lease rotates or when upstream CGNAT shares the egress IP |
| Best fit | Production web/API hosts, outbound mail relays, authoritative DNS, VPN gateways, and allowlisted offices | Laptops, phones, guest Wi-Fi, home browsing, streaming, gaming, and cloud-SaaS-only offices |
Most organizations run both models at the same time: fixed assignments on servers, routers, and VPN gateways, paired with automated dynamic DHCP pools on employee laptops, phones, and guest networks.
Four IP Assignment Models: Manual Static, DHCP Reservation, Dynamic Pool, and CGNAT
Real networks use four distinct IP assignment models rather than a simple static-or-dynamic split: manual static
addressing, DHCP reservations, dynamic DHCP pools, and shared carrier-grade NAT (CGNAT, the official shared ISP
address block 100.64.0.0/10 defined in IETF RFC 6598):
| Model | How It Works | Stays Fixed? | Dedicated? | Operational Caveat |
|---|---|---|---|---|
| Manual static IP | Entered directly on host or statically routed by ISP | Yes | Yes | Risk of duplicate-IP (ARP) conflicts if chosen inside an active DHCP pool |
| DHCP reservation (static lease) | DHCP server binds a device MAC address or DUID to one fixed IP | Yes (via DHCP server) | Yes (on LAN) | Depends on DHCP server availability; broken by per-SSID Private Wi-Fi MAC randomization |
| Dynamic DHCP pool | DHCP server leases an address from a pool with finite renewal timers | No (often sticky while online) | Dedicated during lease | Rotates after extended outage or ISP maintenance; unreliable for static allowlists |
| Shared CGNAT | Carrier-grade NAT (100.64.0.0/10) sharing one public IPv4 across customers | No | No (shared across subscribers) | Blocks unsolicited inbound port forwarding and standard IPv4 DDNS; shared IP reputation |
Separating a LAN DHCP reservation from reserved private IP ranges and understanding
network address translation (NAT) clarifies why a device showing DHCP enabled
can still receive a fixed local address while an ISP using CGNAT (100.64.0.0/10,
4,194,304 shared addresses) prevents direct inbound port forwarding.
How to Check If Your IP Address Is Static or Dynamic (Live Test and OS Commands)
Checking whether an IP address is static or dynamic requires two separate checks because operating system commands inspect your local LAN interface, while your ISP plan, router WAN screen, and repeated public IP observations establish how your internet-facing WAN address behaves.
Is My Public IP Static or Dynamic? (Live Observation & CGNAT Check)
Compares your observed public IPv4 or IPv6 /64 prefix across checks and tests your router WAN IPv4 for CGNAT.
Baseline: 198.51.100.17 (IPv4) · Later check: 198.51.100.17 -> Same address between checks (confirm static policy on your ISP bill; sticky dynamic leases can also stay unchanged).
Data path: your observed public IP and ASN are read via our edge endpoint (/api/check/my-ip) with no-store caching; reverse DNS (PTR) queries run directly from your browser via DNS-over-HTTPS. Saved baselines stay only in browser localStorage, and the router WAN CGNAT check runs locally in your browser with zero network requests.
Check your public WAN IP
- Verify your ISP plan first: Confirm on your internet bill or provider portal whether you subscribe to a dedicated static IP allocation; this is the only authoritative policy proof.
- Compare your router WAN IP against your observed public IP: Open your router's WAN status page and paste the WAN IPv4 into the local checker above to rule out carrier-grade NAT (CGNAT,
100.64.0.0/10) or upstream Double NAT. - Compare saved observations over time: Save a baseline above on the same network (with VPNs disabled) and run Check again later or after a normal modem reconnect; a same-family change confirms dynamic behavior, whereas an unchanged address can still be a sticky dynamic lease.
Check your local LAN IP on Windows, macOS, Linux, iOS, and Android
Remember that a local interface showing DHCP enabled can still receive a consistent LAN address through a router DHCP reservation. Use the command or settings path for your operating system below:
| Platform | Command or Settings Path | How to Interpret the Output |
|---|---|---|
| Windows (Command Prompt) | ipconfig /all | Check DHCP Enabled on the active adapter: Yes means DHCP-assigned (dynamic pool or LAN reservation); No means manual static. |
| Windows (PowerShell) | Get-NetIPAddress -AddressFamily IPv4 | Format-Table InterfaceAlias,IPAddress,PrefixOrigin | PrefixOrigin shows Dhcp vs Manual for each interface cleanly. |
| macOS (Settings & Terminal) | System Settings > Network > Details > TCP/IP or ipconfig getpacket en0 | Using DHCP indicates DHCP lease (or reservation); Manually indicates static. ipconfig getpacket prints active lease fields. |
| Linux (iproute2) | ip -4 addr show | Supporting clue: DHCP-leased addresses typically show the dynamic flag with a valid_lft countdown; manual addresses show valid_lft forever. |
| Linux (NetworkManager) | nmcli -f ipv4.method,IP4.ADDRESS dev show | Check ipv4.method on the active profile: auto indicates DHCP, manual indicates static configuration. |
| iOS / iPadOS & Android | Wi-Fi network info > Configure IP (iOS) or IP settings (Android) | Automatic / DHCP indicates local DHCP assignment; Manual / Static indicates on-device static configuration. |
# Windows Command Prompt (checks LOCAL LAN adapter only)
C:\> ipconfig /all
Wireless LAN adapter Wi-Fi:
DHCP Enabled. . . . . . . . . . . : Yes <-- Local DHCP (pool OR LAN reservation)
IPv4 Address. . . . . . . . . . . : 192.168.1.42(Preferred)
Lease Obtained. . . . . . . . . . : Wednesday, November 25, 2026 9:00:00 AM
Lease Expires . . . . . . . . . . : Thursday, November 26, 2026 9:00:00 AM
# Linux (inspect active NetworkManager profile + kernel lease lifetime)
$ nmcli -f ipv4.method,IP4.ADDRESS dev show
$ ip -4 addr show To inspect your full observed public address separately, open What Is My IP, or paste any public IPv4 or IPv6 address into IP lookup to check its owning network, ASN, and reverse DNS hostname.
How Dynamic IP Addressing Works: DHCP DORA, Lease Timers, Sticky Leases, and APIPA
Dynamic IPv4 assignment works through a four-step DHCP handshake called DORA (defined in the official internet DHCP standard, IETF RFC 2131), followed by automatic renewal timers and a self-assigned APIPA fallback whenever no DHCP server responds. DHCP is the assignment protocol; a dynamic IP is the temporary address it leases:
- Discover: The connecting client broadcasts a
DHCPDISCOVERpacket over UDP ports 67 and 68 to find DHCP servers on the local subnet. - Offer: Available DHCP servers reply with a
DHCPOFFERproposing an IPv4 address, subnet mask, default gateway, DNS servers, and lease duration. - Request: The client broadcasts a
DHCPREQUESTformally accepting the chosen server's offer. - Acknowledge: The server returns a
DHCPACKcommitting the lease record and activating the client's network configuration.
By default, clients request unicast lease renewal at the halfway mark (the T1 timer, 50 percent
of the lease duration, RENEWING state) and broadcast a rebind request at the T2 timer
(87.5 percent, REBINDING state), though DHCP servers can override both defaults. Because routers
renew before expiry, residential broadband connections frequently exhibit sticky dynamic leases
that keep the same public IPv4 for weeks while staying non-guaranteed. If a DHCP server goes offline or exhausts
its pool, an IPv4 client without an active lease falls back to a self-assigned APIPA link-local
address inside 169.254.0.0/16 (65,024 usable addresses from 169.254.1.0 to
169.254.254.255, subnet mask 255.255.0.0, ARP conflict probe, and zero default gateway).
Private (192.168.x.x) vs Public WAN IP: Two Independent Scopes
The 192.168.0.0/16, 10.0.0.0/8, and 172.16.0.0/12 blocks are reserved
private local network (LAN) ranges, not static IP types, and local LAN assignment operates independently of
whether your ISP provisions a static, dynamic, or CGNAT public WAN IP.
These common combinations show how local network (LAN) and internet (WAN) IP assignments work independently:
| Private LAN Assignment | Public ISP WAN Assignment | Typical Deployment |
|---|---|---|
| Dynamic LAN DHCP (192.168.1.42) | Dynamic ISP WAN (203.0.113.42) | Standard home Wi-Fi connection |
| Static LAN reservation (192.168.1.10) | Dynamic ISP WAN (203.0.113.42) | Home NAS or network printer on consumer broadband |
| Dynamic LAN DHCP (192.168.1.42) | Static business WAN (198.51.100.17) | Office laptop behind a business fiber firewall |
| Dynamic LAN DHCP (192.168.1.42) | Shared CGNAT WAN (100.64.12.34) | Mobile 5G hotspot or ISP using carrier-grade NAT (CGNAT) |
For full routing boundaries, read public vs private IP addresses and review the complete IANA special-purpose blocks in reserved and private IP ranges.
Static vs Dynamic Addressing in IPv6, Cloud VPCs, and VPNs
Modern IPv6 networks, cloud virtual private clouds, and VPN services replace older IPv4 DHCP assumptions with prefix delegation, daily temporary privacy addresses, per-hour public IPv4 billing, and dedicated VPN egress endpoints.
How IPv6 handles static vs dynamic addresses (SLAAC, DHCPv6, and privacy rotation)
In IPv6, your ISP typically assigns your router a whole network prefix (such as a /56 or
/64) via DHCPv6 Prefix Delegation, standardized in the current internet DHCPv6 specification
(IETF RFC 9915, published January 2026 as a full Internet Standard). Inside your local network,
devices create addresses automatically using SLAAC (Stateless Address Autoconfiguration) with stable interface
identifiers alongside temporary outbound privacy addresses that rotate roughly every 24 hours. That is why your
full 128-bit IPv6 address rotates daily even when your ISP's delegated /64 prefix stays fixed; see
IPv4 vs IPv6 addressing for full protocol differences.
Cloud VPCs (AWS, GCP, Azure) and Public IPv4 Billing
Cloud virtual machines receive private VPC addresses automatically via cloud DHCP, while auto-assigned ephemeral public IPv4 addresses can change whenever an instance stops and starts. Attaching a reserved static address (such as an AWS Elastic IP) preserves the public endpoint across instance replacements. Effective February 1, 2024, AWS bills $0.005 per public IPv4 address per hour (roughly $3.65 per month, or $43.80 per year) for both dynamic auto-assigned public IPv4s and static Elastic IPs, whereas native IPv6 addresses remain free.
VPN Static (Dedicated) vs Shared Dynamic IPs
Standard consumer VPN tunnels assign a shared dynamic egress IP rotated across many users, which triggers extra CAPTCHAs and blocks static firewall allowlists. Paying a VPN provider for a dedicated static VPN IP gives one consistent outbound source IP for partner allowlists without replacing your ISP plan, though inbound self-hosting still depends on whether the VPN supports port forwarding.
Why DNS Records, Web Servers, and Outbound Mail Need Static IPs
Hosting public DNS zones, web origins, or direct outbound SMTP servers on a rotating dynamic IP causes predictable operational failures:
- Stale DNS TTL caching: When a host's IP rotates, recursive resolvers continue serving the previous DNS A record until DNS TTL caching expires worldwide, creating avoidable connection failures during failover.
- Reverse DNS (PTR) and Spamhaus PBL policy blocking: Major mail receivers check that a sending IP has a reverse DNS PTR record matching its forward hostname (FCrDNS). The Spamhaus Policy Blocklist (PBL) covers more than 1.4 billion IPv4 addresses (nearly 40 percent of routable IPv4 space), listing both dynamic and static end-user ranges that by network policy should not send direct unauthenticated SMTP. Check any sending IP with the IP blacklist checker and review smarthost or exclusion steps in the Spamhaus blocklist removal guide.
- Authoritative nameserver glue staleness: In-domain authoritative nameservers rely on parent TLD registry glue records cached for long intervals, making rotating dynamic IPs unsuitable for authoritative DNS infrastructure.
For non-mail home labs on publicly routable dynamic lines, Dynamic DNS (DDNS) updates low-TTL DNS records automatically after an IP change; behind CGNAT, use native IPv6 or an outbound reverse tunnel instead, and route outbound email through an authenticated SMTP relay.
When to Use a Static IP vs a Dynamic IP: Decision Matrix and Safe Conversion
Assign a static IP or LAN DHCP reservation whenever another system, DNS record, or firewall rule must locate a host by address, and keep dynamic DHCP for client devices that only initiate outbound connections. Match your setup to these common home, office, and server scenarios:
| Network Scenario | Recommended Choice | Condition & Rationale |
|---|---|---|
| Home browsing, streaming, and gaming | Dynamic IP | Zero extra fee, automatic DHCP setup, and equal bandwidth; a static IP does not lower ping. |
| Small office using cloud SaaS only | Dynamic IP | Applications live in cloud data centers, so outbound client connections need no fixed address. |
| Firewall, broker, or partner API allowlisting | Static IP (or dedicated VPN) | Prevents lockouts when an ISP rotates a sticky lease during overnight maintenance. |
| Self-hosted production website or API | Static IP | Keeps DNS A/AAAA records pinned to one origin without TTL rotation gaps. |
| Self-hosted outbound SMTP mail server | Static IP (plus clean PBL & PTR) | Required to publish custom FCrDNS PTR records; confirm Spamhaus PBL exclusion or use an authenticated relay. |
| Site-to-site hardware VPN or VoIP PBX | Static IP | Keeps IPsec tunnel peers and SIP trunks anchored to a stable gateway endpoint. |
| Home lab or NAS on residential broadband | Dynamic IP + DDNS (or tunnel if CGNAT) | DDNS updates DNS automatically only when the WAN IP is publicly routable; behind CGNAT use IPv6 or an outbound tunnel. |
| LAN printers, IP cameras, and local servers | DHCP reservation (LAN) | Gives predictable local IPs without manual device entry or duplicate-IP risk; disable MAC randomization on reserved hosts. |
Confirming whether your workload needs inbound reachability, a fixed outbound allowlist source, or direct SMTP delivery prevents paying for an unnecessary static IP on standard client lines.
How to switch a LAN device from DHCP to static without causing an IP conflict
Follow these steps to convert an existing local server or gateway safely:
- Choose an address outside the DHCP pool: Pick a target IP outside the router's assignable DHCP range (or add a formal DHCP exclusion rule first).
- Verify the address is unused: Run an ARP or ping check on the subnet to confirm no active host already holds that IP.
- Record exact network parameters: Copy the subnet mask, default gateway, and DNS server addresses before switching the interface from DHCP to manual.
- Apply the static address and update dependencies: Save the interface configuration, then update internal DNS A/PTR entries and firewall rules.
- Clear any stale DHCP lease: Release or delete the device's old lease entry on the DHCP server so the pool reclaims it cleanly.
Following this sequence prevents duplicate-IP conflicts that cause intermittent packet drops on shared subnets.
Static vs Dynamic IP Myths: Speed, Security, Privacy, and SSL
Choosing between static and dynamic IP addressing does not change internet bandwidth, does not guarantee anonymity, and is not required for HTTPS certificates. These common myths do not hold up in real networks:
| Common Myth | Engineering Reality | Governing Technical Fact |
|---|---|---|
| Static IPs deliver faster download or upload speeds | False: assignment type does not change throughput or latency | Bandwidth and ping depend on your ISP plan, physical medium, and routing path, not DHCP vs static assignment. |
| Dynamic IPs make you anonymous and untraceable | False: ISPs retain DHCP and CGNAT lease logs | Lawful timestamped lease logs map dynamic IPs back to accounts, and browsers remain trackable via cookies and TLS/device signals. |
| HTTPS / SSL certificates require a dedicated static IP | False: TLS SNI hosts many certificates on shared IPs | Modern web servers and CDNs serve distinct TLS certificates per hostname over shared IPv4 and IPv6 addresses. |
| An old or static IP guarantees email inbox delivery | False: Spamhaus PBL lists both dynamic and static end-user ranges | Verify PBL status, publish FCrDNS PTR, and align SPF, DKIM, and DMARC (or send through an authenticated relay). |
Focusing on actual protocol dependencies (reachability, allowlists, and mail policy) rather than speed or anonymity myths leads to simpler, more reliable networks.
Frequently asked questions
Why has my dynamic IP address stayed the same for months?+
Residential ISPs frequently issue sticky dynamic leases that renew the same IPv4 address as long as your modem stays online. Your router automatically sends a renewal request halfway through the lease (at 50 percent of the lease duration), and the ISP often extends the existing address. It remains dynamic and can rotate without notice after a prolonged outage, modem replacement, or ISP network maintenance.
Is 192.168.1.1 a static or dynamic IP address?+
Neither by default: 192.168.1.1 sits inside 192.168.0.0/16, a reserved private local network (LAN) range rather than an assignment permanence type. Routers commonly hold 192.168.1.1 as a fixed LAN gateway while handing out other 192.168.1.x addresses via dynamic DHCP leases or MAC-bound DHCP reservations, independent of whether your ISP assigns a static or dynamic public WAN IP.
Can static IP addresses and DHCP share the same subnet?+
Yes, static IP addresses and a DHCP pool can share the same subnet as long as every manually configured static address sits outside the DHCP assignable range or inside a configured exclusion. Placing a manual static IP inside an active DHCP pool causes duplicate IP address (ARP) conflicts when the DHCP server leases that same address to another host.
What happens to connected devices if a DHCP server goes down?+
Devices holding active DHCP leases continue communicating normally until their lease duration expires. New hosts joining the subnet, or clients whose leases expire during the outage, cannot obtain an IPv4 lease and fall back to a self-assigned link-local (APIPA) address in 169.254.0.0/16 with no default gateway or internet access.
Why does my IPv6 address change every day even when my ISP prefix stays fixed?+
Modern operating systems enable temporary IPv6 privacy addresses, which generate a new random lower 64-bit interface identifier roughly every 24 hours for outbound connections. Because the upper 64-bit network prefix comes from your ISP, compare your /64 prefix over time rather than comparing the full 128-bit IPv6 address.
Does Dynamic DNS (DDNS) work behind CGNAT, and how much does a static IP cost?+
No, standard IPv4 Dynamic DNS cannot expose inbound services behind carrier-grade NAT (the shared ISP range 100.64.0.0/10) because the public IPv4 address is shared across subscribers and unsolicited inbound packets are blocked upstream; use native IPv6 or an outbound reverse tunnel instead. For pricing, AWS bills $0.005 per public IPv4 per hour (about $3.65 per month, effective February 2024, while IPv6 stays free), and broadband ISP static fees vary by carrier and business plan tier.
Related IP and DNS tools
- Verify forward-confirmed reverse DNS on a static mail server with the PTR record lookup.
- Check the reverse hostname and network ownership of any IP using the reverse IP lookup.
- Inspect the Autonomous System (ASN) and announced BGP prefixes for an ISP block in the ASN lookup.
- Plan LAN DHCP scopes, static exclusions, and shared CGNAT blocks with the CIDR calculator.