Mailinglist Archive: opensuse (3378 mails)

< Previous Next >
Re: [SLE] Two IP-addresses, one NIC
  • From: Anders Johansson <andjoh@xxxxxxxxxxxxxxxxxxxxx>
  • Date: Mon, 22 Apr 2002 15:36:45 +0200
  • Message-id: <200204221536.45491.andjoh@xxxxxxxxxxxxxxxxxxxxx>
On Monday 22 April 2002 15:20, Chad Whitten wrote:
> ifconfig eth0:0 broadcast netmask
> up will always work, on any linux box

Nope it won't. On SuSE 8.0 for instance I think it will result in a message to
the effect that ifconfig isn't used anymore. Look at iproute2. It's the new

This is just as an aside, though. It should work on 7.3.

> to get this on boot, put it in /etc/init.d/rc.local (if there is no
> rc.local, create one) and then do
> chmod 700 /etc/init.d/rc.local
> ln -s /etc/init.d/rc.local /etc/init.d/rc3.d/S99local

That's one way to do it. Marginally simpler would be to edit /etc/rc.config
and change NETDEV_1 to eth0:0 and IFCONFIG_1 to the proper parameters.


< Previous Next >
Follow Ups