[ug-bosug] Virtual switching with Crossbow

4 views
Skip to first unread message

Balachandran Sivakumar

unread,
Dec 17, 2011, 2:33:24 PM12/17/11
to Bangalore OpenSolaris User Group
Hi,

In today's bosug meet Sriram gave an excellent talk on
various stuff, including his current activities on Belenix. And while
doing so, he also spoke about creating multiple zones and using
virtual switching to communicate between the zones. Found that quite
interesting and tried it out. Seems extremely simple with crossbow.
Here are the commands.

dladm create-etherstub vswitch0
dladm create-vnic -l vswitch0 vnic1
dladm create-vnic -l vswitch0 vnic2

The create-ethstub commands seems to create the switch.Then I plumbed
up the vnic0 and vnic1(to a subnet different from the address of
physical), and added them one each to 2 zones. I was able from ping
both the zones to global zone and was able to ping one another from
each of the zones. As Sriram pointed out, the need for this arises
when we use DHCP IPs from various places(office, home etc.). The IP
assigned to the physical interface might be in a different range each
time, and that would affect the IPs of the virtual NICs as well. Now
with this approach, the IPs will remain static even if we do not have
a ethernet connection to the physical interface. Thanks to Sriram for
highlighting such scenarios. Thanks

--
Thank you
Balachandran Sivakumar

Arise Awake and stop not till the goal is reached.
                                                             - Swami Vivekananda

Mail: benig...@gmail.com
Blog: http://benignbala.wordpress.com/
_______________________________________________
ug-bosug mailing list
List-Unsubscribe: mailto:ug-bosug-u...@opensolaris.org
List-Owner: mailto:ug-bosu...@opensolaris.org
List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54

kunal ghosh

unread,
Dec 17, 2011, 5:40:02 PM12/17/11
to Bangalore OpenSolaris User Group
Thanks for the notes Bala.
--
regards,

Kunal Ghosh


Reply all
Reply to author
Forward
0 new messages