LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 07-10-2009, 05:34 AM   #1
aramkarapetian
LQ Newbie
 
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
Question Slackware - reboot mix interfaces


Hi,

I've box with 3 interfaces.
After reboot it's mixing up interfaces.
Before have eth0 as local, eth1 provider 1, eth2 provider 2.
After reboot get eth1 local, eth2 provider 2, eth3 provider 3.
How can I fix IP address/interface names to network cards?

Is this known issue?

Thanks in advance.
 
Old 07-10-2009, 05:57 AM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 248Reputation: 248Reputation: 248
UDEV Perhaps?

Greetingz!

This is a "known" issue on some distributions of Linux. Basically, the root-cause is the fact that, during boot-up, hardware modules are loaded-up in parallel, rather than serial alphabetically. Basically, in a lot of distros (and Slackware suffered from this for a while), you never knew which NIC was going to be assigned eth0, eth1, etc.

Although, it's been a while since I've messed with a multihomed configuration on Slackware (and I'm not in front of my server), I do recall UDEV coming to the rescue on this issue.

Look for this file;

/etc/udev/rules.d/70-persistent-net.rules

Which might have something like this for each interface (if not, consider adding them);

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0d:60:b1:b9:43", ATTR{type}=="1", NAME="eth0"

All you have to do is find and set the MAC address that you always want to be eth0, eth1, and eth2, and you're set!

Keep in mind, this all depends on which version of Slackware you're running. I'm almost sure I'm still on 10.1.
 
  


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
bonding two interfaces slackware 12.1 pauledwards03 Linux - Networking 3 11-04-2008 11:46 AM
Two network interfaces on Slackware djake Linux - Networking 4 06-29-2008 04:04 PM
Oignon routing: Mix and mix cascades xpucto Linux - Networking 6 07-05-2006 12:01 PM
Bonding Interfaces in Slackware 9.1 tim0707 Linux - Networking 2 07-26-2004 03:57 AM
A mix of questions relating to slackware 10.0 upgrade 12Iceman Slackware 7 06-25-2004 12:55 AM


All times are GMT -5. The time now is 03:32 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration