How to update IP Config/Add Secondary IP (Linux - Ubuntu)

1. Open CMD and SSH to the client's server using the following command, replacing "Username" with the client's username and "IP Address" with the client's IP address - ssh -p 22 "Username"@"IP Address".
1. cd /etc/netplan
2. cat 00-installer-config.yaml
1. sudo nano /etc.netplan/00-installer-config.yaml
1. To change the existing IP address use the arrow keys to navigate to the corresponding line of code. Then use the backspace key to delete the previous IP before entering your new IP using the number keys.
2. You can follow the same steps for changing the Gateway or the Nameservers, ensuring to input the code on the correct line of the config.
1. You can also add an additional IP addresses to the config, to do this use the arrow keys to navigate to the end of the "addresses" line and hit "Enter" to create a new line, "Tab" along the line until your cursor lines up with the line above.
2. Enter the new IP address with the same format as the one on the line above. (It should look something like the below screenshot).
1. Hit "Ctrl+O" to save the changes and then hit "Ctrl+X" to exit the editing tool.
2. sudo netplan apply
3. logout