centOS 6.3 虚拟机上用ifconfig查询没有eth0,处理方法
来源:互联网 发布:淘宝如何上传3c认证 编辑:程序博客网 时间:2024/06/15 05:55
自百度知道
1、用ifconfig eth0 up命令开启下网卡。
#ifconfig eth0 up
2、更改eth0配置:
#vi/etc/sysconfig/network-scripts/ifcfg-eth0下显示:
DEVICE=eth0
ONBOOT=no //开机启动网卡
BOOTPROTO=static
IPADDR=192.168.1.8 //自己设置有效ip地址
NETMASK=255.255.255.0 //子网掩码
GATEWAY=192.168.1.1 //有效网关地址
HWADDR=00:0C:29:96:38:F8
注意其中的ONBOOT=no将其改为yes,网卡激活。
3、重启服务。
#service network restart
重启后配置生效。
阅读全文
0 0
- centOS 6.3 虚拟机上用ifconfig查询没有eth0,处理方法
- centos下ifconfig没有显示eth0
- ifconfig没有eth0解决办法
- ifconfig 没有eth0
- 虚拟机安装完成后,ifconfig,没有显示eth0网卡
- CentOS 7中没有ifconfig命令,而且不能发现eth0
- CentOS 7中没有ifconfig命令,而且不能发现eth0
- CentOS 7中没有ifconfig命令,而且不能发现eth0
- CentOS 7中没有ifconfig命令,而且不能发现eth0
- CentOS 7中没有ifconfig命令,而且不能发现eth0
- 虚拟机上的centos输入ifconfig却没有本机IP地址
- 虚拟机的centos 7无法联网,没有ifconfig的处理办法
- 新版本gentoo ifconfig没有eth0
- ubuntu ifconfig没有eth0网卡
- 用ifconfig命令没有eth0,只有lo的解决方案
- 用ifconfig命令,只有lo,没有eth0的解决方案
- 用ifconfig命令,显示结果只有lo,没有eth0
- CENTOS在输入ifconfig命令时,提示没有命令的处理方法
- ccf 201703-3
- O(n)时间求出1~n对模MOD的逆元
- switch
- ArcEngine 获取路径 AddData对话框
- 个人bug笔记(个人保存)
- centOS 6.3 虚拟机上用ifconfig查询没有eth0,处理方法
- 一起学Java_API-Scanner和String用法
- windows下git 使用教程
- css
- 数据库并发控制
- 由浅至深理解js中的this
- Vue.js学习笔记:v-for循环
- 重装
- Android热修复与插件化(四)AndFix