Monday, June 4, 2012

How to change the hostname/ipaddress in zone

hi, 

how to change the hostname in zone.(.etc/hosts, and /etc/nodename, /etc/hostname.XXX, no entries abt created zone name) 
and how to change the ipaddress 
(my configuration) 


It depends on if it's a ip-type=shared or exclusive. 
The hostname you change from within the zone (/etc/hosts, /etc/nodename). 
The IP address of a shared zone you change using zonecfg from the global 
zone. If it's an exclusive ip zone, then you change it the usual OS way, 
from within the zone. 
type this command 

zonecfg create zonename 
it will prompt for 
zonecfg> 
we can change in this way 
 

0 comments:

Post a Comment

 
Design by BABU | Dedicated to grandfather | welcome to BABU-UNIX-FORUM