Yip, its that script problem you were talking about
Kit Ngan wrote:
> Eric Wieling wrote:
>
> > I have a stock Mandrake 6.1 install (this happens on two systems, one
> > with the couple of 6.1 updates, one with no updates).
>
> It's happen even 6.0!
> Finally, I modify /etc/sysconfig/network-scripts/ifcfg-eth0:x myself!
>
> > I used linuxconf to set up virtual ip addresses (IP Aliasing). It
> > doesn't appear to work. There are no aliased interfaces as shown by
> > ifconfig. I CAN manually ifconfig eth0:0 x.x.x.x and it works fine.
> > Rebooting does not configure the interfaces (though
> > "/etc/rc.d/init.d/network reload" should have configured the interfaces,
> > I figured that rebooting could not hurt. 8-)
> >
> > I poked thru the /etc/sysconfig/network-scripts/ and everything appears
> > to be correct. I thought that the default kernel might nor have IP
> > Aliasing configured, so I downloaded the Mandrake kernel SRPM and looked
> > at .config files, and it appears that they DO compile with IP Aliasing.
> > I've seen one other post to alt.os.linux.mandrake about the problem, but
> > there was no soluition (in fact there was only one reply and that was
> > not useful)
>
> I think it is some script problem...
> Try to modify
>
> Step 1.
> /etc/sysconfig/network-scripts/ifup-aliases
> Modify
> if [ ! -f /etc/sysconfig/network-scripts/$device:$current ]; then
> to
> if [ ! -f /etc/sysconfig/network-scripts/ifcfg-$device:$current ]; then
>
> Step 2.
> /etc/sysconfig/network-scripts/ifcfg-eth0:x
> Add
> DEVICE="eth0:x"
> at the first line.
>
> > Anyone have any ideas/suggestions?
>
> Just follow above!
>
> --
> Rgds Kit
> K&B Computer Technology Co.
> ICQ: 28280598
> http://www.knb.com.hk
--
~~~~~~~~~~~~~~
Alwyn Schoeman
Systems Engineer
Prism Secure Solutions