LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 10-19-2007, 04:14 PM   #1
Mugsy69
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Rep: Reputation: 0
Losing packets on bonded ethernet channels


I am trying to connect two RHEL4 servers using 3 gige connections. I have the follwing configuration going currently:

modprobe.conf:

alias bond0 bonding
options bond0 mode=0 miimon=100

ifcfg-bond0:

DEVICE=bond0
IPADDR=192.168.2.10
NETWORK=192.168.2.0
NETMASK=255.255.255.0
.
.
.

ifcfg-eth1-3:

DEVICE=eth(n)
MASTER=bond0
SLAVE=yes
.
.
.

The connection comes up fine and successfully transmits over all 3 links in a round-robin fashion. That said, when I connect the machines using a Dell 2724 switch, either with or without Link Aggregation Groups configured, I get balanced transmissions but all packets flow across a single link on the receive side. When I directly connect the two machines I can get the link to setup correctly but only 1 in three packets (as tested using ping) makes it across the link. Or, more correctly, only 1 in three replies make it back across the link. I'm assuming only 1 in three is arriving but that may be a bad assumption on my part.

Is what I'm seeing the expected behavior for this configuration or am I doing something incorrectly? I'd like to have both transmit and receive balanced across all three links.

Thanks in advance for any help.

sps
 
Old 10-19-2007, 06:28 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
You might want to look at mode 6 rather than mode 0. That should eliminate the problem with the switch.
 
Old 10-20-2007, 11:16 PM   #3
Mugsy69
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lazlow View Post
You might want to look at mode 6 rather than mode 0. That should eliminate the problem with the switch.
I'd like to be able to distribute traffic from a single session across all the links. As I understand it mode 6 support distributing multiple sessions across the links but not distributing a single session across multiple links. Also, I'm seeing the same issue with cables directly connected between the machines so I'm thinking the problem isn't in the switch.
 
  


Reply

Tags
bonding, networkconfig


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
network bonding problem in RHEL4 x64 ( packets losing ) Jerais Red Hat 3 05-25-2007 06:55 PM
Wifi Sweex 140 Nitro PCI losing packets whiskeyhunter Linux - Wireless Networking 0 03-15-2007 06:56 PM
BCM4318 native kernel drivers FC6 losing packets Diagmato Linux - Wireless Networking 1 10-29-2006 06:25 AM
capturing ethernet packets shrike_912 Programming 5 08-02-2004 02:46 PM
iptables (netfilter) losing packets! koningshoed Linux - Security 4 06-28-2003 05:09 PM


All times are GMT -5. The time now is 01:05 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration