Sunday, 05 September 2010

Main Menu

  • Books
  • Home
  • China Olympics Blog
  • Photography
  • Photography Equipment
  • Solaris
  • Activities
  • Building a home Solaris server
  • Recommended webcontent
  • Travels
  • Skiing
  • Golf
  • Apple
  • Twitter
  • Links
  • About
  • India / Maldives / Dubai trip

Sponsored Links

Home Solaris Solaris 10: how to setup a netmask while creating a zone
Solaris 10: how to setup a netmask while creating a zone PDF Print E-mail
Written by Remco Lengers   
Friday, 23 May 2008 17:21
Here's how to setup a netmask while creating a zone:

# zonecfg -z testzone

testzone: No such zone configured

Use 'create' to begin configuring a new zone.

zonecfg:testzone> create

zonecfg:testzone> set zonepath=/zones/testzone

zonecfg:testzone> set autoboot=true

zonecfg:testzone> add net

zonecfg:testzone:net> set physical=hme0

zonecfg:testzone:net> set address=10.10.10.1/24

zonecfg:testzone:net> end

zonecfg:testzone> verify

zonecfg:testzone> exit

#


If you want to set a non default netmask you can replace that the following:

zonecfg:testzone:net> set address=10.10.10.1/24


Now you have set the netmark to be 255.255.255.0

There are various online tools to help you calculate the netmask number
Last Updated on Friday, 23 May 2008 22:32
 
  • Photography
  • Food for Thought
  • Photography equipment
Copyright © 2010 www.lengers.com. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.