/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
IPADDR=192.168.0.22
NETMASK=255.255.255.0
USERCTL=no
PEERDNS=no
GATEWAY=192.168.0.250
TYPE=Ethernet
NETWORK=192.168.0.0
BROADCAST=192.168.0.255

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐