LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: pratick8

用VMWARE6.5安装LFS完成启动网络失败,请问是什么原因?应该如何解决?谢谢!

[复制链接]
 楼主| 发表于 2010-1-31 17:24:37 | 显示全部楼层
我按到你的8楼方法改了还是不行。 而且我对比了那个IPV4文件,里面的内容是一样的。

而且PING 127.0.0.1  也是出错
回复 支持 反对

使用道具 举报

发表于 2010-1-31 17:40:09 | 显示全部楼层
vmware网络有4中
重点说第一种和第二中
1)桥接
2)NAT
windows 运行-->cmd
ipconfig /all
Windows IP Configuration



        Host Name . . . . . . . . . . . . : PC-20100123PFSY

        Primary Dns Suffix  . . . . . . . :

        Node Type . . . . . . . . . . . . : Unknown

        IP Routing Enabled. . . . . . . . : No

        WINS Proxy Enabled. . . . . . . . : No

        DNS Suffix Search List. . . . . . : domain



[color="Red"]Ethernet adapter VMware Network Adapter VMnet8:



        Connection-specific DNS Suffix  . :

        Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet8

        Physical Address. . . . . . . . . : 00-50-56-C0-00-08

        Dhcp Enabled. . . . . . . . . . . : No

        IP Address. . . . . . . . . . . . : [color="Blue"]192.168.233.1

        Subnet Mask . . . . . . . . . . . : 255.255.255.0

        Default Gateway . . . . . . . . . :



Ethernet adapter VMware Network Adapter VMnet1:



        Connection-specific DNS Suffix  . :

        Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet1

        Physical Address. . . . . . . . . : 00-50-56-C0-00-01

        Dhcp Enabled. . . . . . . . . . . : No

        IP Address. . . . . . . . . . . . : 192.168.29.1

        Subnet Mask . . . . . . . . . . . : 255.255.255.0

        Default Gateway . . . . . . . . . :



[color="Red"]Ethernet adapter 本地连接:



        Connection-specific DNS Suffix  . : domain

        Description . . . . . . . . . . . : Realtek PCIe FE Family Controller

        Physical Address. . . . . . . . . : 00-E0-A0-19-58-D5

        Dhcp Enabled. . . . . . . . . . . : Yes

        Autoconfiguration Enabled . . . . : Yes
[color="Red"]
        IP Address. . . . . . . . . . . . : 192.168.1.100

        Subnet Mask . . . . . . . . . . . : 255.255.255.0

[color="Red"]        Default Gateway . . . . . . . . . : 192.168.1.1

        DHCP Server . . . . . . . . . . . : 192.168.1.1

[color="Red"]        DNS Servers . . . . . . . . . . . : 202.102.152.3

                                            202.102.154.3

        Lease Obtained. . . . . . . . . . : 2010年1月31日 星期日 16:33:12

        Lease Expires . . . . . . . . . . : 2010年1月31日 星期日 18:33:12



Ethernet adapter VirtualBox Host-Only Network:



        Connection-specific DNS Suffix  . :

        Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter

        Physical Address. . . . . . . . . : 08-00-27-00-50-61

        Dhcp Enabled. . . . . . . . . . . : No

        IP Address. . . . . . . . . . . . : 192.168.56.1

        Subnet Mask . . . . . . . . . . . : 255.255.255.0

        Default Gateway . . . . . . . . . :

其中,如果虚拟机设置的 [color="Red"]桥接那么配置相应于上面的网络信息,应该是
Ethernet adapter 本地连接
所以在你的LFS系统中应该配置的网络参数是
ip=192.168.1.XXX  #XXX随便填好了。 XXX 应<255
Gateway=192.168.1.1
BROADCAST=192.168.1.255

那俩DNS应该设定为  
202.102.152.3
202.102.154.3 #其实第二个不用填

如果你设置为NAT方式,那么配置应该是
[color="Red"]Ethernet adapter VMware Network Adapter VMnet8:
相应的网络参数应该是
ip=192.168.233.XXX  #XXX随便填好了。 XXX 应<255
Gateway=192.168.233.2
BROADCAST=192.168.233.255

那俩DNS应该设定为  
192.168.233.2

PS:楼主,你一定要根据你自己的 ipconfig /all 来设置啊!!。你的参数可不能直接复制我的呀。。。嘻嘻。开个玩笑先
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-1-31 18:17:35 | 显示全部楼层
我在百度查的

127.0.0.1是本地循环地址,如果本地址无法Ping通,则表明本地机TCP/IP协议不能正常工作。

或者网卡有问题, IP地址方便应该无问题
回复 支持 反对

使用道具 举报

发表于 2010-1-31 18:51:25 | 显示全部楼层
那看来你还有包没装好啊。。。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表