Netplan: statik

From OnnoWiki
Revision as of 08:57, 10 December 2018 by Onnowpurbo (talk | contribs) (Created page with "edit file sudo su vi /etc/netplan/50-cloud-init.yaml isi network: ethernets: enp2s0: addresses: - 192.168.0.2/24 dhc...")
(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:
    ethernets:
        enp2s0:
            addresses:
            - 192.168.0.2/24
            dhcp4: false
            gateway4: 192.168.0.223
            nameservers:
                addresses:
                - 8.8.8.8
                search: []
    version: 2


Pranala Menarik