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 comment:

Rubén Cavieres Carvajal on 6:24:00 PM said...

Wena...

Aqui va mi nueva forma de publicar:

http://rubencavieres.blogspot.com

Post a Comment

 

Ppalma Copyright © 2008 D'Black by Ipiet's Blogger Template