#33 - Ubuntu 20.04 set a Static IP with netplan

Published: 20 April 2020
on channel: Crazy-Logic
12,111
92

Here I show how to set a static IP on Ubuntu 20.04 (among other distro's).

The video showing SSH is here;

and here are the commands
ip link show
sudo nano /etc/netplan/01-network-manager-all.yaml
sudo netplan apply
ip address show

and the contents of the file (for example)
network:
version: 2
ethernets:
enp0s3:
dhcp4: false
addresses: [192.168.1.10/24]
gateway4: 192.168.1.1
nameservers:
addresses: [192.168.1.1]


------------------------------------------ Get Social ------------------------------------------
Facebook:   / crazylogica  
Twitter:   / crazy__logic  
Instagram:   / crazy__logic  
Github: https://github.com/crazy-logic
Twitch:   / crazy__logic  
Webby: http://www.crazy-logic.co.uk.

------------------------------------------ Go Shopping ------------------------------------------
Amazon affiliate links
► Raspberry Pi kit - https://amzn.to/3ebdtQJ


Watch video #33 - Ubuntu 20.04 set a Static IP with netplan online without registration, duration hours minute second in high quality. This video was added by user Crazy-Logic 20 April 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 12,111 once and liked it 92 people.