HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- 2 Bonding Channels - How to get Each bonding Optio...
Operating System - Linux
1826631
Members
3671
Online
109695
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2011 01:53 PM
03-11-2011 01:53 PM
I have 4 GigE NICs on our test CLuster Environment (KVM/RHCS/GFS2).
The 1st bond (bond0) I want to set in normal Active-backup mode (as the main "public" interface). The network links go to a dual Switch Infrastructure.
The 2nd bond (bond1) - Iwant to be trunked for increased bandwidth. The network links are via Cross-over cable (no switch).
I cannot seem to make it work so each bond interace will have aa different bonding option. Both bond0 and bond1 reports to be active-failover. Below is my modprobe.conf entries.
alias bond0 bonding
alias bond1 bonding
# The first Bonded Pair - GPN
options bond0 mode=active-backup
options bond0 miimon=100
options bond0 primary=eth0
# The 2nd Bonded Pair - GPN
options bond1 mode=balance-alb
options bond1 miimon=100
options bond1 primary=eth2
Anything I am missing?
TIA!
The 1st bond (bond0) I want to set in normal Active-backup mode (as the main "public" interface). The network links go to a dual Switch Infrastructure.
The 2nd bond (bond1) - Iwant to be trunked for increased bandwidth. The network links are via Cross-over cable (no switch).
I cannot seem to make it work so each bond interace will have aa different bonding option. Both bond0 and bond1 reports to be active-failover. Below is my modprobe.conf entries.
alias bond0 bonding
alias bond1 bonding
# The first Bonded Pair - GPN
options bond0 mode=active-backup
options bond0 miimon=100
options bond0 primary=eth0
# The 2nd Bonded Pair - GPN
options bond1 mode=balance-alb
options bond1 miimon=100
options bond1 primary=eth2
Anything I am missing?
TIA!
Hakuna Matata.
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2011 07:12 AM
03-12-2011 07:12 AM
Solution
In RHEL 5 and later, you should put the bonding options into BONDING_OPTS= line in the respective /etc/sysconfig/network-scripts/ifcfg-bond* files.
In other words, remove the "options bond*" lines from your modprobe.conf, and add
BONDING_OPTS="mode=active-backup miimon=100 primary=eth0"
to /etc/sysconfig/network-scripts/ifcfg-bond0, and
BONDING_OPTS="mode=balance-alb miimon=100 primary=eth2"
to /etc/sysconfig/network-scripts/ifcfg-bond1.
MK
In other words, remove the "options bond*" lines from your modprobe.conf, and add
BONDING_OPTS="mode=active-backup miimon=100 primary=eth0"
to /etc/sysconfig/network-scripts/ifcfg-bond0, and
BONDING_OPTS="mode=balance-alb miimon=100 primary=eth2"
to /etc/sysconfig/network-scripts/ifcfg-bond1.
MK
MK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP