您当前的位置: 首页 >  ar

ubuntu12.04 vmware虚拟机桥接问题导致的网关不可达的解决

发布时间:2013-05-17 10:09:11 ,浏览量:0

路由器组成的局域网,ubutnu虚拟机是1.88的静态IP.

路由器网关是1.1

root@Ubuntu32:/etc# ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. From 192.168.1.88 icmp_seq=1 Destination Host Unreachable From 192.168.1.88 icmp_seq=2 Destination Host Unreachable From 192.168.1.88 icmp_seq=3 Destination Host Unreachable From 192.168.1.88 icmp_seq=4 Destination Host Unreachable From 192.168.1.88 icmp_seq=5 Destination Host Unreachable From 192.168.1.88 icmp_seq=6 Destination Host Unreachable From 192.168.1.88 icmp_seq=7 Destination Host Unreachable From 192.168.1.88 icmp_seq=8 Destination Host Unreachable From 192.168.1.88 icmp_seq=9 Destination Host Unreachable From 192.168.1.88 icmp_seq=10 Destination Host Unreachable From 192.168.1.88 icmp_seq=11 Destination Host Unreachable From 192.168.1.88 icmp_seq=12 Destination Host Unreachable From 192.168.1.88 icmp_seq=13 Destination Host Unreachable From 192.168.1.88 icmp_seq=14 Destination Host Unreachable From 192.168.1.88 icmp_seq=15 Destination Host Unreachable From 192.168.1.88 icmp_seq=16 Destination Host Unreachable From 192.168.1.88 icmp_seq=17 Destination Host Unreachable From 192.168.1.88 icmp_seq=18 Destination Host Unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable   这是网线断了 ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable

From 192.168.1.88 icmp_seq=37 Destination Host Unreachable    这是没有设置对虚拟机需要桥接的PC机的网卡

From 192.168.1.88 icmp_seq=38 Destination Host Unreachable From 192.168.1.88 icmp_seq=39 Destination Host Unreachable From 192.168.1.88 icmp_seq=40 Destination Host Unreachable From 192.168.1.88 icmp_seq=41 Destination Host Unreachable From 192.168.1.88 icmp_seq=42 Destination Host Unreachable From 192.168.1.88 icmp_seq=43 Destination Host Unreachable From 192.168.1.88 icmp_seq=44 Destination Host Unreachable From 192.168.1.88 icmp_seq=45 Destination Host Unreachable From 192.168.1.88 icmp_seq=46 Destination Host Unreachable From 192.168.1.88 icmp_seq=47 Destination Host Unreachable From 192.168.1.88 icmp_seq=48 Destination Host Unreachable From 192.168.1.88 icmp_seq=49 Destination Host Unreachable From 192.168.1.88 icmp_seq=50 Destination Host Unreachable From 192.168.1.88 icmp_seq=51 Destination Host Unreachable From 192.168.1.88 icmp_seq=52 Destination Host Unreachable From 192.168.1.88 icmp_seq=53 Destination Host Unreachable From 192.168.1.88 icmp_seq=54 Destination Host Unreachable From 192.168.1.88 icmp_seq=55 Destination Host Unreachable From 192.168.1.88 icmp_seq=56 Destination Host Unreachable From 192.168.1.88 icmp_seq=57 Destination Host Unreachable From 192.168.1.88 icmp_seq=58 Destination Host Unreachable From 192.168.1.88 icmp_seq=59 Destination Host Unreachable From 192.168.1.88 icmp_seq=60 Destination Host Unreachable From 192.168.1.88 icmp_seq=61 Destination Host Unreachable From 192.168.1.88 icmp_seq=62 Destination Host Unreachable From 192.168.1.88 icmp_seq=63 Destination Host Unreachable From 192.168.1.88 icmp_seq=64 Destination Host Unreachable From 192.168.1.88 icmp_seq=65 Destination Host Unreachable From 192.168.1.88 icmp_seq=66 Destination Host Unreachable From 192.168.1.88 icmp_seq=67 Destination Host Unreachable From 192.168.1.88 icmp_seq=68 Destination Host Unreachable From 192.168.1.88 icmp_seq=69 Destination Host Unreachable From 192.168.1.88 icmp_seq=70 Destination Host Unreachable From 192.168.1.88 icmp_seq=71 Destination Host Unreachable From 192.168.1.88 icmp_seq=72 Destination Host Unreachable From 192.168.1.88 icmp_seq=73 Destination Host Unreachable From 192.168.1.88 icmp_seq=74 Destination Host Unreachable From 192.168.1.88 icmp_seq=75 Destination Host Unreachable From 192.168.1.88 icmp_seq=76 Destination Host Unreachable From 192.168.1.88 icmp_seq=77 Destination Host Unreachable From 192.168.1.88 icmp_seq=78 Destination Host Unreachable From 192.168.1.88 icmp_seq=79 Destination Host Unreachable From 192.168.1.88 icmp_seq=80 Destination Host Unreachable From 192.168.1.88 icmp_seq=81 Destination Host Unreachable From 192.168.1.88 icmp_seq=82 Destination Host Unreachable From 192.168.1.88 icmp_seq=83 Destination Host Unreachable From 192.168.1.88 icmp_seq=84 Destination Host Unreachable From 192.168.1.88 icmp_seq=85 Destination Host Unreachable From 192.168.1.88 icmp_seq=86 Destination Host Unreachable From 192.168.1.88 icmp_seq=87 Destination Host Unreachable From 192.168.1.88 icmp_seq=88 Destination Host Unreachable From 192.168.1.88 icmp_seq=89 Destination Host Unreachable From 192.168.1.88 icmp_seq=90 Destination Host Unreachable From 192.168.1.88 icmp_seq=91 Destination Host Unreachable From 192.168.1.88 icmp_seq=92 Destination Host Unreachable From 192.168.1.88 icmp_seq=93 Destination Host Unreachable From 192.168.1.88 icmp_seq=94 Destination Host Unreachable From 192.168.1.88 icmp_seq=95 Destination Host Unreachable From 192.168.1.88 icmp_seq=96 Destination Host Unreachable From 192.168.1.88 icmp_seq=97 Destination Host Unreachable From 192.168.1.88 icmp_seq=98 Destination Host Unreachable From 192.168.1.88 icmp_seq=99 Destination Host Unreachable From 192.168.1.88 icmp_seq=100 Destination Host Unreachable From 192.168.1.88 icmp_seq=101 Destination Host Unreachable From 192.168.1.88 icmp_seq=102 Destination Host Unreachable From 192.168.1.88 icmp_seq=103 Destination Host Unreachable From 192.168.1.88 icmp_seq=104 Destination Host Unreachable From 192.168.1.88 icmp_seq=105 Destination Host Unreachable From 192.168.1.88 icmp_seq=106 Destination Host Unreachable From 192.168.1.88 icmp_seq=107 Destination Host Unreachable From 192.168.1.88 icmp_seq=108 Destination Host Unreachable From 192.168.1.88 icmp_seq=109 Destination Host Unreachable From 192.168.1.88 icmp_seq=110 Destination Host Unreachable From 192.168.1.88 icmp_seq=111 Destination Host Unreachable From 192.168.1.88 icmp_seq=112 Destination Host Unreachable From 192.168.1.88 icmp_seq=113 Destination Host Unreachable From 192.168.1.88 icmp_seq=114 Destination Host Unreachable From 192.168.1.88 icmp_seq=115 Destination Host Unreachable From 192.168.1.88 icmp_seq=116 Destination Host Unreachable From 192.168.1.88 icmp_seq=117 Destination Host Unreachable From 192.168.1.88 icmp_seq=118 Destination Host Unreachable From 192.168.1.88 icmp_seq=119 Destination Host Unreachable 64 bytes from 192.168.1.1: icmp_req=122 ttl=64 time=2.25 ms 64 bytes from 192.168.1.1: icmp_req=123 ttl=64 time=1.03 ms 64 bytes from 192.168.1.1: icmp_req=124 ttl=64 time=1.13 ms 64 bytes from 192.168.1.1: icmp_req=125 ttl=64 time=1.04 ms 64 bytes from 192.168.1.1: icmp_req=126 ttl=64 time=1.02 ms 64 bytes from 192.168.1.1: icmp_req=127 ttl=64 time=1.02 ms   这是链接上 64 bytes from 192.168.1.1: icmp_req=128 ttl=64 time=1.04 ms 64 bytes from 192.168.1.1: icmp_req=129 ttl=64 time=1.02 ms 64 bytes from 192.168.1.1: icmp_req=130 ttl=64 time=1.01 ms 64 bytes from 192.168.1.1: icmp_req=131 ttl=64 time=1.04 ms 64 bytes from 192.168.1.1: icmp_req=132 ttl=64 time=1.00 ms 64 bytes from 192.168.1.1: icmp_req=133 ttl=64 time=1.01 ms 64 bytes from 192.168.1.1: icmp_req=134 ttl=64 time=1.03 ms 64 bytes from 192.168.1.1: icmp_req=135 ttl=64 time=1.03 ms 64 bytes from 192.168.1.1: icmp_req=136 ttl=64 time=0.985 ms 64 bytes from 192.168.1.1: icmp_req=137 ttl=64 time=1.00 ms 64 bytes from 192.168.1.1: icmp_req=138 ttl=64 time=1.00 ms 64 bytes from 192.168.1.1: icmp_req=139 ttl=64 time=1.06 ms 64 bytes from 192.168.1.1: icmp_req=140 ttl=64 time=0.901 ms 64 bytes from 192.168.1.1: icmp_req=141 ttl=64 time=0.939 ms 64 bytes from 192.168.1.1: icmp_req=142 ttl=64 time=1.01 ms ^C --- 192.168.1.1 ping statistics --- 142 packets transmitted, 21 received, +102 errors, 85% packet loss, time 141924ms rtt min/avg/max/mdev = 0.901/1.078/2.250/0.267 ms, pipe 4 root@Ubuntu32:/etc# ^C root@Ubuntu32:/etc# ^C root@Ubuntu32:/etc# ^C root@Ubuntu32:/etc# ^C root@Ubuntu32:/etc# ^C root@Ubuntu32:/etc# ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_req=1 ttl=64 time=1.02 ms 64 bytes from 192.168.1.1: icmp_req=2 ttl=64 time=1.02 ms 64 bytes from 192.168.1.1: icmp_req=3 ttl=64 time=1.03 ms 64 bytes from 192.168.1.1: icmp_req=4 ttl=64 time=0.992 ms 64 bytes from 192.168.1.1: icmp_req=5 ttl=64 time=1.04 ms 64 bytes from 192.168.1.1: icmp_req=6 ttl=64 time=1.01 ms 64 bytes from 192.168.1.1: icmp_req=7 ttl=64 time=1.04 ms 64 bytes from 192.168.1.1: icmp_req=8 ttl=64 time=1.01 ms 64 bytes from 192.168.1.1: icmp_req=9 ttl=64 time=1.00 ms

64 bytes from 192.168.1.1: icmp_req=10 ttl=64 time=1.00 ms

不能让桥接的网卡为自动.貌似我这里有俩网卡,一个是pc的,一个是摩托罗拉的驱动.

关注
打赏
1688896170
查看更多评论

暂无认证

  • 0浏览

    0关注

    114479博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录

0.0527s