linux配置静态IP

我在WIN7下用VM安装一个Centos6.5,需要配置虚拟的Centos与Win7系统能互ping

首先设置虚拟机的网络连接属性为桥接:


一:配置静态IP

/etc/sysconfig/network-scripts/ifcfg-eth0文件内容如下:


然后重启网络服务:

service network restart




猜你喜欢

转载自blog.csdn.net/sunboyjohn690905084/article/details/62040028
今日推荐