Networking Forums

Networking Forums > Computer Networking > Linux Networking > multiple bonds and specific settings (primary, mode...)

Reply
Thread Tools Display Modes

multiple bonds and specific settings (primary, mode...)

 
 
Richard
Guest
Posts: n/a

 
      04-27-2005, 01:23 PM
Hello,

I have a problem with selecting different primary
devices for active-backup-mode with multiple bonds:

/etc/modprobe.conf
alias eth0 e1000
alias eth1 e1000
alias eth2 e1000
alias eth3 e1000
alias eth4 e1000
alias eth5 e1000
alias eth6 tg3
alias eth7 tg3
options e1000 Speed=100,100,1000,1000,1000,1000
Duplex=2,2,2,2,2,2
alias scsi_hostadapter cciss
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias bond0 bonding
#options bond0 -o bonding0 primary=eth2 miimon=100
mode=1 max_bonds=3
#options bond0 miimon=100 mode=1 primary=eth2
options bond0 miimon=100 mode=1 max_bonds=3 primary=eth2
alias bond1 bonding
options bond1 -o bonding1 primary=eth4 miimon=100 mode=1
alias bond2 bonding
options bond2 -o bonding2 primary=eth5 miimon=100 mode=1

cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v2.6.0 (January 14, 2004)

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: eth2
Currently Active Slave: eth2
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth2
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:11:0a:53:66:98

cat /proc/net/bonding/bond1
Ethernet Channel Bonding Driver: v2.6.0 (January 14, 2004)

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: eth2
Currently Active Slave: eth4
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth4
MII Status: up
Link Failure Count: 2
Permanent HW addr: 00:11:0a:53:64:92

cat /proc/net/bonding/bond2
Ethernet Channel Bonding Driver: v2.6.0 (January 14, 2004)

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: eth2
Currently Active Slave: eth5
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth5
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:11:0a:53:64:93

The primary slave is always the same device (eth2) but
this is only available for bond0.

The same happens with parameter mode. The first setting
(e.g. module load) of arbitrary parameters is used the for
all successive bonding devices.

BTW, whats the correct notation:
options bond1 -o bonding1 primary=eth4 miimon=100 mode=1
or
options bond1 -o bond1 primary=eth4 miimon=100 mode=1

I have seen both...

I'm using RedHat4 (Kernel 2.6.9-5.0.5.ELsmp)

René
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to route through specific ip in Multiple IP on one NIC scenari Valdas Adomaitis Windows Networking 2 01-06-2010 09:13 PM
Having DCOM using a specific network route when multiple are avail Phil Windows Networking 1 11-23-2008 04:43 PM
MN-700 in Access Point Mode: Use Specific IP Address? Clay Johanson Broadband Hardware 1 03-12-2006 04:20 AM
How to automatically configure the Network settings of a specific LAN card from Static IP to Obtain IP through DHCP or vice versa? Marco Windows Networking 3 08-20-2004 06:48 PM
How to automatically configure the Network settings of a specific LAN card from Static IP to Obtain IP through DHCP or vice versa? Marco Windows Networking 3 08-20-2004 06:48 PM



1 2 3 4 5 6 7 8 9 10 11