Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-30-2010, 03:56 AM
|
#1
|
|
Member
Registered: Mar 2006
Location: INDIA
Distribution: RedHat, SuSE, Debian
Posts: 156
Rep:
|
Bonding not able to sense Uplink failure in switches..
Hi
My query is how do I configure bonding so that it can sense Uplink 1 failure in switch 1 and failover to switch 2 on which Uplink 2 is coming.
Here I have two HP L2 Procure Switches on which two network backend Uplink is connected.
I did the bonding configuration on the bases of arp request.
My configuration of modprobe.conf file was like this
alias bond0 bonding
options bond0 mode=0 arp_interval=100 arp_ip_target=192.168.1.1
the above options woked fine it sense uplink failure and failover the connectivity to switch 2 and vice versa. But this configuration had drawback that I was not able to take putty of this server although I was able to ping the 192.168.1.1 gateway from this server. I ran the tcpdump for figure out on both interface eth0 and eth1 I found first it sent ICMP packet from eth0 and second time from eth1.
Thus I changed mode=0 to mode=1 for dedicated interface I tried the failover testing of uplink again but this time it was successfully able to failover to eth1 to eth0 but not able to failback from eth0 to eth1. So how do I resolve this problem which can detect Network Uplink failiure of backend network.
Thanks & Regards
CJ
|
|
|
|
01-30-2010, 07:33 AM
|
#2
|
|
Senior Member
Registered: Aug 2009
Posts: 3,497
|
Can your switches be configured redundantly ? .. that would be my first choice. I'd let the switches deal with link failures upstream and use bonding to handle local link or switch failures
cheers
|
|
|
|
01-30-2010, 10:37 PM
|
#3
|
|
Member
Registered: Mar 2006
Location: INDIA
Distribution: RedHat, SuSE, Debian
Posts: 156
Original Poster
Rep:
|
Do You think If I asked my Network Administrator to activate the STP and local loop on my local L3 switches would this will help..?
Thx & RGD
CJ
|
|
|
|
01-31-2010, 03:28 PM
|
#4
|
|
Senior Member
Registered: Aug 2009
Posts: 3,497
|
STP would most likely be on already.. but that doesn't mean the network is configured for redundancy, may be worth asking ...
|
|
|
|
02-01-2010, 01:45 PM
|
#5
|
|
Member
Registered: Mar 2006
Location: INDIA
Distribution: RedHat, SuSE, Debian
Posts: 156
Original Poster
Rep:
|
No STP is not enable on backend network thus I am compelled to implement my solution. I tried it and check again the Uplink failure on my HP procure switches, now it is working fine with mode=1 also there was some mess up with network cables with switch while testing anyway... now it is ok. But my query is I have implemented on one server but what will happen if I implement this configuration on my 18 servers will this arp configuration creates flood on network. Say if I put 100 ms in arp_interval in modprobe.conf file.
|
|
|
|
02-01-2010, 03:41 PM
|
#6
|
|
Senior Member
Registered: Aug 2009
Posts: 3,497
|
If you run tcpdump or wireshark and filter on arp packets you should be able to estimate the amount of traffic generated by one machine with this configuration. Then simply multiply by 18 and decide whether this is an acceptable amount of overhead/traffic for your network.
cheers
|
|
|
|
02-02-2010, 03:12 AM
|
#7
|
|
Member
Registered: Mar 2006
Location: INDIA
Distribution: RedHat, SuSE, Debian
Posts: 156
Original Poster
Rep:
|
Thanks I have checked from tcpdump but ironacily if i run tcpdump from node A it shows me another node B arp request to gateway and if i run from node B it shows me information of arp of node A. Why it is showing this why it don't show me arp information of the server on which i m sitting and executed tcpdump.
Rgd CJ
|
|
|
|
02-02-2010, 03:07 PM
|
#8
|
|
Senior Member
Registered: Aug 2009
Posts: 3,497
|
You should see any arp traffic for hosts that are in your broadcast domain, but you'll only see gratuitous arps when your link fails over so you may need to pull one of the cables. You will see normal arp requests when your machine is initiating a connection over the network to another machine and that machine has not been connected to recently ( arp cache entry has expired/been deleted ).
cheers
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:03 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|