/etc/sysconfig/network-scripts/ifcfg-eth0
[ Static ]
IPADDR=192.168.0.2
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=255.255.255.255
GATEWAY=192.168.0.1
[ DHCP ]
BOOTPROTO=dhcp
ONBOOT=yes
/etc/resolv.conf ( nameserver 168.126.63.1 )
/etc/init.d/network restart
댓글 없음:
댓글 쓰기