"Before connecting a cell to the grid, you must know what interfaces it has, which are operational, and where the grid's naming layer will route its traffic. This module is the pre-flight check. Week 3 builds the infrastructure behind what you are reviewing here."
The ip command is the modern replacement for the deprecated ifconfig and route tools. Know it. ifconfig is not installed by default on Ubuntu 22.04.
Ubuntu 22.04 uses predictable interface naming: ens33, enp3s0, eno1. The legacy eth0 name may still appear in VMs or containers. Look for state UP and an assigned IP to confirm operational status. The loopback interface lo should always show 127.0.0.1.
Before connecting a cell to the grid, you must know what interfaces it has and which are operational. This is the pre-flight check.
ICMP-based tools confirm whether a cell can reach another node. They are the fastest first-pass check, but their absence (blocked by firewall) does not prove a host is down.
* * * in traceroute output means that hop dropped (or did not respond to) the ICMP probes. It does not necessarily mean the path is broken; the intermediate router may simply not respond to ICMP TTL-expired messages. Reachability of the final destination is the definitive test.
A cell that cannot reach its sector gateway has an isolation problem. Know where the break is before escalating.
DNS is the naming layer of the grid. Without it, cells cannot find each other by name. Understanding the resolution order and the tools to test each layer is essential before Week 3 builds the actual DNS infrastructure.
The resolution order is defined in /etc/nsswitch.conf under the hosts: line. On Ubuntu 22.04 the default is files dns: check /etc/hosts first, then query DNS. To add a manual override for a grid node, add a line to /etc/hosts in the format IP hostname alias. These entries take priority over DNS and are immune to DNS poisoning.
DNS is the naming layer of the grid. Without it, cells cannot find each other by name. Week 3 builds the infrastructure behind this refresher.
Every remote operation on the grid goes through SSH. This refresher covers the commands and files that Week 2 will harden in depth.
~/.ssh/config lets you define host aliases so you can type ssh cell071 instead of the full command with flags. The authorized_keys file in ~/.ssh/ on the remote host lists the public keys allowed to authenticate without a password. Its permissions must be 600 or SSH will refuse to use it.
Every remote operation on the grid goes through SSH. Weak SSH configuration means the cell's secure link is not actually secure. Week 2 hardens this.
Knowing which ports are open on your cell is the first step of every hardening engagement. ss is the modern replacement for netstat and reads directly from the kernel socket table.
| Port | Protocol | Service |
|---|---|---|
| 22 | TCP | SSH (secure shell) |
| 53 | TCP/UDP | DNS |
| 80 | TCP | HTTP |
| 443 | TCP | HTTPS |
| 3306 | TCP | MySQL |
| 8443 | TCP | Grid API (cell services) |
Knowing which ports are open on your cell is part of the pre-hardening inventory. You cannot protect what you do not know is listening.
If you are comfortable with all of these, proceed to ALA-R5: Signal Processing.