1. toshitanian

    Posted

    toshitanian
Changes in title
+Ubuntu18 eth1で固定IPの設定方法
Changes in tags
Changes in body
Source | HTML | Preview
@@ -0,0 +1,17 @@
+ref: https://qiita.com/devzooiiooz/items/4e2e1c5264d8960eb412
+
+```bash
+$ sudo vim /etc/netplan/11-localnetwork.yaml
+```
+```/etc/netplan/11-localnetwork.yaml
+network:
+ ethernets:
+ eth1:
+ addresses: [192.168.0.88/24]
+ dhcp4: false
+ version: 2
+```
+
+```bash
+$ sudo netplan apply
+```