Difference between revisions of "Netplan: statik"
Jump to navigation
Jump to search
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...") |
Onnowpurbo (talk | contribs) |
||
Line 8: | Line 8: | ||
network: | network: | ||
ethernets: | ethernets: | ||
− | + | enp3s0: | |
addresses: | addresses: | ||
− | - 192.168.0. | + | - 192.168.0.10/24 |
dhcp4: false | dhcp4: false | ||
gateway4: 192.168.0.223 | gateway4: 192.168.0.223 |
Revision as of 06:49, 29 January 2019
edit file
sudo su vi /etc/netplan/50-cloud-init.yaml
isi
network: ethernets: enp3s0: addresses: - 192.168.0.10/24 dhcp4: false gateway4: 192.168.0.223 nameservers: addresses: - 8.8.8.8 search: [] version: 2