分页: 1 / 1

通过VMware安装ubuntu无法上网

发表于 : 2008-07-30 20:11
win2004
在xp系统的VMware里安装了ubuntu.
在xp下除了本地连接外,还生成了两个adapter:

Ethernet adapter VMware Network Adapter VMnet8:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.11.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

Ethernet adapter VMware Network Adapter VMnet1:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.0.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :


然后把/etc/network/interfaces设成:

auto lo
iface lo inet loopback

iface eth1 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1

auto eth1

但还是连接不了网络
另外,ping 192.168.0.1显示:

PING 192.168.0.1(192.168.0.1) 56(84) bytes of data.
From 192.168.0.2 icmp_seq1 Destination Host Unreachable
From 192.168.0.2 icmp_seq2 Destination Host Unreachable
From 192.168.0.2 icmp_seq3 Destination Host Unreachable
......

但ping 192.168.0.2就没问题.

请问为什么连不了网络呢? 是哪里还没配吗?

发表于 : 2008-07-31 11:20
win2004
upup,有人知道吗?

发表于 : 2008-07-31 19:13
lzwx
把网卡设成桥接。