※ 引述《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
--
人不作出犧牲,便得不到任何收穫;如果要得到某種東西,就必須付出同等代價。這一點
,就是鍊金術的基本原則 ── 等價交換。當時我們深信這一點就是世界的真理。
阿爾風斯‧愛力克,《鋼之鍊金術師》開場白
--
: 想請問大家,會不會把 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
--
人不作出犧牲,便得不到任何收穫;如果要得到某種東西,就必須付出同等代價。這一點
,就是鍊金術的基本原則 ── 等價交換。當時我們深信這一點就是世界的真理。
阿爾風斯‧愛力克,《鋼之鍊金術師》開場白
--
All Comments