tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Gerhard Nolte <gnolte () gwdg ! de>
To: tru64-unix-managers
Subject: [Summary] IP address alias
Date: Wed, 07 Feb 1996 11:48:23 +0000	[thread overview]
Message-ID: <96076329121162.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~1996-02-07 11:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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