I hope you didn't put it in rc.local.  The place for this is
/etc/sysconfig/network-scripts.

[EMAIL PROTECTED] windows.m]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.128.1
NETWORK=192.168.128.0
BROADCAST=192.168.128.255
NETMASK=255.255.255.0
ONBOOT=yes
MII_NOT_SUPPORTED=yes

[EMAIL PROTECTED] windows.m]# cat /etc/sysconfig/network-scripts/ifcfg-eth0\:254 
DEVICE="eth0:254"
IPADDR="192.168.128.254"
NETMASK="255.255.255.0"


Make as many ifcfg-eth0:? files as you need.

HTH,
Bill


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of EE
> Sent: Saturday, September 11, 2004 10:05 AM
> To: Bambang Gunawan
> Cc: Mandrake
> Subject: Re: [newbie] eth0:0, eth0:1, eth0:2, etc.
> 
> 
> On Sat, 2004-09-11 at 15:09, Bambang Gunawan wrote:
> > On Sat, 11 Sep 2004 07:51:08 -0400, Scott Wagner <[EMAIL PROTECTED]> wrote:
> > > 
> > > 
> > > On Sat, 2004-09-11 at 07:13, MyEE wrote:
> > > > Dears
> > > >
> > > > Every time I do
> > > >
> > > > ifconfig eth0:1 192.168.1.1 broadcast 192.168.1.255 netmask 255.255.255.0
> > > > ifconfig eth0:2 192.168.1.2 broadcast 192.168.1.255 netmask 255.255.255.0
> > > >
> > > > it works fine until I restart the computer everything goes back to its
> > > > normal and I have do it again . How can I make this permanent
> > > >
> > 
> > --/* snip */--
> > > 
> > > Isn't it eth0 and eth2? Also, are you using DHCP?
> > > 
> > > Cheers,
> > > SW
> > 
> > that's just aliasing from eth0
> > you can add an alias like eth0:whatever_name_is
> > the easy way to make it permanent after reboot, put that at the end of
> > file /etc/rc.d/rc.local
> > 
> > 
> > HTH
> > Bambang
> 
> Thanks, 
> 
> it worked.
> 
> 
> 

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to