[Summary] IP address alias

From: Gerhard Nolte <gnolte_at_gwdg.de>
Date: Wed, 7 Feb 1996 12:48:23 +0100

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_at_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
Received on Wed Feb 07 1996 - 13:09:46 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT