天天看点

姚博文 静态配置IP

静态配置IP

vi /etc/sysconfig/network-script/ifcfg-ech0

DEVICE=ech0

BOOTPROTO=static

BROADCAST=10.10.64.255

IPADDR=10.10.64.61

NETMASK=255.255.255.0

NETWORK=10.10.64.0

ONBOOT=yes

GATEWAY=10.10.64.254

/etc/ifdown eth0

/etc/ifup eth0

/etc/init.d/network restart

继续阅读