Follow the ubuntu vbox host networking guide.

HOWTO VirtualBox Host networking
http://ubuntuforums.org/showthread.php?t=346185&page=3

Turn off the host firewall until you have host/guest communication working.

br0 usually gets the IP address your eth0 had.  Give your guest an IP address 
one number up from tap0, then use the same default gateway your host uses.

 I have this working on OpenSuse 10.2 host, but haven't figured out the 
required SuseFirewall2 forwarding/routing rules required.

-Michael

      Originally Posted by ipguru99           
     Some things to make this easier to read. My eth0 on my host is 
192.168.0.45. My tap0 is going to get 192.168.0.94 (totally arbitrary.. ping it 
first, just to make sure it isn't in use). The "user" in the first command is 
the user you login with.
 
   Code:
  
sudo tunctl -t tap0 -u user
sudo chmod 666 /dev/net/tun
sudo /usr/sbin/brctl addbr br0
sudo /sbin/ifconfig eth0 0.0.0.0 promisc
sudo /usr/sbin/brctl addif br0 eth0
sudo /sbin/dhclient br0
sudo /usr/sbin/brctl addif br0 tap0
sudo ifconfig tap0 192.168.0.94 up
sudo bash -c 'echo 1 > /proc/sys/net/ipv4/conf/tap0/proxy_arp'
sudo route add -host 192.168.0.45 dev tap0
sudo arp -Ds 192.168.0.45 eth0 pub

 
Those first 7 commands are from the help.ubuntu.com page I listed above (bottom 
of that page.. long page.. but good!). The rest of the commands are actually in 
the man page for 'tunctl' (man tunctl at a prompt). I just stumbled on them 
because the first 7 commands alone were NOT doing it for me (Dapper).


Alexey Eremenko <[EMAIL PROTECTED]> wrote: You want Bridging on Linux host ?

OK, I got it partially working.

1. Get tunctl utility:
http://prdownloads.sourceforge.net/user-mode-linux/uml_utilities_20040406.tar.bz2

http://user-mode-linux.sourceforge.net/dl-sf.html
http://user-mode-linux.sourceforge.net/networking.html#daemons

tunctl -t tap0 -u [tux]
ifconfig tap0 192.168.0.210 up
brctl addbr br0
brctl addif br0 eth0 tap0
dhcpcd br0
ifconfig br0 up

The only problem is that bridging works to outside world, but not
between Host and Guest.

Can someone help me out with this ?

-Alexey

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users


 
---------------------------------
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to