[Linux-users] 2 IP's on the same network card

Steve Jardine sjardine
Thu Aug 30 08:26:06 PDT 2007


I think SUSE allows yo to use /etc/rc.d/rc.local to start stuff up when you reboot. If not, look in /etc/sysconfig/network?? Maybe you can put it in /etc/sysconfig/networking-scripts?

Let me think about it..

Steve

On Tue, 28 Aug 2007 21:56:55 +1000
James McDonald <james at jamesmcdonald.id.au> wrote:

> Dirk Moolman wrote:
> > Just a question - how do I make a network setting, like the eth0:1 that
> > I created below, permanent ? .... so that it stays when I reboot the
> > server
> >
> >   
> The trouble with that question is that it's distro centric and I only 
> know redhat/centos/fedora
> Anyone with Suse experience?
> > -----Original Message-----
> > From: linux-users-bounces at pananix.com
> > [mailto:linux-users-bounces at pananix.com] On Behalf Of Dirk Moolman
> > Sent: 27 August 2007 11:49 PM
> > To: linux-users at linux-sxs.org
> > Subject: Re: [Linux-users] 2 IP's on the same network card
> >
> > Ok, I found it - and it is actually so simple:
> >
> > http://learnlinux.tsf.org.za/courses/build/net-admin/ch01s10.html 
> >
> > To plumb your device, you may run the command:
> >
> > ifconfig eth0 192.168.0.1 netmask 255.255.255.0
> > ifconfig eth0:1 172.16.5.1 netmask 255.255.255.0
> >
> >
> > "These commands would plumb the interface. Notice that the eth0:1 gives
> > the interface the second IP address. Using any number in place of the
> > '1' would also work."
> >
> >  
> >
> >
> >   
> 
> The t
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> http://mail.linux-sxs.org/cgi-bin/mailman/listinfo/linux-users
> 


-- 
"There is a clear attempt to establish truth not by scientific methods but by 
perpetual repetition."
- Richard S. Lindzen, Ph.D. Professor of Meteorology, MIT



More information about the Linux-users mailing list