tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [Summary] IP address alias
@ 1996-02-07 11:48 Gerhard Nolte
  0 siblings, 0 replies; only message in thread
From: Gerhard Nolte @ 1996-02-07 11:48 UTC (permalink / raw)
  To: tru64-unix-managers

Hi Managers,

My original question was:

> how to introduce a permanent IP alias address for an interface?
> The ifconfig flag "alias <IP-address>" in netsetup does not work.

Thank's to all who responded.

I followed the suggestion of Arrigo Triulzi <arrigo@lpac.ac.uk> to create
a script file /sbin/init.d/netalias that executes the command
/sbin/ifconfig <interface> alias <adress>

I just corrected the name S001netalias to S01netalias.

Gerhard


=================================
Arrigo wrote:

You need to add a small script in /sbin/init.d/ say
/sbin/init.d/netalias (take the skeleton from lpd), then link it in
/sbin/rc[0-6].d at the appropriate spot, prob as

ln -s /sbin/init.d/netalias /sbin/rc3.d/S001netalias
ln -s /sbin/init.d/netalias /sbin/rc2.d/K549netalias

(the numbers are chosen to get the correct execution order during
bootup, S to start, K to kill).

Ciao,

	Arrigo

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-02-07 11:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-02-07 11:48 [Summary] IP address alias Gerhard Nolte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox