拷贝别人的虚拟机ubuntu10.04无法桥接上网
发表于 : 2012-06-04 14:26
winxp 装 VMware7.1.3 上安装的ubuntu10.04
xp的网络配置如下:
Ethernet adapter 本地连接:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
Physical Address. . . . . . . . . : 00-1F-D0-C2-A0-98
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.1.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 202.96.128.166
202.96.134.133
ubuntu的网络配置如下:
eth0 Link encap:以太网 硬件地址 00:0c:29:c4:54:7f
inet 地址:192.168.1.3 广播:192.168.1.255 掩码:255.255.255.0
inet6 地址: fe80::20c:29ff:fec4:547f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:10061 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:7330 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:1418823 (1.4 MB) 发送字节:2297612 (2.2 MB)
/etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.1.3
gateway 192.168.1.1
netmask 255.255.255.0
/etc/resolv.conf
# Generated by NetworkManager
nameserver 202.96.128.166
nameserver 202.96.134.133
由于工作需要,用桥接方式,并已配置了samba
xp---ping---ubuntu 可以ping通
ubuntu---ping---xp 可以ping通,但无法ping通网关192.168.1.1,提示“From 192.168.1.3 icmp_seq=1 Destination Host Unreachable”,ubuntu无法上网
xp的网络配置如下:
Ethernet adapter 本地连接:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
Physical Address. . . . . . . . . : 00-1F-D0-C2-A0-98
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.1.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 202.96.128.166
202.96.134.133
ubuntu的网络配置如下:
eth0 Link encap:以太网 硬件地址 00:0c:29:c4:54:7f
inet 地址:192.168.1.3 广播:192.168.1.255 掩码:255.255.255.0
inet6 地址: fe80::20c:29ff:fec4:547f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:10061 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:7330 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:1418823 (1.4 MB) 发送字节:2297612 (2.2 MB)
/etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.1.3
gateway 192.168.1.1
netmask 255.255.255.0
/etc/resolv.conf
# Generated by NetworkManager
nameserver 202.96.128.166
nameserver 202.96.134.133
由于工作需要,用桥接方式,并已配置了samba
xp---ping---ubuntu 可以ping通
ubuntu---ping---xp 可以ping通,但无法ping通网关192.168.1.1,提示“From 192.168.1.3 icmp_seq=1 Destination Host Unreachable”,ubuntu无法上网