Hi Ryan,
> Howdy,
>
> I just finished reading through the Crossbow presentation:
>
> http://blogs.sun.com/sunay/resource/crossbow.pdf
>
> And have one question. If you create a virtual NIC with dladm:
>
> $ dladm create-vnic -d bge0 -m 0:1:2:3:4:5 -b 10000 1
>
> Can you then add vnic1 directly to the zone? e.g.:
Yes, the bits posted on OpenSolaris allow you to do it exactly that way.
> zonecfg -z zone1
> zonecfg:zone1> create
> zonecfg:zone1> set zonepath=/zones/zone1
> zonecfg:zone1> add net
> zonecfg:zone1> set physical=vnic1
> zonecfg:zone1> set address=192.168.1.100
> zonecfg:zone1> end
> zonecfg:zone1> commit
This will work.
> The example in the presentation uses the the physical interface bge0, and
> then sets the bandwidth and priority to the "virt" interface it
is
> presenting to the zone. I am curious if you can use a vnic created with
> dladm directly?
That example was built on the premise that you won''t even need to
run ''dladm'' to create the VNIC. The zonecfg will automatically
create
the vnic on the specified physical device for you. BTW, we haven''t
implemented that example yet and the admin interfaces are still
being worked on. The way you mentioned is how it works today.
Cheers,
Sunay
>
> Thanks,
> - Ryan
> --
> UNIX Administrator
> http://prefetch.net
> _______________________________________________
> crossbow-discuss mailing list
> crossbow-discuss at opensolaris.org
> http://opensolaris.org/mailman/listinfo/crossbow-discuss
>
--
Sunay Tripathi
Sr. Staff Engineer
Solaris Core Networking Technologies
Sun MicroSystems Inc.
Solaris Networking: http://www.opensolaris.org/os/community/networking
Project Crossbow: http://www.opensolaris.org/os/project/crossbow