linux下修改eth0的ip地址
vi /etc/sysconfig/network-scripts/ifcfg-eth0------------------------------
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.117
NETMASK=255.255.255.0
GATEWAY=192.168.0.254
-------------------------------
service network restart
页:
[1]