回文章列表
作者antontw.bbs@ptt.cc (習慣) 看板: linux
標題Re: [問題] virtualbox bridge模式
時間批踢踢實業 (2008/08/24 Sun 00:34:06)
※ 引述《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)
文章選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻