linux静态IP最简配置
程序员文章站
2022-06-26 09:38:55
vi /etc/sysconfig/network-scripts/ifcfg-xxx TYPE="Ethernet"BOOTPROTO="static"ONBOOT="yes"IPADDR=192.168.1.100NETMASK=255.255.255.0GATEWAY=192.168.1.1D ......
vi /etc/sysconfig/network-scripts/ifcfg-xxx
type="ethernet"
bootproto="static"
onboot="yes"
ipaddr=192.168.1.100
netmask=255.255.255.0
gateway=192.168.1.1
dns1=114.114.114.114
上一篇: 怎样喝豆浆才健康 教你如何正确喝豆浆