[SunHELP] Re: secondary ip address setup

Brian Hechinger sunhelp at sunhelp.org
Tue Jan 23 12:11:48 CST 2001


> 
> put the hostname of the address in a file called
> 
> /etc/hostname.{le[0-n]}
> add the hostname and IP address to the /etc/hosts file.
> put the primary hostname in /etc/nodename.
> This will allow the /etc/init.d script to figure every thing out.
> If you change the script your changes may be lost when patches are
> applied.

not 100% correct.  for an aliase use the following notation

/etc/hostname.le[0-n]:[0-n]

hence:

/etc/hostname.le0:0 will setup your first alias to be alias zero on interface
le0

cheers,

-brian



More information about the SunHELP mailing list