Difference between revisions of "VirtualBox dengan Bridged Host Interface Permanen"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 11: | Line 11: | ||
# vi /etc/network/interfaces | # vi /etc/network/interfaces | ||
− | Isi berikut, | + | Isi informasi berikut, |
auto tap0 | auto tap0 |
Revision as of 15:03, 29 April 2008
Install Aplikasi Pendukung
# apt-get install uml-utilities bridge-utils
Tambahkan Username Anda
# adduser <yourusername> uml-net
Tambahkan ke file /etc/network/interfaces
# vi /etc/network/interfaces
Isi informasi berikut,
auto tap0 iface tap0 inet manual up ifconfig $IFACE 0.0.0.0 up down ifconfig $IFACE down tunctl_user <yourusername>
auto br0 iface br0 inet dhcp bridge_ports all tap0
Tambahkan Interface
# /sbin/ifup tap0 # /sbin/ifup br0
Beritahu VirtualBox Host Interface tap0 Yang digunakan
Selesai Sudah ..
Mesin Ubuntu yang kita gunakan akan mempunyai tiga (3) interface,
- tap0 - virtual milik mesin di virtualbox
- br0 - bridge yang aakn bicara ke interface yang benar
- eth0 - interface awal di mesin host.