Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titlezonecfg
dilos# zonecfg -z lx2
lx2: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:lx2> create -t SUNWlx26
zonecfg:lx2> set zonepath=/zones/lx2
zonecfg:lx2> set autoboot=truefalse
zonecfg:lx2> set ip-type=exclusive
zonecfg:lx2> add attr
zonecfg:lx2:attr> set type=string
zonecfg:lx2:attr> set name=resolvers
zonecfg:lx2:attr> set value="192.168.0.1"
zonecfg:lx2:attr> end                    
zonecfg:lx2> add net 
zonecfg:lx2:net> set physical=eth1
zonecfg:lx2:net> set global-nic=e1000g1
zonecfg:lx2:net> add property (name="gateway",value="192.168.0.1")
zonecfg:lx2:net> add property (name="ip",value="192.168.0.103")
zonecfg:lx2:net> add property (name="netmask",value="255.255.255.0")
zonecfg:lx2:net> add property (name="primary",value="true")
zonecfg:lx2:net> end                                     
zonecfg:lx2> verify
zonecfg:lx2> commit
zonecfg:lx2> exit  

...