Yes, that is exactly what I was looking for.  Thank you.


--- On Mon, 6/14/10, Dennis Clarke <dcla...@blastwave.org> wrote:

> From: Dennis Clarke <dcla...@blastwave.org>
> Subject: Re: [osol-help] How to change the ip address of a zone
> To: "brown wrap" <gra...@yahoo.com>
> Cc: opensolaris-help@opensolaris.org
> Date: Monday, June 14, 2010, 7:54 PM
> 
> >
> >
> > I got my first zone set up thanks to help from Brian
> Leonard. Anyway, in
> > the example I followed I used the ip address in the
> example. Anyway, is
> > there a way to change it, outside of of deleting the
> zone and recreating
> > it? Thanks.
> 
> I was not following the thread so I don't know if you are
> doing exclusive
> mode or a shared NIC.
> 
> Just shut that zone down.  Login to it from the global
> with :
> 
> # zlogin -C -e\@ zonename
> 
> The issue "shutdown -g0 -y -i0"
> 
> Then use zonecfg to change the zone config :
> 
> # zonecfg -z z_003
> zonecfg:z_003>
> zonecfg:z_003> remove net physical=bge0
> 
> Then just add in the new network config
> 
> zonecfg:z_003> add net
> zonecfg:z_003:net> set physical=bge0
> zonecfg:z_003:net> set address=192.168.35.221/24
> zonecfg:z_003:net> set defrouter=192.168.35.254
> zonecfg:z_003:net> end
> zonecfg:z_003>
> zonecfg:z_003> verify
> zonecfg:z_003> commit
> zonecfg:z_003> exit
> #
> 
> Its that easy.
> 
> You may need to modify your /etc/hosts and other things in
> /etc/inet in
> the zone but at least the zonecfg is done.
> 
> Does that help ?
> 
> -- 
> Dennis Clarke
> dcla...@opensolaris.ca 
> <- Email related to the open source Solaris
> dcla...@blastwave.org   <-
> Email related to open source for Solaris
> 
> 
> 


      
_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

Reply via email to