Network Bonding Issue

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Network Bonding Issue
# 1  
Old 09-13-2015
RedHat Network Bonding Issue

I have one production system where my customized application runs.The applications require seamless network connectivity with different machines connected in LAN and WAN. As these applications are very critical, it is very much required to have a seamless network activity.The applications are running on Red Hat Enterprise Linux server release 5.9 Kernel version is 2.6.18.
I have 2 Ethernet port in my application server machine and these 2 ports are bonded using bonding utility of Linux.These 2 ports can be pinged by a single IP.
In bonding configuration I have used Adaptive Load Balancing. Recently I have tested for seamless activity of the applications in production system and found the following.
  1. When I remove LAN A (Physically) from switch I am not losing any ping packet drop.
  2. When I reconnect the LAN A again I am having 7 ping packet drop enough to disconnect logical path formed by customized application running on server.
The same is true for LAN B also.
In order to have seamless load sharing activity bonding is used but it is not performing as desired.
Can any body help me to troubleshoot the same?

Last edited by rbatte1; 09-14-2015 at 01:07 PM.. Reason: Converted to formatted list rather than plain text
# 2  
Old 09-13-2015
What you are describing can be caused by the network switch and not the Linux setup. Are these network cables both plugged into the same switch? Or different switches? Please explain.

What make/type of switch(es) is it? Are they managed switches? Have they been configured for bonding?

---------- Post updated at 12:03 PM ---------- Previous update was at 11:18 AM ----------

Link Aggregation on a RedHat (CentOS) server and a Cisco Catalyst switch - Charles Hooper
# 3  
Old 09-14-2015
They are in separate switches.These network cables are plugged from different switches.Switches are made of Cisco Catalyst 3640.They are managed switches.
What are the configuration that needs to be checked in these switches to verify whether they are properly configured for Linux bonding or not?Can u guide me on this?
I have the following configuration made for bonding.

ifconfig of bond0

Code:
# Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet PCIe
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
NETMASK=X.X.X.X
IPADDR=Y.Y.Y.Y
GATEWAY=Z.Z.Z.Z
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes

Ifconfig of eth0
# Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet PCIe
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
HWADDR=aa:bb:cc:dd:ee:ff
MASTER=bond0
SLAVE=yes
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes

Ifconfig of eth1
# Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet PCIe
DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
HWADDR=ii.jj.kk.ll.mm.nn
TYPE=Ethernet
MASTER=bond0
SLAVE=yes
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes

---------- Post updated 09-14-15 at 12:54 AM ---------- Previous update was 09-13-15 at 01:20 PM ----------

Is there any hint can you give seeing my above reply?

Last edited by Don Cragun; 09-14-2015 at 03:14 AM.. Reason: Add CODE and ICODE tags.
# 4  
Old 09-14-2015
Moderator's Comments:
Mod Comment Continued refusal to used CODE tags as required by forum rules will lead to you being banned from this site.

Do Not expect the volunteers trying to help you here to respond to your posts immediately. Bumping up posts isn't allowed either.

You have been placed in read-only mode for one day. Please use this time to review the rules you agreed to when you joined this forum.
This User Gave Thanks to Don Cragun For This Post:
# 5  
Old 09-14-2015
Hmmmm.....I'm not sure but a quick search on the web seems to indicate that you need to configure things differently if you are connecting to two different switches.

See this:
networking - Link bonding across multiple switches? - Server Fault

Perhaps you'll get more knowledgeable responses from others on this forum.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Why inactive slave bonding received network package in redhat?

bond0 active in eth0 and inactive in eth4. why eth4 received network package? Bonding Mode: fault-tolerance (active-backup) Primary Slave: eth0 (primary_reselect failure) Currently Active Slave: eth0 MII Status: up MII Polling Interval (ms): 100 Up Delay (ms): 0 Down Delay (ms): 0 ... (4 Replies)
Discussion started by: samran35
4 Replies

2. Linux

Issue in Bonding during Reboot(Linux)

Respected Members, We encountered an issue during node reboot when eth1 and eth5 of bond1 were behaving unusual(both eth1 and eth5 were in unknown states and ifdown and ifup were used to rectify). Please find the messages and configuration files as below and please let me know for any other... (0 Replies)
Discussion started by: Mudit Bansal
0 Replies

3. Red Hat

Network bonding

Dear All , Very recently we have configured Network bonding in our Linux Server Redhat Linux 5.x. After configuring , we restarted the network services , the link was down after that , we could not login in to the Server. So after that , we logged in to console and tried to... (2 Replies)
Discussion started by: jegaraman
2 Replies

4. Red Hat

Network issue in same vlan

We have two hosts in same vlan with same route rules. One of them is not able to connect to an outside IP while in another I get "failed: Connection timed out" while testing the connectivity through netcat. I have tried mtr /traceroute and it gives me the same results. Is there a netcat... (1 Reply)
Discussion started by: jacki
1 Replies

5. IP Networking

Is bond0 ready and a bonding interface? - 4G Bonding Router Problems (RPI)

HI all, First post on the forum, and my first proper project on the Paspberry Pi, so sorry if this is in the wrong place. I am trying to turn my Pi in to a 3G/4G Bonding router. I have been researching and trying this for a week or so now. The basic plan is to have up to 6 ZTE MF823 USB... (0 Replies)
Discussion started by: elliottlc
0 Replies

6. Red Hat

BONDING with Flapping issue!

Hi team, I'm running into a problem configuring bonding on an CentOS 64bit on DELL Server. I'm connecting eth0 and eth1 to a Cisco 2948 (CatOS 8.1(3)) and receiving flapping notices. The ethernet address is that of the primary interface. I have tried several different modes,... (3 Replies)
Discussion started by: leo_ultra_leo
3 Replies

7. IP Networking

Channel bonding Issue - Bond0 interface not getting up in on RHEL6

Hello, I am trying to set up Channel Bonding on a RHEL6 Virtual Box VM. I have 2 ethernet cards on the machine which are set up in Internal Network mode. I followed all the steps exactly as mentioned in the RHEL6 deployment Guide, but for some reason i think results are not correct. Here are my... (13 Replies)
Discussion started by: Rohit Bhanot
13 Replies

8. Red Hat

VM network issue

Hi, I'm trying to create a lab environment in my personal laptop. I have created a virtualbox RHEL6.1 and I want to make another copy out of it to make it 4 instances by simply copying the whole folder and changing their name and then changing their IP addresses. is this OK? please advice. for... (2 Replies)
Discussion started by: messi777
2 Replies

9. Solaris

Zone network issue

Hi guys, I got a global zone with with two zones runnig. After a patch upgrade (July 2010) one of them stop to working fine: basically I can't ping it ( I mean I can ping from the other zone, but actually the ping pass across the global zone..) and I can't access it in ssh or telnet...(actually... (0 Replies)
Discussion started by: cecco16
0 Replies

10. Ubuntu

Network issue

I have a Ubuntu linux (Ubuntu 6.06) at home. I have a ADSL modem (eth0) connected to it for my Broadband connection. It all works fine when the system gets started. But, when I receive a call, the link goes off. And then I lose my internet connection. I tried ifup/ifdown to bring the connection... (2 Replies)
Discussion started by: ranj@chn
2 Replies
Login or Register to Ask a Question