🚧 Under construction — VoTechWorks is being built. A free tech program — complimentary, as our commitment to get America working.
voTechWorksGrade 13 · a vocational technology learning center, by urbanicity
newSchoolWorks.com › VoTechWorks › Technology & Design › Data Center Technician › Linux Basics for Data Center Technicians › Lesson 4
TEC-DATA82-07 · Lesson 4 · 12 clock hours · lab

Network Configuration and Verification

Objective. Students will configure a static IP address, subnet mask, default gateway, and DNS resolver on a Linux server using the distribution's standard tooling, then verify end-to-end connectivity with diagnostic commands.

⚠ Pending professional review

This lesson, its worked examples and its practice questions has not yet been verified by an industry-certified professional or by a certification or approval body. It is a study draft and may contain errors. Do not use it as instructions for work on a job site or on live equipment. Always follow your instructor, your supervising professional, and current official references and regulations.

VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.

Why Static IP Configuration Matters in a Data Center

In a production data center, every server must have a predictable, permanent network address. Dynamic addressing (DHCP) is convenient for workstations, but servers need static IP addresses so that other systems—monitoring tools, backup agents, load balancers, and administrators—can always reach them at the same address. Configuring and verifying that address correctly is one of the first hands-on tasks a data center technician performs when racking a new server.

Core Network Parameters

Every Linux server connected to a network needs four pieces of information:

Without a correct gateway the server cannot reach anything outside its own subnet. Without a working DNS entry it cannot resolve hostnames, even if IP connectivity is fine.

Viewing the Current Configuration

Before changing anything, always check what is already configured. The `ip` command is the standard tool on modern Linux distributions.

Read the output carefully. The interface name (for example, `ens3`, `eth0`, or `enp3s0`) varies by system and driver.

Configuring a Static IP on RHEL/AlmaLinux with nmcli

Red Hat–family distributions use NetworkManager, controlled from the command line with `nmcli`. The connection name is typically the interface name or a profile name shown by `nmcli connection show`.

A typical sequence to set a static address on a connection named `ens3`:

```

nmcli connection modify ens3 ipv4.method manual \

ipv4.addresses 10.10.20.50/24 \

ipv4.gateway 10.10.20.1 \

ipv4.dns 10.10.20.5

nmcli connection up ens3

```

After running these commands, use `ip addr show ens3` and `ip route show` to confirm the settings took effect.

Configuring a Static IP on Ubuntu Server with Netplan

Ubuntu Server uses Netplan, which reads YAML configuration files stored in `/etc/netplan/`. Edit (or create) the file for your interface, being careful with indentation—YAML is whitespace-sensitive:

```yaml

network:

version: 2

ethernets:

ens3:

dhcp4: no

addresses:

routes:

via: 10.10.20.1

nameservers:

addresses:

```

Apply the configuration with `sudo netplan apply`. Then verify with `ip addr show` and `ip route show`.

Verifying Connectivity Step by Step

Always verify in order from the most local to the most remote:

1. Ping the gateway (`ping 10.10.20.1`) – confirms Layer 3 connectivity on the local subnet

2. Ping a remote IP – confirms routing is working

3. Ping a hostname (`ping server2.lab.local`) – confirms DNS is resolving

4. Use `traceroute` – shows each hop to a destination; useful when a ping fails and you need to find where the path breaks

5. Use `nslookup` or `dig` – queries DNS directly; isolates name-resolution failures from general connectivity failures

6. Use `ss -tuln` – lists open TCP and UDP ports; confirms which services are listening and on which addresses

Common Faults and How to Isolate Them

| Symptom | Likely Cause | First Check |

|---|---|---|

| Can ping gateway, cannot reach other subnets | Wrong gateway IP | `ip route show` |

| Can ping by IP, cannot ping by name | DNS misconfigured or unreachable | `nslookup hostname` or `dig hostname` |

| Ping blocked from outside, services running | Firewall blocking ICMP | Check firewall rules; use `ss` to confirm service is listening |

Documentation as a Professional Practice

After configuring a server, document every setting in your lab log and, in a real facility, in the Data Center Infrastructure Management (DCIM) system. A complete record includes: hostname, interface name, IP address and mask, gateway, DNS servers, and open ports (from `ss -tuln`). Accurate records prevent IP conflicts, speed up troubleshooting, and are required by most data center operating procedures.

Safety Note

This lab uses live network switches on a dedicated VLAN. Do not change VLAN assignments or switch port settings without instructor approval—misconfiguration can disrupt other students' connectivity. When working inside server chassis to seat a network card, follow lockout/tagout procedures and wear appropriate PPE (ESD wrist strap, safety glasses). For cable work in overhead trays, use a ladder rated for the load and follow your facility's ladder safety policy.

Key terms10

Static IP addressA manually assigned Layer 3 address that does not change between reboots, required for servers so other systems can reliably reach them.
CIDR notationA compact way to express an IP address and its subnet mask together, for example 10.10.20.50/24, where /24 means the first 24 bits are the network portion.
Default gatewayThe IP address of the router a host sends packets to when the destination is outside its local subnet.
DNS resolverA name server that translates human-readable hostnames into IP addresses; configured on the server so applications can look up destinations by name.
nmcliThe command-line interface for NetworkManager, used on RHEL-family Linux distributions to create, modify, and activate network connection profiles.
NetplanA YAML-based network configuration tool used on Ubuntu Server that generates and applies settings for the underlying network daemon.
ip route showA Linux command that displays the kernel routing table, including the default gateway entry, allowing verification that routing is configured correctly.
ssA Linux utility that displays socket statistics; used with the -tuln flags to list all open TCP and UDP listening ports without resolving names.
DCIMData Center Infrastructure Management — software and processes used to record and track physical and logical assets, including server IP addresses and port assignments.
tracerouteA network diagnostic command that sends packets with incrementing TTL values to reveal each router hop along the path to a destination, helping locate where connectivity breaks.
In class: Instructor demonstration of ip addr, ip route, nmcli (on RHEL/AlmaLinux), and netplan (on Ubuntu Server); students configure a static IP on their lab server following a provided addressing plan, then run ip addr show and ip route show to verify settings. · Connectivity troubleshooting relay: instructor introduces three sequential faults (wrong gateway, missing DNS entry, firewall rule blocking ICMP) one at a time; students use ping, traceroute, nslookup/dig, and ss to isolate each fault, document the symptom and fix in their lab log, and restore connectivity before the next fault is introduced. · Network configuration documentation exercise: students write a concise network configuration record for their server (hostname, IP, mask, gateway, DNS, open ports from ss -tuln) formatted as if it were a data center asset record, mapping to real DCIM documentation practices.
Materials: Lab servers connected to a managed lab switch with a dedicated VLAN; pre-printed IP addressing plan; CompTIA A+ Core 2 and Server+ exam objectives (Networking domain); ip, nmcli, netplan man pages; lab log notebooks.
Check: Instructor pings each student's server from an external host and from the server to an external address; student must demonstrate DNS resolution of at least two hostnames and show the correct static configuration with ip addr show. Pass mark: full bidirectional connectivity, correct static config visible, and lab log entries for all three faults (pass/fail binary on connectivity; 3/3 fault logs required).

Practice check8

Answer each question, then check it. Nothing is recorded; this is your own practice.

CompTIA Server+ — Networking
1. A technician runs `ip addr show ens3` and sees no IPv4 address listed. Which command correctly assigns the static address 192.168.10.20/24 to that interface on an AlmaLinux server using NetworkManager?
CompTIA A+ Core 2 — Networking
2. After configuring a static IP on an Ubuntu Server, the technician can ping the default gateway by IP address but cannot ping any external hostname. What is the most likely cause?
CompTIA Server+ — Networking
3. A technician wants to confirm which TCP ports a Linux server is currently listening on without performing name resolution. Which command is correct?
CompTIA A+ Core 2 — Networking
4. During a troubleshooting relay exercise, a student's server can reach the default gateway but cannot reach any address on a remote subnet. The output of `ip route show` shows no default route. What should the student do?
CompTIA A+ Core 2 — Networking
5. Which command allows a technician to trace the path that packets take from a Linux server to a remote destination, showing each router hop?
CompTIA Server+ — Security
6. A student's server has a correct IP address, gateway, and DNS configuration, but an instructor cannot ping the server from an external host. The student confirms the server's service is listening using `ss -tuln`. What fault category should the student investigate next?
CNet CDCTP — Data Center Operations
7. In a data center environment, why are servers assigned static IP addresses rather than DHCP addresses?
CNet CDCTP — Documentation and Asset Management
8. A technician is creating a network configuration record for a server as part of DCIM documentation. Which set of information is most complete and appropriate for that record?
Record this lesson on my transcript. Sign in with your key and enrollment email to record lessons (enroll free if you have no key). This page stays open to read and practise.