Main Contents

[筆記] VirtualBox 網路設定

記下我的 VirtualBox 網路設定

安裝

sudo apt-get install uml-utilities bridge-utils

/etc/network/interfaces

auto lo
iface lo inet loopback
name Loop interface
auto br0
iface br0 inet static
pre-up ifconfig eth0 down
post-up ifup eth0
address 192.168.22.2
network 192.168.22.0
netmask 255.255.255.0
broadcast 192.168.22.255
gateway 192.168.22.1
bridge_ports eth0
auto eth0
iface eth0 inet manual
name Ethernet LAN card

/etc/vbox/interfaces

#sudo VBoxAddIF vbox0 $USERNAME br0
vbox0 pctao br0

reboot, vbox0 is ready for you.


Copyright © 2008. Testing of TaopaiC blog (Digital Fingerprint: 554f5e09b31680c311537b4abfc7c33d)

讀過本文的讀者, 也對以下文章有興趣

抱歉,本篇的迴響表單已關閉。回應請至作者網頁



Feed