modify ip

1.netconfig

2./etc/sysconfig/network-scripts, find ifcfg-eth0,ifcfg-eth1.... modify IPADDR

3./etc/rc.d/init.d/network

ifconfig eth0 hw ether 192.168.2.252
ifconfig eth0 192.168.2.252 netmask 255.255.255.

 

last:service network restart

你可能感兴趣的:(IP)