Ubuntu9.04 在Vmware-6.5下的上外网设置
来源:互联网 发布:php故障报修系统 源码 编辑:程序博客网 时间:2024/04/28 17:54
环境
主机系统:
(1)XP
(2)IP:192.168.1.100
虚拟机系统:
(1)VM6.5 + ubuntu9.04
(2)虚拟机选择网络方式为:
Host-only:A private network shared with the host
在XP下的配置
(1)禁用虚拟网卡VMnet8。
(2)在windows下将本地的网卡(不是VMnet1和VMnet8)设置为允许共享。
此时,VMnet1的IP自动被配置为:
IP地址:192.168.0.1
子网掩码:255.255.255.0
在ubuntu9.04下的配置
(1)点击图中的红色框图标,打开网络配置。
(2)双击Auto eth0,配置IP地址和网关。网关填192.168.0.1,IP地址要和网关在同网段。注意填写当地的DNS。
(3)点击“应用”。
(4)su到root,用下面的命令重启网络。
# ifconfig eth0 down
# ifconfig eth0 up
(5)ping一下看看是不是网络通了。
-- ping 网关
root@ysh-Ubuntu:/home/ysh# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=128 time=0.202 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=128 time=0.165 ms
-- ping xp主机
root@ysh-Ubuntu:/home/ysh# ping 192.168.1.100
PING 192.168.1.100 (192.168.1.100) 56(84) bytes of data.
64 bytes from 192.168.1.100: icmp_seq=1 ttl=128 time=0.232 ms
64 bytes from 192.168.1.100: icmp_seq=2 ttl=128 time=0.182 ms
-- ping 腾讯网站
PING www.qq.com (124.115.3.232) 56(84) bytes of data.
64 bytes from 124.115.3.232: icmp_seq=1 ttl=57 time=626 ms
64 bytes from 124.115.3.232: icmp_seq=2 ttl=57 time=643 ms
-- xp主机ping虚拟机ip也能ping通,图略。
- Ubuntu9.04 在Vmware-6.5下的上外网设置
- 在vmware下的ubuntu9.10下安装telnet服务
- Ubuntu9.04下字符集的设置
- ubuntu9.04下安装vmware workstation6.0
- 在ubuntu9.10下怎么安装Vmware Tools
- 关于VMware6.5下Ubuntu9.04安装VMware tools的一些问题总结
- 关于VMware6.5下Ubuntu9.04安装VMware tools的一些问题总结
- VMware下安装ubuntu9.0.4时遇到的一些问题
- 在UBUNTU9。04下安装Tomcat6
- 在ubuntu9.04下安装QT4.5.3
- ubuntu9.04里的中文输入法设置
- Ubuntu9.04安装VMware Tools
- ubuntu9.04安装vmware tools
- vmware安装ubuntu9.04 linux的一些问题的解决
- vmware安装ubuntu9.04 linux的一些问题的解决
- 【转】VMware 6.5.2上安装Ubuntu9.04的问题探讨
- xp 与VMware ubuntu9.04的传输 共享文件夹
- Ubuntu9.04网络设置
- BASH 数组用法小结
- 习语言例子(二)
- Two's Complement
- JavaScript 面向对象程序设计(上)——封装[转]
- VC++利用Automation操作word, excel
- Ubuntu9.04 在Vmware-6.5下的上外网设置
- JavaScript 面向对象程序设计(下)——继承与多态
- 位运算简介及实用技巧-baidu baike
- JS类 检测上传图片的大小,宽,高及格式检查
- [转]翻译:有点高级的JavaScript面向对象特征指南快速教程
- 卷一 梁惠王上
- 两个傻子的爱情(转自凤宝宝的博客http://alphonsia.blogcn.com/diary,28735051.shtml)
- 你为什么越忙越穷?看看自己是否已沦为穷忙族!
- symbian 程序的cpp文件的第一个函数老显示没有定义 undefined identifier 'CZFirstTest_Login_Form'