LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-30-2014, 09:30 AM   #1
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, CentOS
Posts: 2,421

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Configure eth0:0 failover IP on Slackware?


Hi,

I have to configure a failover IP for a Slackware server. I know how to do this on Debian/Ubuntu, it would look something like this:

Code:
# The loopback network interface 
auto lo 
iface lo inet loopback 

# The primary network interface 
auto eth0 
iface eth0 inet static 
      	address 195.154.123.123
      	netmask 255.255.255.0 
      	gateway 195.154.123.1

auto eth0:0
iface eth0:0 inet static
	address 88.190.123.123
	netmask 255.255.255.255
Any idea how this would look on Slackware? I have no idea how to adapt this to Slackware's syntax in rc.inet1.conf.

Cheers,

Niki
 
Old 07-30-2014, 09:31 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,312

Rep: Reputation: Disabled
Use the IFNAME[n] variable to specify eth0:0 as the name of a currently undefined interface.
 
1 members found this post helpful.
Old 07-30-2014, 09:49 AM   #3
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, CentOS
Posts: 2,421

Original Poster
Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by Ser Olmy View Post
Use the IFNAME[n] variable to specify eth0:0 as the name of a currently undefined interface.
Thanks very much! You literally saved my life with this one.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to configure Two ISP's DNS in squid for failover sachin151080 Linux - Networking 0 09-04-2010 03:57 AM
How to configure two network cards in failover configuration rajesh.bahl Linux - Networking 3 11-06-2009 12:01 AM
Configure failover for rsyslog kenneho Linux - Server 1 01-28-2009 07:39 AM
unable to configure eth0 srivisuniverse Linux - Newbie 2 01-09-2008 01:00 AM
eth0 ? How do you configure? Robert_McPhee Linux - Networking 1 01-30-2001 06:19 AM


All times are GMT -5. The time now is 01:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration