Sub topic 2
DHCP and APIPA, Name Resolution, IPv6, Cabling, and Connectors
Assume you understand basic Windows command-line use, that devices exchange data across networks, and that decimal and simple binary numbers are familiar.
DHCP and APIPA
Dynamic Host Configuration Protocol (DHCP) automatically gives a client an IP address, subnet mask, default gateway, and DNS server. The usual four-step exchange is DORA:
- Discover: The client broadcasts a request.
- Offer: A DHCP server offers an address.
- Request: The client requests that offer.
- Acknowledge: The server confirms the lease.
A DHCP reservation permanently assigns a known address to a device based on its MAC address while still using DHCP.
If a Windows client cannot contact DHCP, it may assign itself an Automatic Private IP Addressing (APIPA) address in 169.254.0.0/16. APIPA allows limited local communication, but it usually cannot reach other networks. A 169.254.x.x address commonly indicates a failed cable, wireless connection, DHCP service, or network path.
ipconfig /all
ipconfig /release
ipconfig /renewDNS and Name Resolution
The Domain Name System (DNS) converts names such as example.com into IP addresses. A client first checks local data, such as its cache and hosts file, then asks a configured DNS server. An A record maps a name to IPv4. An AAAA record maps a name to IPv6.
flowchart TD
A[Client requests example.com] --> B[Local cache and hosts file]
B -->|not found| C[DNS resolver]
C --> D[IP address returned]
D --> E[Client connects to the server]IPv6 Addressing Basics
IPv6 uses 128-bit addresses. Global unicast addresses are routable on the internet. Link-local addresses begin with fe80:: and work only on the local link. Unique local addresses begin with fc or fd and are intended for private networks. ::1 is the loopback address, and ff00::/8 identifies multicast addresses.
A common error is treating an IPv6 link-local address as an internet-routable address.
Network Cabling: Copper and Fiber
Twisted-pair copper is common for Ethernet. Cat 5e supports gigabit Ethernet, while Cat 6 and Cat 6a support higher speeds and reduce interference over suitable distances. Coaxial cable uses a central conductor and shielding. Fiber uses light, provides long distance and high bandwidth, and resists electromagnetic interference. Multimode fiber is common inside buildings; single-mode fiber supports longer distances.
Network Connectors
RJ45, commonly used for Ethernet twisted pair, has eight contacts. RJ11 is smaller and is used for telephone lines. F-type connectors terminate coaxial cable. LC, SC, and ST connectors terminate fiber. LC is small and often used in dense installations; SC uses a square push-pull body; ST uses a bayonet twist-lock.
Exercise
A client has a 169.254.20.8 address. What should you check first?
Show answer
Check the physical or wireless connection, DHCP availability, and the client’s DHCP lease. The APIPA address shows that DHCP configuration failed.