分页: 1 / 1

一个虚拟机的网络很莫名其妙,请大家帮忙。

发表于 : 2009-05-12 16:52
fishfree
ubuntu 8.04

ifconfig -a的结果是 eth2 和 lo,eth2没得到IP;

sudo vi /etc/network/interfaces的结果是lo和 eth1,且auto eth1, iface eth1 inet dhcp。这也是我要的DHCP获取IP的方式。

然后我sudo ifup eth1,结果是:
eth1:ERROR while getting interfaces flags: No such device
there is already a pid file /var/run/dhclient.eth1.pid with pid 134519072
…………
Bind socket to interfaces: No such device

然后我sudo ifup eth2,结果是:
Ignoring unknown interfaces eth2=eth2.

我实在是很晕,对linux又不怎么熟练,请大伙儿指点一下,多谢啦!

Re: 一个虚拟机的网络很莫名其妙,请大家帮忙。

发表于 : 2009-05-12 20:00
libralibra
你是谁虚拟谁啊?如果是windows虚拟ubuntu,请看

http://52xenos.blogspot.com/search/label/vmware

Re: 一个虚拟机的网络很莫名其妙,请大家帮忙。

发表于 : 2009-05-13 8:32
fishfree
libralibra 写了:你是谁虚拟谁啊?如果是windows虚拟ubuntu,请看

http://52xenos.blogspot.com/search/label/vmware
是在XP中用vmware workstation6.5虚拟ubuntu的,虚拟机是一个virtual appliance,人家都已经配好了,我直接打开即可的。但却出现这个问题。后来我把虚拟机中的网卡删除掉手动再添加一个,仍然同样问题。晕

Re: 一个虚拟机的网络很莫名其妙,请大家帮忙。

发表于 : 2009-05-13 17:01
fishfree
大伙儿帮帮我啊!