« Changing monitor resolution for Solaris | Main | Creating a Linux Virtual Machine Part Duex »

Network configuration for Solaris

In Windows you can change IP address, all in one place. For Solaris, it is slightly different.

IP Address
There are 3 files to configure a hosts IP address. The following is self explanatory.

/etc/hosts
/etc/netmasks
/etc/defaultrouter

For Solaris 9 and above,

/etc/inet/ipnodes

You can change the ipaddress temporarily by using the ifconfig command

ifconfig hme0 netmask 255.255.255.0

Hostname
You will need to change quite a few files. The first two is the most important

/etc/hosts

/etc/hostname.*

/etc/nodename

/etc/net/ticlts/hosts

/etc/net/ticots/hosts

/etc/net/ticotsord/hosts

/etc/inet/ipnodes

Reference link link

About

This page contains a single entry from the blog posted on July 18, 2008 5:37 PM.

The previous post in this blog was Changing monitor resolution for Solaris.

The next post in this blog is Creating a Linux Virtual Machine Part Duex.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type