Dino Nardini wrote:
>
> Good Day,
>
> I've just upgraded to 1.13 subrev 5 and everything looks ok, except...
>
> Now I'm getting warnings/errors when trying to reload the network:
>
> "Executing: /etc/rc.d/rc3.d/S10network reload"
>
> produces the following warning/errors:
>
> * eth0:0-: unknown interface
> Usage: inet_route .... blah blah
>
> Although I get these warnings/errors the network is still functioning, and
> all my IP numbers respond to ping.
>
> Any ideas? I've seen this problem before, but cannot remember where, or
> how to eliminate it.
Do you use ipaliases, and if so have you checked that they work?
I got a warning looking something like the one you get, and the
ipaliases was not loaded correctly.
I modified /etc/sysconfig/network-scripts/ifup-aliases and added arg3
and arg4 to this part of the script:
if [ -x /bin/linuxconf ] ; then
# ask linuxconf for lines like:
# add <device> <ip>
# del <device>
# reload <number_of_aliases>
linuxconf --hint ipalias $1 | while read verb arg1 arg2 arg3 arg4 ;
do
case $verb in
add)
/sbin/ifconfig $arg1 $arg2 netmask $arg3 broadcast $arg4
/sbin/route add $arg2 $arg1
;;
Then everything was loading correctly without warnings again. This was
on RedHat 5.1/1.13r5
---
You are currently subscribed to linuxconf as: [[email protected]]
To unsubscribe, forward this message to [EMAIL PROTECTED]