Help - Zoeken - Gebruikers - Kalender
Volledige versie: Tunctl bridge function on virtualBox?
MandrivaClub.NL > MCNLive > MCNLive: International
monty
Hi,

Did anyone made a hostap network connection between host and guest machine ? (bridge function)

I tried everythink but can't get it to work. sad.gif
I found 2 methods on this site and in the manual :

the following starts the virtual machines but doesn't make a connection und the guest :

tunctl -t tap1 -u guest
brctl addbr br0
ifconfig eth1 0.0.0.0 promisc
brctl addif br0 eth1
ifconfig br0 192.168.123.100
brctl addif br0 tap1
route add -net 0.0.0.0 gw 192.168.1.1
chmod -R 777 /dev/net
dhclient br0
ifconfig tap1 up


the following gives a fault at startup of virtualbox :

tunctl -t tap1 -u guest
brctl addbr br0
ifconfig eth1 0.0.0.0 promisc
brctl addif br0 eth1
dhclient br0
brctl addif br0 tap1

both were run under root user.

Can anyone give a working sequence of commands which makes it work (on a DHCP router with IP adres 192.168.1.1)

my networkcard gets an automatic IP adres of 192.168.1.100.

a full step working tutorial for bridging use under virtualcity would be great (the normal official steps do'nt work on my laptop)

btw kris, i must say that the final release of VirtualCity also fixed my delay problems with my ATI radeon card (laptop dell D610) when i resized a window (in 3D desktop mode). The delay time (when the PC hangs completely until the resized window reappears) is reduced from 60 seconds to 1 or 2 seconds. Probably with the update kernel code.


monty icon_cheesygrin.gif
rockingbilly
(monty @ Feb 9 2007, 05:59 PM) [snapback]78702[/snapback]

the following gives a fault at startup of virtualbox :

tunctl -t tap1 -u guest
brctl addbr br0
ifconfig eth1 0.0.0.0 promisc
brctl addif br0 eth1
dhclient br0
brctl addif br0 tap1


Can anyone give a working sequence of commands which makes it work (on a DHCP router with IP adres 192.168.1.1)

Perhaps you can try to add:
chmod -R 777 /dev/net
It sometimes works for me
Dit is een "Print" versie van onze forums. Om de volledige versie met meer informatie, afbeeldingen en opmaakte bekijken, a.u.b. klik hier.