Thank you a lot.
On Thu, 28 Mar 2002, MdkXpertList wrote:
> On Wed, 27 Mar 2002 08:55:23 -0800 (PST)
> "Dianne Marie Montesa" <[EMAIL PROTECTED]> wrote:
>
>
> > the main config file for the NIC is on
> > /etc/sysconfig/network-scripts/ifcfg-eth0... i havent
> > found a way to put another ip on the same card using
> > config files, so i put the above command on the
> > rc.local file to make it available upon boot up.
>
> Just like main config file, just add :X to the name:
>
> /etc/sysconfig/network-scripts/ifcfg-eth0:0
> /etc/sysconfig/network-scripts/ifcfg-eth0:1
> .
> .
> .
> /etc/sysconfig/network-scripts/ifcfg-eth0:X
>
> and for example ifcfg-eth0:0
>
> DEVICE=eth0:0
> BOOTPROTO=static
> IPADDR=192.168.1.2
> NETMASK=255.255.255.0
> NETWORK=192.168.1.0
> BROADCAST=192.168.1.255
> ONBOOT=yes
>
> /etc/sysconfig/network-scripts/ifup-aliases is the script
> which do the actual job to bring them up...
>
> Happy Easter to all Bluebirds and Traktopellers...
>
> -- Juhani --
>
>
--
-----------------------
Alan Wilter S. da Silva
-----------------------
Laborat�rio de F�sica Biol�gica
Instituto de Biof�sica Carlos Chagas Filho
Universidade do Brasil/UFRJ
Rio de Janeiro, Brasil
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com