LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-13-2013, 12:55 AM   #1
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Centos 7 x86_64 , Rocky Linux 8 (aarch64)
Posts: 196

Rep: Reputation: 32
Linux Channel Bonding not working in ARP IP target scenario


Hi,
I am trying to configure Channel bonding on RHEL 5.6 by using arp_ip_target and arp_interval method as suggest by below link
https://blogs.oracle.com/networking/...x_bonding_tips

Below is my configuration files (using eth2 and eth3 )

[root@Tbox network-scripts]# cat ifcfg-bond0
DEVICE=bond0
#BOOTPROTO=static
TYPE=Bonding
ONBOOT=yes

[root@Tbox network-scripts]# cat ifcfg-bond0.117
DEVICE=bond0.117
BOOTPROTO=static
ONBOOT=yes
IPADDR=10.1.17.238
USERCTL=no
NETMASK=255.255.255.0
VLAN=yes
TYPE=Bonding
NETWORK=10.1.17.0
GATEWAY=10.1.17.1

[root@Tbox network-scripts]# cat ifcfg-eth2
DEVICE=eth2
BOOTPROTO=none
TYPE=Ethernet
SLAVE=yes
MASTER=bond0
USERCTL=no
ONBOOT=yes

[root@Tbox network-scripts]# cat ifcfg-eth3
DEVICE=eth3
BOOTPROTO=none
TYPE=Ethernet
SLAVE=yes
MASTER=bond0
USERCTL=no
ONBOOT=yes

# cat /etc/modprobe.conf
…….
……….
alias bond0 bonding
options bonding mode=1 arp_interval=1000 arp_ip_target=10.1.17.1
Below is status of Channel bonding

[root@Tbox network-scripts]# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008)

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth3
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0
ARP Polling Interval (ms): 1000
ARP IP target/s (n.n.n.n form): 10.1.17.1


Slave Interface: eth2
MII Status: down
Link Failure Count: 0
Permanent HW addr: 00:10:18:83:4a:74

Slave Interface: eth3
MII Status: up
Link Failure Count: 0
Permanent HW addr: 00:10:18:83:4a:76



NOW problem is that system does not detect link failure if uplink of eth2 and eth3 switch goes down. However it shift the traffic to other if I manually down one interface like

# ifconfig eth3 down

Why is it not able to detect link failure by using ARP IP target ?

Last edited by LinuxLover; 03-13-2013 at 09:04 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Linux Channel Bonding: active-backup mode rajivdp Linux - Newbie 2 05-17-2011 06:05 AM
Channel Bonding on NICs from 2 different linux machines with RHEL5.5 marifran Linux - Server 3 08-04-2010 08:19 PM
advance linux channel bonding, data replication salimshahzad Linux - Newbie 1 02-24-2010 09:11 AM
Help with channel bonding jaraju Linux - Networking 11 05-05-2005 07:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration