Solaris Zone Administration – Changing IP Address

I had to get my hands dirty recently to migrate some Solaris boxes.  While I’m not totally unfamiliar with Solaris zones, the commands slipped my mind since I don’t use it on a day to day basis.

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)

That’s it. Another quick reference and addition to my own F(**king)M(anual).

Author: yibi

YiBi's numb :) YiBi writes about anything. Technology, Gossips, Rubbish YiBi's a half f%#k geek :P

3 Replies to “Solaris Zone Administration – Changing IP Address”

  1. Thanks. Have several “client demo” zones on my X4200 which I use for testing, and needed change IP address to one of them.

  2. Thanks for the guide, just inherited heaps of Solaris systems. While it’s probably obvious to most, you will (I think) need to restart the zone after making this change for it to take effect.
    Maybe you can stop/start the networking too?


This is useful? Please leave your comment or Share this on Facebook!

This site uses Akismet to reduce spam. Learn how your comment data is processed.