Ubuntu22.04设置静态ip
查看网卡
1 | ifconfig |
1 | docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 |
编辑配置文件
1 | cd /etc/netplan/ |
1 | 00-installer-config.yaml |
1 | sudo vim 00-installer-config.yaml |
1 | ifconfig |
1 | docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 |
1 | cd /etc/netplan/ |
1 | 00-installer-config.yaml |
1 | sudo vim 00-installer-config.yaml |