LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-08-2005, 04:24 PM   #1
max_mad
LQ Newbie
 
Registered: Sep 2005
Distribution: SuSE Linux 9.3
Posts: 21

Rep: Reputation: 15
bonding-problem, eth0,1,2 changes nic's


Configuration:
SuSE 9.3
1 nic for dsl
2 nic's for internal traffic with switch

Problem: eth0, eth1 and eth2 are not always related with the same nic. It changes on boot which makes bonding impossible with
ifup bond0
ifenslave bond0 eth0 eth1

Sometimes eth0 or eth1 on boot is related with the dsl-nic.

Tried PERSISTENT_NAME = eth-0 in the ifcfg-eth-macadress1 and also in the config-file for the other nic. Also changed ifenslave to
ifenslave bond0 eth-0 eth-1 (no way to place the mac here?)

After booting the computer renames the nics, but then searches for mandatory devices eth0, eth1, eth2. => bond0 not available

In 8.2 modules.conf(.local) the syntax changed from

alias eth0 3com59x
alias eth1 realtek...

to 9.3 modprobe.conf(.local)

install eth0 /sbin/true
install eth1 /sbin/true
howto handle eth2?

I also tried iftab and ifrename -t without success.

How can I solve this bonding-problem?
Thanks for helping
 
Old 09-10-2005, 02:16 PM   #2
max_mad
LQ Newbie
 
Registered: Sep 2005
Distribution: SuSE Linux 9.3
Posts: 21

Original Poster
Rep: Reputation: 15
Solved: Bonding with SuSE 9.3

Here I found the solution:

http://portal.suse.com/sdb/en/2004/0...ing_setup.html
 
Old 09-12-2005, 08:24 PM   #3
maddmike
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Rep: Reputation: 0
same problem

I have the same problem. Suse9.3 on a Dell Inspiron 600m. It has both wireless and ethernet built-in. Sometimes wireless is eth0, and sometimes it's eth1.

I'm not trying to do any bonding. But I want to make some scripts for the wireless connection. I can't do that if I can't predict whether it's eth0 or eth1... looked at the link above from max_mad, but I don't understand how that controls the eth* naming of the interfaces.

Last edited by maddmike; 09-12-2005 at 08:33 PM.
 
Old 09-12-2005, 11:27 PM   #4
max_mad
LQ Newbie
 
Registered: Sep 2005
Distribution: SuSE Linux 9.3
Posts: 21

Original Poster
Rep: Reputation: 15
renaming

Hi, it looks like you don't need any new bonding-techniques ;-) rather than giving your nic's PERSISTENT_NAMES or give them new names with iftab and ifrename => first posting of mine.

Greetings
 
Old 09-13-2005, 10:07 AM   #5
maddmike
LQ Newbie
 
Registered: Oct 2004
Posts: 8

Rep: Reputation: 0
more help

Where's iftab? Where do you set PERSISTENT_NAME? where's ifrename? I haven't found anything like these commands/files in /etc/sysconfig/network/config. I've tried running iftab and ifrename as root, but that doesn't work.
 
Old 09-13-2005, 04:33 PM   #6
max_mad
LQ Newbie
 
Registered: Sep 2005
Distribution: SuSE Linux 9.3
Posts: 21

Original Poster
Rep: Reputation: 15
Hi,

iftab is similar to fstab: written with an editor. Something like

eth0 mac 00:0a:12:13:14

for all if's
ifrename: look for it with filesearch, Place ifrename -t in the init.d/network if initialisation-section
(setting up network interfaces or something like that)

PERSISTENT_NAME = eth-0 in the ifcfg-eth-macadress1-file in /etc/sysconfig/network

Depends on your Linux-Distri and version.

Not much help for your problem, I guess.
 
  


Reply



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
RHEL 3 ES EtherChannel Bonding Problem frankcheong Linux - Networking 2 05-14-2005 08:36 AM
bonding NIC's mrose1120 Linux - Networking 5 10-04-2004 12:52 PM
NIC Bonding Problem jon3k Linux - Networking 4 08-31-2004 02:36 PM
Redhat 8.0 bonding Problem FragInHell Linux - Networking 0 05-26-2004 01:26 PM
Bonding (trunking) two NIC's fail ScottUT Linux - Networking 0 03-08-2004 10:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:08 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
Open Source Consulting | Domain Registration