On 12/15/11 07:32 AM, Willi Burmeister wrote:
Hi vbox developers,

I tried to ask the following in [email protected]
without luck. Maybe someone here has some answers.

----------------------------------------------------------------------
I'm playing with Crossbow and VirtualBox on my fully patched Solaris 11.

My system has two network interfaces. The main interface (igb0) is for the host.
The second interface (igb1) is on a trunk line and my playground for crossbow.

For VirtualBox I created a new VNIC with:

# dladm create-vnic -l igb1 -v 110 sun110001

   110001 = VLAN-ID * 1000 + PPA

iirc, with S11, I don't think you need to specify a PPA-hack name anymore for VLANs. Vanity names should work, i.e. dladm create-vnic -l igb1 -v 110 myinterface0 should work just the same.

To be able to snoop on the net I had to plumb the interface:

# ipadm create-ip sun110001

# ifconfig sun110001
sun110001: flags=201000842<BROADCAST,RUNNING,MULTICAST,IPv4,CoS>  mtu 1500 
index 12
         inet 0.0.0.0 netmask 0
         ether 2:8:20:14:30:39

Now I created a new VM with sun110001 as bridged interface and the same MAC 
address.

You shouldn't have to manually assign the same MAC address anymore with vboxbow. Simply passing the VNIC should be sufficient.

% VBoxManage showvminfo VM | egrep -i 'nic 1'
NIC 1:           MAC: 020820143039, Attachment: Bridged Interface 'sun110001 - 
Ethernet', Cable connected: on, Trace: off (file: none), Type: 82540EM,
+Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny


Unfortunately the VM was not able to establish a network connection as none of 
the
packets got a VLAN tag.

Removing VirtualBox and reinstalling while doing a 'touch 
/etc/vboxinst_vboxflt' first
installed the old vboxflt driver.

Now all network packets are tagged and everything seems to work as expected.


What's the main difference between vboxbow and vboxflt? And why does my
setup not work with vboxbow?

The main difference is vboxbow uses Solaris 11's crossbow architecture and creates VNICs on the fly if it has to.

Have you tried using a VirtualBox VLAN VNIC template? See User Manual chapter 9.16 VirtualBox VNIC templates for VLANs on Solaris 11. The name is important, it *has* to beging with "vboxvnic_template".

Regards,
Ram.

Any help is appreciated.

Thanks

Willi

% pkg info entire | egrep -i summ
        Summary: entire incorporation including Support Repository Update 
(Oracle Solaris 11 11/11 SRU 02). ...

% pkgparam SUNWvbox VERSION
4.1.6,REV=2011.11.04.13.40.74713

# modinfo | egrep -i vbox
201 fffffffff868b548    d48 189   1  vboxnet (VirtualBox NetAdp 4.1.6r74713)
203 fffffffff89c0000  2e3b0 184   1  vboxdrv (VirtualBox HostDrv 4.1.6r74713)
264 fffffffff8d80000   4a18 193   1  vboxusbmon (VirtualBox USBMon 4.1.6r74713)
265 fffffffff8b68000   75d8 195   1  vboxusb (VirtualBox USB 4.1.6r74713)
305 fffffffff8d78000   7960 196   1  vboxflt (VirtualBox NetDrv 4.1.6r74713)
305 fffffffff8d78000   7960   -   1  vboxflt (VirtualBox NetMod 4.1.6r74713)
----------------------------------------------------------------------

Thanks

Willi


_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev


_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to