Thursday, October 09, 2008

network bridge to use on VirtualBox on Debian

- U need installed bridge-utils package

# apt-get install bridge-utils

- Edit the config file "/etc/network/interfaces"
add to the end of file

# vim /etc/network/interfaces

auto br0

iface br0 inet dhcp
bridge_ports eth0

- Restart yours interfaces.

# /etc/init.d/network restart

Done.
Now configure your Virtual Machine to use that bridge.

- Create a hostifdevice

# VBoxAddIf vbox0 br0

Your linux user, I use root.

- Modify your Virtual Machine settings

# VBoxManage modifyvm -nic1 hostif -hostifdev1 vbox0

The name of your virtual Machine.


start your virtual machiene.



Credits: kvierz@hotmail.com



1 Comments:

Blogger Rubén Cavieres Carvajal said...

Wena...

Aqui va mi nueva forma de publicar:

http://rubencavieres.blogspot.com

6:24 PM  

Post a Comment

<< Home