Change Hostname In SOLARIS 11:
1) Check hostname
# hostname
#svccfg
-s system/identity:node listprop config
2) Change to new hostname
# svccfg -s system/identity:node setprop config/nodename="NEW-HOST”
# svccfg -s system/identity:node setprop config/loopback=" NEW-HOST”
3) Refresh Properties
# svccfg -s system/identity:node refresh
4) Restart services
# svcadm restart system/identity:node
5) verify that the changes
# svccfg -s system/identity:node listprop config
Change IP In SOLARIS 11:
6) To determine how network interface names
are mapped to physical interfaces.
# dladm
show-phys
7) Check the IP address
#
ipadm show-addr
# ifconfig –a
8) Delete existing IP address and un plumb NIC
card
# ipadm delete-addr net0/v4
# ipadm delete-ip net0
9) Plumb NIC card
# ipadm create-ip net0
10) Create Ip address
# ipadm create-addr -T static -a
10.10.10.10/24 net0/v4
11) verify the new configuration
# ipadm show-addr
#
ifconfig -a
ADD Default Router permanent In SOLARIS 11
# route -p add default 10.10.10.1
No comments:
Post a Comment