[问题] 网卡绑IP

楼主: bbslin (bbs-lin)   2015-02-06 22:39:02
VPS网卡绑IP 卡在这环节,输入完是按Enter吗?
如何才能执行?
# vi /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE="eth1"
HWADDR="FA:16:XX:XX:XX:XX"
BOOTPROTO="static"
NM_CONTROLLED="no"
ONBOOT="yes"
TYPE="Ethernet"
IPADDR="157.XXX.XXX.XXX" 
NETMASK="255.255.254.0"
作者: kingofsdtw (不能閒下來!!)   2015-02-07 02:03:00
Ifup?
作者: Qbsuran (Qbsuran)   2015-02-07 22:41:00
ifdown后ifup
作者: gary841208   2015-02-26 13:56:00
你编辑的档案是网卡的设定档 储存后重开机or重启网卡

Links booklink

Contact Us: admin [ a t ] ucptt.com