Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

IP Fundamentals

Direct answer

IP fundamentals cover how hosts are addressed and reach each other: IPv4 and IPv6 addressing and subnetting, ARP and Neighbor Discovery, and the TCP and UDP transports that carry application traffic.

When to use this

Use IP Fundamentals to confirm the basics a failure depends on: the host address and prefix, TCP or UDP behavior, ARP/Neighbor Discovery and the default gateway, before investigating routing or services.

First 30 seconds

1. Host: address, prefix, gateway and DNS correct? (ipconfig /all, ip -br addr)

2. Gateway reachable: ping it, then check the ARP / neighbour entry.

3. Router: show ip route <dest> — route present? Return route on the far side?

4. traceroute <dest> — where does it stop?

5. Application: TCP port open (Test-NetConnection <host> -Port <p> or nc -vz <host> <p>)?

Operational verification

correct address and prefix → gateway resolved (ARP/ND) → route to destination → return route → transport connects (TCP handshake / UDP reply) → application answers

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Wrong subnet mask, so hosts treat remote addresses as local (or the reverse).
  • Default gateway outside the host's subnet.
  • Duplicate IP addresses from static assignments inside DHCP scopes.
  • DNS server unreachable or pointing to a public resolver on a domain network.
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE
Scope / prerequisiteUse IP Fundamentals to confirm the basics a failure depends on: the host address and prefix, TCP or UDP behavior, ARP/N…
What next?3 suggested next steps
Child topics (this level)5
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Host checklist Verify boundary

1. Correct IP address and prefix for the VLAN.

2. Default gateway in the same subnet and reachable (ARP entry present).

3. DNS servers reachable and answering.

4. No duplicate address (Windows event 4199, Linux arping -D).

5. For IPv6: link-local address, RA received, default route via fe80:: address.

Step 2 What it is Narrow the fault

IP fundamentals cover how hosts are addressed (IPv4, IPv6), how packets are delivered between networks, and the transport layer on top (TCP for reliable sessions, UDP for lightweight datagrams), plus ICMP for errors and diagnostics. Almost every troubleshooting path starts with addressing, routing and port reachability.

Evidence references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Drill down

Subtopics

Go one level deeper into this subject.

Key points

Work bottom-up: correct address and prefix, gateway resolved by ARP (IPv4) or Neighbor Discovery (IPv6), a route to the destination and back, then the transport — TCP must complete a handshake, UDP must get an answer. A ping that works proves only ICMP, not that the application port is open.

Key checks
  • show ip interface brief — interface addresses and status.
  • show ip route <dest> — the route and next hop used.
  • show ip arp <next-hop> — next hop resolved to a MAC address.
  • ping <dest> source <if> — reachability from a chosen source.
  • traceroute <dest> — where the path stops.
  • Host: ipconfig /all (Windows) or ip -br addr and ip route (Linux).
ReferenceWhy it matters1 section · depth on demand

What this area covers

TopicAnswers
TCP / UDPReliable connections vs low-overhead datagrams
IPv4Addressing, subnetting, private ranges, ARP
IPv6Address types, prefixes, EUI-64, Neighbor Discovery, SLAAC/DHCPv6
Client IP VerificationHow to check address, gateway and DNS on Windows, Linux and macOS

A host can only reach another network if it has a correct address and prefix, a reachable default gateway, and (for names) a working DNS server. Check those three first.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

IP fundamentals

IP moves datagrams between networks. RFC 791 describes IPv4 as handling each datagram independently, without connections, and offering only best-effort delivery: no acknowledgements, retransmission, flow control or sequencing, and a checksum over the header only. Reliability, when needed, comes from protocols above it such as TCP.

The layers around IP

LayerProtocolsUnit
ApplicationHTTP, DNS, SSHMessage
TransportTCP, UDPSegment / datagram
InternetIPv4, IPv6, ICMPPacket
LinkEthernet, Wi-Fi, ARPFrame

What IP provides (RFC 791)

FunctionMechanism
Addressing32-bit source and destination addresses
Upper-layer identificationProtocol field (6 = TCP, 17 = UDP, 1 = ICMP)
Loop protectionTTL, decremented per hop; packet discarded at zero
FragmentationIdentification, flags (DF, MF) and fragment offset
Header integrityHeader checksum, recomputed at each hop

What a host needs to use IP

SettingPurpose
IP address and prefix lengthIdentity and local subnet
Default gatewayRouter for destinations outside the subnet
DNS serversNames to addresses
host$ ip -br addr show eth0
eth0             UP             10.110.0.64/24
host$ ip route
default via 10.110.0.1 dev eth0 proto dhcp metric 100
10.110.0.0/24 dev eth0 proto kernel scope link src 10.110.0.64
R1# show ip interface brief | exclude unassigned
R1# show ip route summary

Local or remote

A host compares the destination with its own subnet. Local destinations are reached directly (after ARP); remote ones go to the default gateway, and routers repeat the decision hop by hop.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

IP fundamentals are the foundation every other networking topic builds on. They cover how devices are addressed in IPv4 and IPv6, how addresses are divided into subnets, how devices find each other on a link, and how hosts get their configuration. When something does not work, checking these basics first resolves a large share of problems.

IP fundamentals overview: IPv4 and IPv6 addressing and subnetting, ARP and Neighbor Discovery, ICMP/ICMPv6, TCP and UDP, DHCP and SLAAC, DNS, and verifying host configuration on each OS.

ip -br addr; ip route        # Linux
ipconfig /all; route print   # Windows
ifconfig; netstat -rn        # macOS
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in IP Fundamentals. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
Confirmation

Confirm action

Continue?