Sun Solaris 10 - Configuring IPV4 Network Interface can be done following the steps given below.
1) Get information on current network interface using the ifconfig command and make sure that the interface is down.
# ifconfig hme0 down
# ifconfig -a
2) Edit the /etc/inet/hosts and /etc/inet/ipnodes files and add the entries as follows :
vi /etc/inet/hosts
198.163.0.112 helen
vi /etc/inet/ipnodes
198.163.0.112 helen
Note : IP address and hostname mentioned are samples. They are not default values. Update the values of your IP accordingly
3) Edit the file /etc/hostname.hme0 to contain the following entry :
vi /etc/hostname.hme0
helen
4) Edit the file /etc/inet/netmasks and add the following entry :
198.163.0.112 255.255.255.0
5) We've completed the pre-configuration of the interface. We can use the ifconfig command to in itialize the interface and make it operational, as follows :
# ifconfig hme0 helen netmask + broadcast + up
6) Verify that the interface is now operational and correctly configured using the ifconfig command :
# ifconfig -a
Inference from O/P :
From the O/P in first step after making interface down, against hme0 we get the O/P as - (
After performing the configuration steps the O/P of ifconfig -a command is going to be :
hme0 : UP, BROADCAST, RUNNING, MULTICAST,IPV4
When we use the plus sign (+) with the ifconfig command, a lookup of /etc/inet/netmasks file happens and correct value is determined. So be careful that /etc/inet/netmasks file is accurate.
For more details visit:


