VirtualBox v1.6 on Solaris 10 5/08 AMD64 with tap
Posted: 27. May 2008, 08:38
Hi,
While I have been running VirtualBox beta and now VirtualBox v1.6 for a while I had been unable to get host direct connection working, the problem being the missing functionality from Solaris 10 included in OpenSolaris.
Previously I had tried to compile the tuntap driver, tunctl and brdgadm functionality from http://www.whiteboard.ne.jp/~admin2/tuntap/
With Solaris 10 5/08 I have managed to compile the 64bit code and placed the binaries here
ftp://ftp@ftp.flomerics.co.uk/pub/tunta ... r.bz2[code]# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
nge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.2.110 netmask ffffff00 broadcast 192.168.2.255
ether 0:30:48:5f:12:ca
# tunctl -t tap0 -b
tap0
# ifconfig tap0 plumb
# ifconfig tap0 192.168.2.111
# ifconfig tap0 up
# brdgadm -a nge0
nge0 successfully added.
# brdgadm -a tap0
tap0 successfully added.
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
nge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.2.110 netmask ffffff00 broadcast 192.168.2.255
ether 0:30:48:5f:12:ca
tap0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 192.168.2.111 netmask ffffff00 broadcast 192.168.2.255
ether a:0:20:e0:9b:44
When I snoop the interface it appears to be receiving traffic, however VirtualBox v1.6 generates an
error when attempting to use it.
Failed to open VNIC "tap0" in raw mode.
VBox status code: -3100 (VERR_HOSTIF_INIT_FAILED).
Result Code:
0x80004005
Component:
Console
Interface:
IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}
[/code]
Is there a correct way of getting VirtualBox v1.6 to work with tap?
While I have been running VirtualBox beta and now VirtualBox v1.6 for a while I had been unable to get host direct connection working, the problem being the missing functionality from Solaris 10 included in OpenSolaris.
Previously I had tried to compile the tuntap driver, tunctl and brdgadm functionality from http://www.whiteboard.ne.jp/~admin2/tuntap/
With Solaris 10 5/08 I have managed to compile the 64bit code and placed the binaries here
ftp://ftp@ftp.flomerics.co.uk/pub/tunta ... r.bz2[code]# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
nge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.2.110 netmask ffffff00 broadcast 192.168.2.255
ether 0:30:48:5f:12:ca
# tunctl -t tap0 -b
tap0
# ifconfig tap0 plumb
# ifconfig tap0 192.168.2.111
# ifconfig tap0 up
# brdgadm -a nge0
nge0 successfully added.
# brdgadm -a tap0
tap0 successfully added.
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
nge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.2.110 netmask ffffff00 broadcast 192.168.2.255
ether 0:30:48:5f:12:ca
tap0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 192.168.2.111 netmask ffffff00 broadcast 192.168.2.255
ether a:0:20:e0:9b:44
When I snoop the interface it appears to be receiving traffic, however VirtualBox v1.6 generates an
error when attempting to use it.
Failed to open VNIC "tap0" in raw mode.
VBox status code: -3100 (VERR_HOSTIF_INIT_FAILED).
Result Code:
0x80004005
Component:
Console
Interface:
IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}
[/code]
Is there a correct way of getting VirtualBox v1.6 to work with tap?