> On Tue, 2008-06-10 at 04:54 -0700, Mike DeMarco
> wrote:
> > VirtualBox uses a script named vnic_setup.sh to
> configure a crossbow interface.
>
> I'm a bit confused. Crossbow is a project under
> development. Are you
> referring to a hacked VirtualBox that was made to
> work with Crossbow, or
> is there actually support for Crossbow VNICs in
> official VirtualBox
> releases?
VirtualBox releas 1.6 documentation:
VirtualBox uses OpenSolaris’ Crossbow architecture for Host Interface
Networking.
Currently, Crossbow does not support permanent virtual network interfaces.
Thus, all
virtual network interfaces created will be lost when the host reboots.
Note: Creating and using virtual network interfaces requires root permis-
sions. This issue with Crossbow is likely to be resolved in subsequent
Open-
Solaris releases.
>
> > This script uses the dladm to detect the active
> system NIC and configures a virtual nic using
> > crossbows VNA.
> > The scripts relied on the old format of dladm
> show-dev:
> > dladm show-dev
> > iwk0 link: down speed: 0Mb
> duplex: unknown
> rge0 link: up speed: 100Mb
> duplex: full
> hat output format is documented to be _not_
> parseable. There is a "-p"
> option to dladm which is meant to provide a stable
> and parseable output
> format. Unfortunately, that format will soon change
> as its not as
> parseable as we'd like it to be, but nevertheless,
> the snippet you have
> above is for the human readable output format.
>
> > The new format creates a header line instead which
> confuses the command
> > phys_nic=`/usr/sbin/dladm show-dev | /usr/bin/awk
> 'NF==7 && $3=="up" { print $1 }'`
> > into reporting LINK as the valid interface, I
> present this here.
>
> That awk script was doomed to fail. If you can relay
> the version of
> VirtualBox you're using and where you obtained it
> (and that script),
> I'll try and contact the developers to discuss this
> issue with them.
>
> -Seb
VirtualBox 1.6 version downloaded from the link provided on OpenSolaris front
page.
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]