IPB

Welkom Gast ( Inloggen | Registreer gratis )

 
Reply to this topicStart new topic
> Tunctl bridge function on virtualBox?
monty
plaatsen Feb 9 2007, 05:59 PM
Bericht #1





Groep: Members
Berichten: 9
Sinds: 1-November 06
Gebruiker Nr.: 3,439



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
Go to the top of the page
 
+Quote Post
rockingbilly
plaatsen Feb 9 2007, 06:53 PM
Bericht #2





Groep: Members
Berichten: 723
Sinds: 3-December 04
Van: Gapinge (Zeeland)
Gebruiker Nr.: 1,487



(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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 Gebruiker(s) lezen dit onderwerp (1 Gasten en 0 Anonieme gebruikers)
0 Gebruikers:

 



RSS Print Versie Actuele tijd: 8th September 2010 - 02:21 AM