论坛风格切换切换到宽版
  • 914阅读
  • 3回复

[问题求助]virutalbox和ubuntu桥接上网的方法是什么? [复制链接]

上一主题 下一主题
离线zhujing666.
 
发帖
2052
C币
-604827
威望
377
贡献值
2
银元
0
铜钱
4572
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
我使用了这个方法:sudo .gedit /etc/net.work/interfaces(        游戏          )
  auto lo

  iface. lo inet loopback          婚庆

  auto tap0

  iface ta.p0 inet manual              乙肝

  up ifconfig $IF.ACE 0.0.0..0 up.

  down ifconfig. $IFACE down.服务器

  tunctl_user br.uce[成人用品]

  auto tap1

  iface .tap1 inet manual.

  up ifc.onfi.g $IFACE 0.0.0.0 up域名

  down ifcon.fig $IFACE. down              乙肝

  tunc.tl_user bruce电影

  auto tap2

 . iface tap2 inet manual(广告)

  .up if.config $IFACE 0.0.0.0 up    美容

  do.wn ifconfig $IFAC.E down.

  tunctl_user bru.ce.

  auto br0

 . iface br0 inet static服务器

  a.ddress 192.168.1.188[成人用品]

  netmask .255.255.255.0.

  broadcast 192.168.1.2.55域名

  gateway .192.168.1.1外贸

  bridge_maxwait .0.

  bridge._ports all tap0 .tap1 tap2投资

  auto eth0

  allow.-hotplug eth0.

  iface eth0 in.et manual           建材

  up ifconfig e.th0 0.0.0.0 promis.c up             杀毒
把用.户名和br0的IP改成了我自己的,tap0,br0,eth0都是什么?有人说把eth改成自己.的,如何查看自己该.用哪个呢?重启机发现上不了网,只好改回电脑
auto lo
iface lo inet loopba.ck .
            
auto eth1  
i.face eth1 inet static学习
address 19.2.168.0.68学习
gatew.ay 192.168.0.1          婚庆
netmask 255.255..255.0/.
      
auto eth0
allow-hot.plug eth0      健康
iface eth0 inet sta.tic.
u.p ifconfi.g eth0 0.0.0.0 promisc up.
address 192.16.8.0.68           鲜花
netmask 255.25.5.255.0健康
g.ateway 192.168.0.1            鲜花
这样就可以上网了,请问如何才能正确设置桥接呢.?.

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线yingouqlj.
发帖
2158
C币
-139181
威望
397
贡献值
1
银元
0
铜钱
4718
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-14
通过网关的方式...

离线fd6770448.
发帖
2085
C币
-140547
威望
409
贡献值
1
银元
-3
铜钱
4698
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-14
什么叫通过网关方式?

离线qiusibo.
发帖
2049
C币
-559669
威望
386
贡献值
3
银元
0
铜钱
4557
人人网人气币
0
只看该作者 地板  发表于: 2010-04-14
主机作为网关...虚拟机通过主机这个网关来上网
快速回复
限100 字节
批量上传需要先选择文件,再选择上传
 
上一个 下一个