- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: using multiple NFT bonds on RHEL4 with prefere...
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
02-24-2007 01:31 AM
02-24-2007 01:31 AM
using multiple NFT bonds on RHEL4 with preference
I need to configure two NFT bonds on my BL45p servers using 2 NICs for each bond. I cannot set preference on my bonds (I can't set primary NIC for my NFT)and by default, the primary interface is eth0 or eth 2. I can't change it in any way (even when I bond eth1 and eth2 together, primary NIC is eth2 !!).
Does anyone have any idea.
Regards-Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2007 12:04 AM
02-26-2007 12:04 AM
Re: using multiple NFT bonds on RHEL4 with preference
/sbin/insmod bonding primary=eth0
You can also set it in modprobe.conf:
alias bond0 bonding
options bonding miimon=100 mode=1 primary=eth0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2007 06:32 PM
02-26-2007 06:32 PM
Re: using multiple NFT bonds on RHEL4 with preference
I've tried the method you mentioned many times, but it doesn't work when I create more than one bond on my server. I think this may be a bug!
Any further help would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2007 11:39 PM
02-26-2007 11:39 PM
Re: using multiple NFT bonds on RHEL4 with preference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2007 12:02 AM
02-27-2007 12:02 AM
Re: using multiple NFT bonds on RHEL4 with preference
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1010194
Maybe the max_bonds helps you also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2007 05:29 AM
02-27-2007 05:29 AM
Re: using multiple NFT bonds on RHEL4 with preference
#######
install bond0 /sbin/modprobe -a eth0 eth1 && /sbin/modprobe bonding
alias bond0 bonding
install bond1 /sbin/modprobe -a eth2 eth3 && /sbin/modprobe bonding
alias bond1 bonding
options bonding miimon=100 primary=eth0 mode=1 max_bonds=2
alias eth0 bcm5700
alias eth1 bcm5700
alias eth2 bcm5700
alias eth3 bcm5700
########
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2007 06:20 AM
02-27-2007 06:20 AM
Re: using multiple NFT bonds on RHEL4 with preference
cat /etc/modprobe.conf:
alias bond0 bonding
options bond0 miimon=100 primary=eth0 mode=1 max_bonds=2
alias bond1 bonding
options bond1 miimon=100 primary=eth0 mode=1 max_bonds=2
cat /etc/sysconfig/network-scripts/ifcfg-ethX
DEVICE=ethX
USRCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
If that does not works, try this:
cat /etc/modprobe.conf:
alias bond0 bonding
alias bond1 bonding
Set the module options in the bond interface configig file.
cat /etc/sysconfig/network-scripts/ifcfg-bond
DEVICE=bond
BOOTPROTO=static
BROADCAST=172.16.0.255
IPADDR=172.16.0.1
NETMASK=255.255.255.0
NETWORK=172.16.0.0
ONBOOT=yes
BONDING_MODULE_OPTS='miimon=100 mode=1 primary=eth0'