- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Not configuring Bond0 but appears in ifconfig repo...
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
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
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
тАО01-29-2010 11:15 AM
тАО01-29-2010 11:15 AM
Thank you.....
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2010 02:09 AM
тАО01-30-2010 02:09 AM
Re: Not configuring Bond0 but appears in ifconfig report?
/etc/sysconfig/network-scripts/ifcfg-bond0
and
/etc/sysconfig/network-scripts/ifcfg-bond1
and do
service network stop
srvice network start
and than check
also you can do it by using
#neat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2010 09:22 AM
тАО01-30-2010 09:22 AM
Re: Not configuring Bond0 but appears in ifconfig report?
When server boots where does it looks for bonding information other than in /etc/sysconfig/network-scripts?
Advance thank you for the help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2010 03:15 AM
тАО01-31-2010 03:15 AM
SolutionThere is a max_bonds=N option for the bonding module. If you specify you want to create N bonds, the module would auto-create bonding interfaces from bond0 to bond(N-1), inclusive. So bond1 cannot exist before bond0 does, and bond2 cannot exist before bond1.
When you configure network interfaces with RedHat configuration tools (kickstart, system-config-network, etc.), those tools will automatically insert the proper option lines for the bonding module to /etc/modprobe.conf for you.
The same naming algorithm is used by the kernel to assign default names for real NICs: the first NIC detected will always be eth0, the next eth1, and so on. However, the "nameif" command can be used to change these names.
Most modern distributions include built-in scripting (either udev-based or included in the network configuration scripts) to save the MAC addresses of each detected NIC and keep the same ethX name assigned to it persistently.
In theory, you could set max_bonds=2 to allocate just bond0 and bond1, then re-name them to bond1 and bond2 before using them... but the nameif command requires you to identify the interface to be renamed by the MAC address, and an unconfigured bonding interface does not *have* a unique MAC address. Also, an interface must not be configured while it's being renamed. Making such a configuration work might be more trouble than it's worth.
If you have a 4-port Ethernet card, and you use only 3 ports of it, the remaining 4th port will also be visible in the "ifconfig -a" listing, and you cannot easily remove it. If some hardware monitoring application sees an unconfigured bond/NIC as an error, a better solution would be to find out how to configure that application to ignore the unconfigured NIC.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2010 06:46 AM
тАО01-31-2010 06:46 AM
Re: Not configuring Bond0 but appears in ifconfig report?
My question to you is, so if unconfigured bond0 definition appears in ifconfig -a output, can that be used for infiniband bonding?
Thank you...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2010 09:11 AM
тАО01-31-2010 09:11 AM
Re: Not configuring Bond0 but appears in ifconfig report?
However, the bonding.txt in Linux kernel documentation seems to say that basic Infiniband failover support is there:
http://www.mjmwired.net/kernel/Documentation/networking/bonding.txt
-----
2. What type of cards will work with it?
[...]
Starting with version 3.2.1, bonding also supports Infiniband slaves in active-backup mode.
-----
Use "modinfo bonding | grep version" to see the version number of the bonding driver.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2010 11:18 AM
тАО02-02-2010 11:18 AM
Re: Not configuring Bond0 but appears in ifconfig report?
Thank you for the response. I am not sure the type of card Infiniband uses. Even I am new to this place and Infiniband.
Is there a way to remove unconfigured bond0? Even though bond0 definition doesn't exist in network-scripts or modprobe, is there any command to remove bond0?
Thank you in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2010 01:36 PM
тАО04-15-2010 01:36 PM
Re: Not configuring Bond0 but appears in ifconfig report?
did you have any luck with this bond0?
I'm in the same situation I remove the ifcfg-bond0 and the entry on modprobe.conf
and network restart but
bond0 is still there
any way to remove it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2010 01:46 PM
тАО04-15-2010 01:46 PM
Re: Not configuring Bond0 but appears in ifconfig report?
I just fixed it
you know I removed ifcfg-bond0 and the entry on modprobe.conf and restarted network services which did not remove the bond on ifconfig command neither ip addr list
since I had ifcfg-eth3
I copied cp ifcfg-eth3 ifcfg-bond0
after that nano ifcfg-bond0
DEVICE=bond0
and remove any MAC address assigned to eth3
save changes
restart network services and DONE :)
I hope it works for you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2010 04:35 AM
тАО04-16-2010 04:35 AM
Re: Not configuring Bond0 but appears in ifconfig report?
Thank you for the update, sorry I didn't check my emails yesterday. Anyways, the work around for me is as follows:
echo -bond0 > /sys/class/net/bonding_masters
That worked for me.
Thank you