From: | Ricardo Bevilacqua <rus.spes@×××××.com> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] virtualbox networking | ||
Date: | Wed, 17 Sep 2008 10:42:30 | ||
Message-Id: | 558a8f1a0809170342q5f10ac22id75becc9550d9cf5@mail.gmail.com | ||
In Reply to: | Re: [gentoo-user] virtualbox networking by Etaoin Shrdlu |
1 | Hello! |
2 | |
3 | This is the script I use to start my VirtualBox: |
4 | |
5 | ------------------------------------------------------------------------ |
6 | #if you previously loaded the driver, you don't need |
7 | #the following line. |
8 | modprobe vboxdrv |
9 | tunctl -t tap1 -u root |
10 | brctl addbr br0 |
11 | ifconfig eth0 0.0.0.0 promisc |
12 | brctl addif br0 eth0 |
13 | dhcpcd br0 |
14 | brctl addif br0 tap1 |
15 | ifconfig tap1 up |
16 | ------------------------------------------------------------------------ |
17 | |
18 | Then as a normal user (which is in the vboxusers group) I simply start |
19 | and configure my VirtualBox to use 'tap1'. |
20 | |
21 | $VirtualBox |
22 | |
23 | |
24 | Hope this helps. |
25 | |
26 | Regards. |
27 | |
28 | Richard. |