The WCM uses Netplan to set a static IP
Make a backup of the yaml file before editing.
Edit the yaml file and follow the template below. Administrator privilege is required to edit this file.
sudo vi /etc/netplan/50-cloud-init.yaml
network: version: 2 ethernets: eth0: dhcp4: false dhcp6: false addresses: [STATIC IP ADDRESS] gateway4: GATEWAY IP nameservers: addresses: [DNS IP]
Sample Configuration (replace addresses, gateway4 and nameserver addresses with the appropriate IPs used in your environment)
network: version: 2 ethernets: eth0: dhcp4: false dhcp6: false addresses: [192.168.1.201] gateway4: 192.168.1.1 nameservers: addresses: [184.108.40.206]
Write and Quit the editor by hitting
<ESC> then press and hold
<SHIFT> and type
Apply the changes by running this command:
sudo netplan apply