Mailinglist Archive: opensuse (3378 mails)

< Previous Next >
Re: [SLE] Two IP-addresses, one NIC
  • From: Chad Whitten <dog@xxxxxxxxx>
  • Date: Mon, 22 Apr 2002 08:20:51 -0500
  • Message-id: <200204221320.g3MDKpb15866@xxxxxxxxxxxxxxx>
ifconfig eth0:0 192.168.1.2 broadcast 192.168.1.255 netmask 255.255.255.0 up
will always work, on any linux box
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

change 192.168.1.2 to whatever ip you want


On Sunday 21 April 2002 03:01 pm, David List wrote:
> Is it possible to set up a NIC so that it answers to two different
> IP-addresses? I have tried to do this through YaST on a SuSE 7.3 system,
> but when I try adding another line, the device shifts to eth1 by default,
> instead of letting me choose eth0, which is necessary to get two
> IP-addresses assigned to the same NIC.
>
> Can it be done?
>
> Best regards,
> David List

--
Chad Whitten
Network/Systems Administrator
neXband Communications
cwhitten@xxxxxxxxxxx

< Previous Next >
Follow Ups
References