ITeye博客

modify ip

edwards0307 · 2012-02-10 17:45 · oracle · 移动开发 · Markdown

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

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。