I've always put it in /etc/rc.d/init.d/network myself. Then just do a
series of ifconfig's to bring up the virtual IP's, and then a series of
route commands to add the routes, and voila, instant ip_aliasing.

As for how to get it to autoload... well, I've always done it as part of
the kernel, but that's just the way I tend to build the kernels. :)

Derek

On Tue, 7 Apr 1998, Bug Hunter wrote:

>     Redhat 4.2 has ip_alias.o module, which allows multiple
> ip addresses on one ethernet card.
> 
>     I can insmod it by hand and it works.  I've looked at
> the modprobe documentation, and got the ethernet driver to
> install automatically at boot. I did not understand how to
> cause ip_alias to be installed using modules.conf (unless I
> create a false alias for it and that is automagically
> loaded).
> This is a production mail machine in an office environment,
> so experimentation is frowned upon.
> 
>     What is the best way to get the ip_alias inserted during
> boot up?  would it be before, or after the ethernet card?
> Also, do I create an ifcfg_eth0:0 file in
> /etc/sysconfig/network-scripts to get the second ip address
> to work automagically, or do I change the
> /etc/rc.d/rc3.d/xxx files to do this?  (most of which point
> back to /etc/rc.d/init.d)  (Which of these files would be
> best if in rc3.d?)
> 
> 
> thanks!
> bug
> 
> 
> -- 
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
>          To unsubscribe: mail [EMAIL PROTECTED] with 
>                        "unsubscribe" as the Subject.
> 

======================================================================
Derek J. Balling          | "Bill Gates is a monocle and a white 
[EMAIL PROTECTED]        |  fluffy cat from being a villain in the
http://www.megacity.org/  |  next Bond film."  - Dennis Miller
======================================================================


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to