作者antontw (习惯)
看板Linux
标题Re: [问题] virtualbox bridge模式
时间Sun Aug 24 00:33:47 2008
※ 引述《aeolus0829 (archer)》之铭言:
: 想请问大家,会不会把 virtualbox 的 bridge mode 启用?
[容删]
我简化一下:
问题: VirtualBox bridge mode 的设定方式?
回答: 安装 bridge_ports 工具,
创建一个使用者可以控制的 tap0 介面,并且和原有的介面 (eth0) 可以共用。
(共用介面为 br0)
<quote>
apt-get install bridge-utils, uml-utilities
vi /etc/network/interfaces
# 加入
auto tap0
iface tap0 inet manual
up ifconfig eth0 0.0.0.0 up
down ifconfig eth0 down
tunctl_user anton
auto br0
iface br0 inet dhcp
bridge_ports eth0 tap0
up ifconfig eth0 up
</quote>
--
参考连结:
阿驾零零壹
http://twntwn.info/blog/ajer001/archives/2184
--
人不作出牺牲,便得不到任何收获;如果要得到某种东西,就必须付出同等代价。这一点
,就是链金术的基本原则 ── 等价交换。当时我们深信这一点就是世界的真理。
阿尔风斯‧爱力克,《钢之链金术师》开场白
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.60.204.65
※ 编辑: antontw 来自: 61.60.204.65 (08/24 00:34)
1F:→ aeolus0829:嗯...我指的会不会是指:会去用它吗?有没有差别? 08/25 12:19
2F:→ aeolus0829:对我来说,我是希望它能够独力运作,所以应该要开吧 08/25 12:19
3F:→ antontw:bridge mode 跟 nat 有没有差别? 能不能独立运作? 08/25 19:12
4F:→ antontw:这... 是网路的架构认识,跟 vbox 没关系耶... 08/25 19:13