You should be able to alias the extra IPs so they are permanent, have a
look at some of the how-to's, I am not in front of Linux box now so wont
speculate as to the file name. If you have X up, use the control panels
network tool


its quite ok to run your ipchains script from rc.local, there is no
format.......just add near the end........

*********** REPLY SEPARATOR  ***********

On 26/01/00 at 18:20 Chad W. Skinner wrote:

>I have created a script to add 2 ips to interface eth0. This script simply
>contains the commands
>
>ifconfig eth0:0 192.168.0.2 netmask 255.255.255.0
>ifconfig eth0:0 192.168.0.3 netmask 255.255.255.0
>
>When I reboot my machine i simply run this script to add the interfaces,
but
>would like the server to add them automatically. I believe I need to add
>these to rc.local, but is there a standard way of doing this so it works
>properly or reports errors. For example, what if something goes wrong and
>eth0 is not up when the above commands are issued?
>
>Also, what scripts bring up the initial interfaces? and where should the
>commands for IP chains be placed so they run at startup?
>
>Thanks,
>Chad W. Skinner
>
>
>-- 
>To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
>as the Subject.



Regards

Greg Wright
IT Consultant Sydney Australia

-- 

*** Please trim any replies ***
*** Please turn off HTML in your email ***
*** Please don't use the list for test messages ***
*** Why not read the archives? http://moongroup.com/redhat.phtml ***


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to