#43 – Ubuntu 20.10 Groovy Gorilla set a Static IP with Netplan



Here I show how to set a static IP on Ubuntu 20.10 (among other distro’s).
0:12 – the GUI method
1:20 – getting into the netplan file
5:25 – I also show how to set multiple address on one interface.

commands along the lines of

ip link show
sudo nano /etc/netplan/01-network-manager-all.yaml
sudo netplan apply
ip address show

will also work on server but the yaml file will be named something else.

and the contents of the file (for example)
network:
version: 2
ethernets:
ens3:
dhcp4: false
addresses: [192.168.88.10/24]
gateway4: 192.168.88.1
nameservers:
addresses: [192.168.88.1]

and the contents of the file (for DHCP example)
network:
version: 2
ethernets:
enp0s3:
dhcp4: true

see https://netplan.io/examples/ for more examples

——————————————- Get Social ——————————————-
Facebook: https://www.facebook.com/crazylogica
Twitter: https://twitter.com/crazy__logic
Instagram: https://www.instagram.com/crazy__logic
Github: https://github.com/crazy-logic
Twitch: https://www.twitch.tv/crazy__logic
Webby: http://www.crazy-logic.co.uk.

2 thoughts on “#43 – Ubuntu 20.10 Groovy Gorilla set a Static IP with Netplan

  1. Thanks a bunch for this quick video. I changed my local 2020.10 ubuntu server's ip address with ease following this. I'm glad you made those mistakes (intentional or not) so that we can see how netplan detects those types of issue. Thanks again!

Leave a Reply

Your email address will not be published.