设置静态 IP

最后更新于:2022-04-02 03:48:04

[TOC] ## 教程 vi /etc/sysconfig/network-scripts/ifcfg-eth0 ``` DEVICE=eth0 BOOTPROT=static IPADDR=192.168.0.229 GATEWAY=192.168.0.1 NETMASK=255.255.255.0 ONBOOT=yes ```
';