> Hi,
> Could anyone help me with this simple question ??
> We are running Solaris 2.6 on a Sun E6500. The server is on our network
> with IP address(xxx.xx.xxx.xxx). We want to configure a second
> interface (i.e., an empty TP slot in one of our I/O boards in the back)
> so it can be connected to a different network switch with a new IP
> address (yyy.yy.yyy.yyy).
> Our goal is for this server to be connected to 2 seperate
> networks with 2 seperate IP addresses.
> Is this do-able ?? This is just for temporary use.
> What commands do I need in Sun to set this up and how can we
> test it ?
You only need to create a "hostname.???" file and add the second IP
address to the "/etc/hosts" file. The "/etc/hostname.???" files
contain the name associated with that interface. You probably
already have a "/etc/hostname.hme0" file that contains the hostname
of your machine. When SOLARIS boots it takes the name from that
file and looks it up in "/etc/hosts". It then uses what it finds in
"/etc/hosts" to configure the interface. If you have a second
ethernet interface, you just need to create a file called
"/etc/hostname.hme1" and put the hostname in there (e.g.
hostname-ether1). Then in your "/etc/hosts" file put a line like
"yyy.yy.yyy.yyy hostname-ether1". The machine will
configure the second interface when it reboots.
Hope this helps,
Don
--
********************** You a bounty hunter?
* Rev. Don McDonald * Man's gotta earn a living.
* Baltimore, MD * Dying ain't much of a living, boy.
********************** "Outlaw Josey Wales"
http://members.home.net/oldno7