SUMMARY: how to change ip of a local zone?

From: Gerard Henry <ghenry_at_cmi.univ-mrs.fr>
Date: Mon Sep 11 2006 - 08:23:18 EDT
thanks to Tobias Nutt and Gordon Jonhston, who gave me the right way:

> Do it with zonecfg.
>
> Something like this:
>
> zonecfg -z zonename
> select net address=x.x.x.x   (where x.x.x.x is the current address)
> set address=y.y.y.y  (where y.y.y.y is the new address)
> end
> verify
> commit
> exit
>
> Then reboot the zone.

i also found this info,
http://learningsolaris.com/zones-unofficial-faq/#3.5 "Can I change a
non-global zone IP while it is running?"

thanks to all,

gerard


Gerard Henry wrote:
> hello all,
> i read archives, and found the way to change the ip of a global zone.
> But what's the best way to change ip after local zones have been installed?
> i looked into /etc/zones/hosteA.xml, but it is said to not modify in it.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Sep 11 08:24:25 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:00 EST