OPERATING SYSTEMSOS Linux

Set Static IP address inside Ubuntu Server 20.04



How to set Static IP address for Ubuntu Server 20.04

//Blog Site//

Welcome

//Steps//
— sudo nano /etc/netplan/00-installer-config.yaml
— Edit file to look something like
# This is the network config written by ‘subiquity’
network:
ethernets:
enp0s3:
# dhcp4: true
addresses: [192.168.0.200/24]
gateway4: 192.168.0.1
nameservers:
addresses: [8.8.8.8, 8.8.4.4]
version: 2
— Apply changes with sudo netplan apply

source
ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *