- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- bonding mode=1 switch port flapping when idle
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
тАО06-15-2010 07:45 AM
тАО06-15-2010 07:45 AM
Last night while the server was idle my network admin noticed port flapping errors on the switch.
Once the traffic to the server picked up, the messages stopped.
Nothing special configured.
RHEL 5.3
alias bond0 bonding
options bond0 miimon=100 mode=1
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2010 07:47 AM
тАО06-15-2010 07:47 AM
SolutionFirst time I've seen this. I didn't choose mode=1 last time I bonded.
What kind of switch are we talking about? Another mode might alleviate the issue if the switch admin cares.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2010 07:54 AM
тАО06-15-2010 07:54 AM
Re: bonding mode=1 switch port flapping when idle
Cisco something or other.. ( will find out ).
Currently we are connected to a single switch and could do mode 6, but in a week or two these connections will be on separate switches and hence the need for active/backup mode 1.
The messages only occured last night while the connecitons were idle. I have no message log entries that the slaves were flip-flopping back and forth so I am guessing it had something to do with the miimon ( but that is suppose to only check for link up/down ).
I was looking at the fail_over_mac settings but the version support for that is not mainstream yet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2010 08:52 AM
тАО06-15-2010 08:52 AM
Re: bonding mode=1 switch port flapping when idle
There is not a lot you can do other than perhaps configure it active/active, which would probably end the mode switch. If the switch supports it this would result in an 80% increase in overall band width. Sometimes with Cisco, switch configuration must be changed to support channel bonding active-active. Results also depend on type of NIC. I've had good results with Intel NIC, explosive results with broadcomm, though people say broadcomm is better now.
This is really interesting. Please keep us up to date.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2010 06:22 AM
тАО06-16-2010 06:22 AM
Re: bonding mode=1 switch port flapping when idle
snocvnaesb01@root:/root # ifconfig
bond0 Link encap:Ethernet HWaddr D8:D3:85:E0:87:04
inet addr:xxx.xxx.xxx.xxx
Bcast:xxx.xxx.xxx.0 Mask:255.255.255.0
inet6 addr: fe80::dad3:85ff:fee0:8704/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:1556400 errors:0 dropped:0 overruns:0 frame:0
TX packets:2797 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:156275046 (149.0 MiB) TX bytes:682678 (666.6 KiB)
eth0 Link encap:Ethernet HWaddr D8:D3:85:E0:87:04
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:779420 errors:0 dropped:0 overruns:0 frame:0
TX packets:2795 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:78273410 (74.6 MiB) TX bytes:682520 (666.5 KiB)
Interrupt:130 Memory:f8000000-f8012100
eth1 Link encap:Ethernet HWaddr D8:D3:85:E0:87:04
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:776980 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:78001636 (74.3 MiB) TX bytes:158 (158.0 b)
Interrupt:138 Memory:f6000000-f6012100
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1880 errors:0 dropped:0 overruns:0 frame:0
TX packets:1880 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4631101 (4.4 MiB) TX bytes:4631101 (4.4 MiB)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2010 06:29 AM
тАО06-16-2010 06:29 AM
Re: bonding mode=1 switch port flapping when idle
I added the downdelay, updelay and primary= entries after reading some old threads about bonding defaulting to round-robin / not taking the options even though /proc/net/bonding/bond0 says it is correct.
alias bond0 bonding
options bonding mode=1 miimon=100 downdelay=200 updelay=200 max_bonds=1 primary=eth0
Also rebooted.
There just might be some bug in bonding but if I am the only one having the issue then maybe it was the way I enabled it.
e.g. edit modprobe.conf then "service network restart" instead of rebooting ? dunno