Well, are you running that remotely? You might want to try nohup'ing that
command if you are, 'coz that first ifconfig should flush the routing
table, meaning your telnet connection might get disconnected, sending a
SIGHUP to the script, killing it before it finishes configuring your
aliased interfaces and routes.
---
[EMAIL PROTECTED]
On Mon, 1 Feb 1999, charles verge wrote:
> I use ipaliases
> and use this as the start up script
> /sbin/ifconfig eth0 24.138.16.22 netmask 255.255.255.0 up
> /sbin/ifconfig eth0:0 24.138.16.23 netmask 255.255.255.0 up
> /sbin/ifconfig eth0:1 24.138.16.24 netmask 255.255.255.0 up
> /sbin/route add -host 24.138.16.22 dev eth0
> /sbin/route add -host 24.138.16.23 dev eth0:0
> /sbin/route add -host 24.138.16.24 dev eth0:1
> /sbin/route add -net 24.138.16.0 netmask 255.255.255.0 dev eth0
> /sbin/route add -net default gw 24.138.16.1
>
>
> The problems is it don't aways work
> and some time an ip will die ?
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]