Now that there's a working install of Ubuntu on the server (if not, see Setting Up the Operating System), it's time to configure the network.
Software doesn't work all that well when the corresponding hardware isn't attached, so that's a good first step to take. Plug a blue cable into one of the two Ethernet ports on the server, and a red cable into the iLO port. The other end of the blue cable should go to one of the ports on the switch (we'll be using port 4) and the other end of the red cable should go to a different port on the switch (e.g. port 1).
Now it's time to set the Internet Protocol (IP) address. On the server, type
ip addr to see the different network interfaces. If the Ethernet is plugged into port 2 on the server, then the corresponding interface should be
enp3s1f1. If it's plugged into port 1 on the server, then the corresponding interface is
After that, execute these commands (assuming
ip link set dev enp3s1f1 up - Activates the connection on
ip addr add 188.8.131.52/25 dev enp3s1f1 - Assigns an IP address of
enp3s1f1. If it doesn't work, execute
The specific IP address of the server can be broken down into four parts:
198.38 - This first part is the CSL network ID.
21 - this represents the Understudy VLAN (see VLANs for more information).
113 - this could be any number between 0 through 127, inclusive, except 126 (which is the gateway IP address).
/25 - this creates a subnet that limits the size of the network to 128 addresses.
The server has an address now, but it doesn't know where anything is, which is where routing comes into play. Routing tells the server what it's looking for on the network.
sudo route -n to view the routing table. It should look like this:
If you're missing one or both of these, the syntax is
sudo route -net Destination gw Gateway netmask Genmask dev Iface, where
Iface are replaced with their specific values shown in the picture.
For Ubuntu 18.04, Canonical decided to try something new with network configuration. Gone wre the days of adding stuff in different places. Now all you needed was a single (or multiple) YAML file with all your config stuff. This system was named Netplan, and it is the default network configuration system on Ubuntu 18.04.
sudo nano /etc/netplan/01-netcfg.yaml to edit the Netplan configuration. Then just copy-paste the following:
network:version: 2renderer: networkdethernets:enp2s0f0:addresses:- 184.108.40.206/25gateway4: 220.127.116.11nameservers:addresses: [18.104.22.168, 22.214.171.124]search: [tjhsst.edu]
Remember to define the correct network interface and IP address.