在VMware6.5下安装好OEL5.5,设置Vmnet8为NAT,以供虚拟机共享主机IP地址上网,却发现火狐找不到服务器。
使用ifconfig 指令 发现只有lo信息,而eth0信息缺失:
尝试使用ifconfig eth0 up命令启动网卡,再查找:
信息齐全了,尝试为虚拟机分配地址:
失败,忽然想起VMware的设置可能没有启动eth0,打开“编辑” ---> “编辑虚拟网络”:
启动NAT服务,应用,
再进行一遍:
终于能够正常连上网了!!
使用ifconfig 指令 发现只有lo信息,而eth0信息缺失:
![bb](http://img.blog.itpub.net/blog/attachments/2010/12/24582392_201012091257591.jpg?x-oss-process=style/bb)
尝试使用ifconfig eth0 up命令启动网卡,再查找:
![bb](http://img.blog.itpub.net/blog/attachments/2010/12/24582392_201012091300081.jpg?x-oss-process=style/bb)
信息齐全了,尝试为虚拟机分配地址:
![bb](http://img.blog.itpub.net/blog/attachments/2010/12/24582392_201012091301301.jpg?x-oss-process=style/bb)
失败,忽然想起VMware的设置可能没有启动eth0,打开“编辑” ---> “编辑虚拟网络”:
![bb](http://img.blog.itpub.net/blog/attachments/2010/12/24582392_201012091303401.jpg?x-oss-process=style/bb)
启动NAT服务,应用,
再进行一遍:
![bb](http://img.blog.itpub.net/blog/attachments/2010/12/24582392_201012091304531.jpg?x-oss-process=style/bb)
终于能够正常连上网了!!
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24582392/viewspace-681351/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/24582392/viewspace-681351/