2.2 Given a scenario, configure servers to use network infrastructure services.
📘CompTIA Server+ (SK0-005)
Servers need a way to communicate with other devices on a network. This is done using IP addresses, which are unique identifiers for devices on a network. There are two main protocols for assigning IP addresses: IPv4 and IPv6.
1. IPv4 (Internet Protocol version 4)
IPv4 is the most widely used addressing protocol in IT networks. It uses 32-bit addresses, which are written in dotted decimal format like this:
192.168.1.10
- Structure: IPv4 addresses have four octets (8 bits each), separated by dots.
- Range: Each octet can be 0–255. So the total number of IPv4 addresses is around 4.3 billion.
- Subnetting: IPv4 networks can be divided into subnets to efficiently manage IP addresses in IT environments.
Key Concepts for Exam:
- Request for Comments (RFC):
- RFCs are official documents that define how the internet protocols work.
- IPv4 was defined in RFC 791. This is important to know because exam questions may ask for RFC references.
- Private vs Public IPs:
- Private IPs are used inside your network (LAN). They are not routable on the internet.
- Public IPs are used to communicate over the internet.
2. RFC 1918 Address Spaces
RFC 1918 defines the private IP address ranges that can be used in a local network. These are not globally unique and are commonly used in IT environments for internal servers, printers, and other devices.
Private IPv4 ranges:
| Range | CIDR Notation | Use |
|---|---|---|
| 10.0.0.0 – 10.255.255.255 | 10.0.0.0/8 | Large enterprise networks |
| 172.16.0.0 – 172.31.255.255 | 172.16.0.0/12 | Medium networks |
| 192.168.0.0 – 192.168.255.255 | 192.168.0.0/16 | Small networks / home labs |
Why it matters for servers:
- Internal servers like file servers, print servers, or DHCP servers often use these private IPs.
- Devices inside the network can communicate without using public IPs.
- When traffic goes to the internet, a NAT (Network Address Translation) device converts private IPs to a public IP.
3. IPv6 (Internet Protocol version 6)
IPv6 was created to solve the IPv4 address exhaustion problem. It uses 128-bit addresses, allowing for an almost unlimited number of unique addresses.
- Format: IPv6 addresses are written in hexadecimal, separated by colons:
2001:0db8:85a3:0000:0000:8a2e:0370:7334
- Abbreviations: Leading zeros can be removed, and consecutive zeros can be shortened with
:::
2001:db8:85a3::8a2e:370:7334
Key Features for IT environments:
- Huge address space: Ideal for modern servers, virtual machines, and IoT devices.
- Simplified network configuration: IPv6 can support stateless address auto-configuration (SLAAC), so devices can automatically generate an IP without needing a DHCP server.
- Better routing efficiency: IPv6 simplifies routing tables for large networks.
- Security: IPv6 was designed with IPSec in mind for encryption and secure communication.
4. How IPv4 and IPv6 Are Used in Server Networks
- IPv4 Example:
A company has a file server with IP192.168.1.100and a printer at192.168.1.101. Both are on the same subnet192.168.1.0/24. Employees access the file server using this private IPv4 address. - IPv6 Example:
A cloud server might use IPv62001:db8:1234::1. Other servers and devices in the same IPv6 network can connect without worrying about address collisions. - Transition/Coexistence:
Many networks still use dual-stack, meaning servers have both IPv4 and IPv6 addresses, ensuring compatibility with older systems and future-proofing.
5. Summary for Exam Focus
- IPv4: 32-bit, uses dotted decimal, defined in RFC 791. Supports public and private IPs.
- RFC 1918: Defines private IPv4 ranges (10.x.x.x, 172.16–31.x.x, 192.168.x.x). Used internally in LANs.
- IPv6: 128-bit, hexadecimal, almost unlimited addresses, supports SLAAC, built-in security features.
- Servers often use private IPv4 addresses internally and may be assigned IPv6 addresses for internet connectivity or cloud integration.
- Know the differences, benefits, and typical use cases of IPv4 vs IPv6.
