Comments on: How to set up host interface networking for VirtualBox on Ubuntu http://www.xaprb.com/blog/2008/11/05/how-to-set-up-host-interface-networking-for-virtualbox-on-ubuntu/ Stay curious! Thu, 02 May 2013 12:36:53 +0000 hourly 1 http://wordpress.org/?v=3.5.1 By: Air Video Server running on a Windows XP Guest OS in virtualbox on Ubuntu Linux « Jay Holler’s Blog http://www.xaprb.com/blog/2008/11/05/how-to-set-up-host-interface-networking-for-virtualbox-on-ubuntu/#comment-17623 Air Video Server running on a Windows XP Guest OS in virtualbox on Ubuntu Linux « Jay Holler’s Blog Sun, 17 Jan 2010 16:17:26 +0000 http://www.xaprb.com/blog/?p=665#comment-17623 [...] I was looking for. After installing these two utilities and running the script, provided at this blog, I was able to make the WIndows XP Guest OS join the 192.168.1.0 network! Perfect. Now, all I had [...]

]]>
By: airtonix http://www.xaprb.com/blog/2008/11/05/how-to-set-up-host-interface-networking-for-virtualbox-on-ubuntu/#comment-16941 airtonix Fri, 04 Sep 2009 09:35:37 +0000 http://www.xaprb.com/blog/?p=665#comment-16941 #!/bin/sh
IP=`ifconfig | grep 10 | head -n 1 | awk ‘{print $2}’ | cut -d: -f2`
if [ $# -gt 0 ]; then
sudo ifconfig br0 down
sudo ifconfig tap0 down
sudo /usr/sbin/brctl delif br0 eth0
sudo /usr/sbin/brctl delbr br0
sudo route add -host $IP dev eth0
sudo ifconfig eth0 down && sudo ifconfig eth0 up
else
sudo tunctl -t tap0 -u `whoami`
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 10.1.1.50 up
sudo bash -c ‘echo 1 > /proc/sys/net/ipv4/conf/tap0/proxy_arp’
sudo route add -host $IP dev tap0
sudo arp -Ds $IP eth0 pub
fi

]]>
By: Xaprb http://www.xaprb.com/blog/2008/11/05/how-to-set-up-host-interface-networking-for-virtualbox-on-ubuntu/#comment-16066 Xaprb Fri, 20 Mar 2009 22:19:19 +0000 http://www.xaprb.com/blog/?p=665#comment-16066 Lajfi, AFAIK most wireless hardware does NOT support this. Mine surely doesn’t (or the drivers don’t, anyway).

Chris, that’s great; something to look forward to when I upgrade.

]]>
By: Chris Olson http://www.xaprb.com/blog/2008/11/05/how-to-set-up-host-interface-networking-for-virtualbox-on-ubuntu/#comment-16065 Chris Olson Fri, 20 Mar 2009 21:32:02 +0000 http://www.xaprb.com/blog/?p=665#comment-16065 You shouldn’t need to do any of this now, as VirtualBox is now supporting this natively with the latest builds.

]]>
By: Lajfi http://www.xaprb.com/blog/2008/11/05/how-to-set-up-host-interface-networking-for-virtualbox-on-ubuntu/#comment-16064 Lajfi Fri, 20 Mar 2009 20:36:10 +0000 http://www.xaprb.com/blog/?p=665#comment-16064 Hi,

i tried ur way of creating a shell script, but i was wondering, does this bridged networking thing work over wireless as well? i would guess it does, but i’ve tried several ways of setting up this HIN without success…

i keep getting this

Failed to initialize Host Interface Networking.
VBox status code: -3100 (VERR_HOSTIF_INIT_FAILED).

Result Code:
NS_ERROR_FAILURE (0×80004005)
Component:
Console
Interface:
IConsole {e3c6d4a1-a935-47ca-b16d-f9e9c496e53e}

any idea?

]]>