When configuring Ethernet for client computers, if your IPv4 network offers DHCP, you should be able to plug right in. If you’re using IPv6, you should be able to attach the cable and let autoconfiguration take over.
If a particular machine will be a server, a static IP address probably makes more sense. Before assigning a static address, you’ll need the following:
An IP address (IPv4, IPv6 or both)
The netmask/prefix length(s)
The IP address(es) of the default gateway
Armed with this information, attach your system to the network and keep reading. I’ll first discuss using
route(8) to perform changes manually, and then review how to set these automatically at boot. In any case, you must configure the resolver ...