Solaris 10 Static IP Network configuration guide

This is pretty simple task. Although some find it difficult because it is different from other Linux distributions.

To configure Solaris 10 network interface in Local files mode, you must first remove the file /etc/dhcp.interface (for ex. /etc/dhcp.e1000g0), then you have to configure six files.

/etc/nodename

/etc/hostname.interface

/etc/inet/hosts/etc/inet/ipnodes

/etc/defaultdomain

/etc/defaultrouter

In /etc/nodename, you must specify your name of the server/host.Ex.

#cat /etc/nodename
solarisbox1

The interface names in solaris includece, hme, bge, e1000g etc. So, if you have an interface called e1000g0 there should be a file named /etc/hostname.e1000g0 In this file, you must specify network configuration information such as IP address, netmask etc.

The /etc/inet/hosts file serves as local file name resolver. It resolves hostnames, log hosts etc. You can specify any number of hosts associted with IP addresses in it. You must specify hostname of you system in it.Ex.

This will help you progress towards basic interface configuration in Solaris 10.This article refers Oracle Documentation and is made in simple format to help newbies to configure network interface quickly.For more information see:http://docs.oracle.com/cd/E19253-01/816-4554/ipconfig-1/index.htmlSolaris 10 System Administration Guide: IP Services