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 enp3s1f0
. enp3s1f1
):ip link set dev enp3s1f1 up
- Activates the connection on enp3s1f1
.ip addr add 198.38.21.113/25 dev enp3s1f1
- Assigns an IP address of 198.38.21.113/25
to enp3s1f1
. If it doesn't work, execute sudo !!
.198.38
- This first part is the CSL network ID.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.sudo route -n
to view the routing table. It should look like this:sudo route -net Destination gw Gateway netmask Genmask dev Iface
, where Destination
, Gateway
, Genmask
, and Iface
are replaced with their specific values shown in the picture. sudo nano /etc/netplan/01-netcfg.yaml
to edit the Netplan configuration. Then just copy-paste the following: