Netplan: statik

From OnnoWiki
Revision as of 11:03, 23 July 2021 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

edit file

sudo su
vi /etc/netplan/50-cloud-init.yaml

isi

network:
  version: 2
  renderer: networkd
  ethernets:
    enp0s3:
     dhcp4: no
     addresses: [192.168.1.222/24]
     gateway4: 192.168.1.1
     nameservers:
       addresses: [8.8.8.8,8.8.4.4]


Pranala Menarik