This tutorial uses the MYZONE zone as an example.
Login to the global with an administrator login
Open a terminal and login as <admin> then login as root
Login to the MYZONE zone: zlogin -C -e\@ MYZONE
Result: [Connected to zone 'MYZONE' console] appears
Press enter to be presented with the zone console login prompt
Login as <admin> then login as root
Shutdown the MYZONE zone: shutdown -g0 -y -i0
Result: [Notice: Zone halted]
Open a new terminal instance
Login as <admin> then login as root
Enter the zone config mode: zonecfg -z MYZONE
zonecfg:MYZONE> remove net physical=bge0
zonecfg:MYZONE> add net
zonecfg:MYZONE:net> set physical=bge0
zonecfg:MYZONE:net> set address=<new ip address>/24
zonecfg:MYZONE:net> set defrouter=<default router ip address>
zonecfg:MYZONE:net> end
zonecfg:MYZONE> verify
zonecfg:MYZONE> commit
zonecfg:MYZONE> exit
zonecfg -z MYZONE info (verify ip address is correct)
zoneadm -z MYZONE boot
You should see the zone boot in the zone terminal window
Edit /etc/hosts to update MYZONE’s IP address
Logout of <admin>
Note: It will take 3-5 minutes before you can login to the MYZONE zone
At the DII COE LOGIN window, select:
Options ==> Remote Login ==> Enter Hostname
Enter MYZONE’s hostname
Select OK
Stay on the DII COE login screen and:
Select Options ==> Session ==> Failsafe Session
Login as <admin>
You are immediately presented with a terminal window which is logged in as <admin>
Login as root
Enter:
chmod 744 /etc/hosts
vi /etc/hosts
down arrow to the line where you want to change the zone’s ip address
right arrow until the cursor is over the part of the ip address you want to change
press ‘i‘
type in the change
press ‘ESC‘
delete the old, unwanted characters by placing the cursor over an unwanted character and pressing ‘x‘
press SHIFT + ZZ to save the file
chmod 444 /etc/hosts
type ‘init 6‘ in the terminal window to reboot the MYZONE zone
At the DII COE login screen login to the MYZONE zone as usual
Now get back to work.