Networking Forums

Networking Forums > Computer Networking > Linux Networking > Help w/ NIC bonding - 2 Cat 5 direct connections, XP/ANS one end, FC3/bond other end

Reply
Thread Tools Display Modes

Help w/ NIC bonding - 2 Cat 5 direct connections, XP/ANS one end, FC3/bond other end

 
 
Joe Breher's spam blocker
Guest
Posts: n/a

 
      09-29-2006, 11:44 PM
OK ,so I am trying to increase the throughput of an Ethernet connection past
what can be had with a single GbE link.

One machine is running XP Pro SP2. It has an Intel PRO/1000 MT Dual Server
adapter that I am using for the 'fat pipe', along with Intel's most recent
(dl'd yesterday) ANS driver and configuration utilities. This machine also
has another Ethernet port used for internet and network access, but not part
of this exercise.

The other box is running Fedora Core 3, with a 2.6.11.6 kernel from
kernel.org. There are 2 GbE ports on this box, both integrated on the mobo,
via the same 82546 Ethernet Controller chip as in the NIC in the XP machine.
A check makes me believe I have all the necessary SW installed: mii,
bonding, ifenslave, etc.

The two machines are directly connected with two Ethernet cables - no
switch.

On the XP system, right clicking on an adapter in Device Manager brings up a
nice GUI to configure teaming (Intel-speak for bonding):

Teaming tab
Teaming options currently set to Do not team this adapter -> change to ->
Team with other adapters
> New Team

name - team0
Select -> both Intel PRO/1000 ports
Mode -> Adaptive Load Balancing
team0 - 192.168.10.2

On linux box:
cat ifcfg-eth0:
DEVICE=eth0
MTU=9014
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none

cat ifcfg-eth1:
DEVICE=eth1
MTU=9014
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none

cat ifcfg-bond0:
DEVICE=bond0
IPADDR=192.168.10.1
MTU=9014
NETMASK=255.255.255.0
NETWORK=192.168.10.0
BROADCAST=192.168.10.255
ONBOOT=yes
BOOTPROTO=none
USERCTL=no

cat modprobe | grep bond:
alias bond0 bonding
options bond0 mode=balance-alb miimon=100

service network restart

However, I cannot ping from one machine to the other - either direction.

The XP GUI indicates all is well with the virtual adapter team0.

/proc/net/bonding/bond0 shows what I would expect, as outlined in
/usr/src/linux/Documentation/net/bonding.txt
as does ifconfig, and lsmod.

Ethereal/Wireshark shows packets are arriving on the virtual adapters team0
(XP end) and bond0 (FC3 end). Recall that these mus be arriving from the
bonded adapters on the other machine, as the cables are directly connected
between the two machines.

I'm already over my head - never tried this fat pipe stuff before. Can
anyone lend a hand? Suggest things to check?

TIA


 
Reply With Quote
 
 
 
 
joseph2k
Guest
Posts: n/a

 
      10-01-2006, 01:09 PM
Joe Breher's spam blocker wrote:

> OK ,so I am trying to increase the throughput of an Ethernet connection
> past what can be had with a single GbE link.
>
> One machine is running XP Pro SP2. It has an Intel PRO/1000 MT Dual Server
> adapter that I am using for the 'fat pipe', along with Intel's most recent
> (dl'd yesterday) ANS driver and configuration utilities. This machine also
> has another Ethernet port used for internet and network access, but not
> part of this exercise.
>
> The other box is running Fedora Core 3, with a 2.6.11.6 kernel from
> kernel.org. There are 2 GbE ports on this box, both integrated on the
> mobo, via the same 82546 Ethernet Controller chip as in the NIC in the XP
> machine. A check makes me believe I have all the necessary SW installed:
> mii, bonding, ifenslave, etc.
>
> The two machines are directly connected with two Ethernet cables - no
> switch.
>
> On the XP system, right clicking on an adapter in Device Manager brings up
> a nice GUI to configure teaming (Intel-speak for bonding):
>
> Teaming tab
> Teaming options currently set to Do not team this adapter -> change to ->
> Team with other adapters
>> New Team

> name - team0
> Select -> both Intel PRO/1000 ports
> Mode -> Adaptive Load Balancing
> team0 - 192.168.10.2
>
> On linux box:
> cat ifcfg-eth0:
> DEVICE=eth0
> MTU=9014
> USERCTL=no
> ONBOOT=yes
> MASTER=bond0
> SLAVE=yes

here
> BOOTPROTO=none
>
> cat ifcfg-eth1:
> DEVICE=eth1
> MTU=9014
> USERCTL=no
> ONBOOT=yes
> MASTER=bond0
> SLAVE=yes

and here
> BOOTPROTO=none
>
> cat ifcfg-bond0:
> DEVICE=bond0
> IPADDR=192.168.10.1
> MTU=9014
> NETMASK=255.255.255.0
> NETWORK=192.168.10.0
> BROADCAST=192.168.10.255
> ONBOOT=yes
> BOOTPROTO=none
> USERCTL=no
>
> cat modprobe | grep bond:
> alias bond0 bonding
> options bond0 mode=balance-alb miimon=100
>
> service network restart
>
> However, I cannot ping from one machine to the other - either direction.
>
> The XP GUI indicates all is well with the virtual adapter team0.
>
> /proc/net/bonding/bond0 shows what I would expect, as outlined in
> /usr/src/linux/Documentation/net/bonding.txt
> as does ifconfig, and lsmod.
>
> Ethereal/Wireshark shows packets are arriving on the virtual adapters
> team0 (XP end) and bond0 (FC3 end). Recall that these mus be arriving from
> the bonded adapters on the other machine, as the cables are directly
> connected between the two machines.
>
> I'm already over my head - never tried this fat pipe stuff before. Can
> anyone lend a hand? Suggest things to check?
>
> TIA


Just a wild guess but i do not think that you should mark both cards as
slave on the linux end. Not that i know beans about bonding.

--
JosephKK
Gegen dummheit kampfen die Gotter Selbst, vergebens.Â*Â*
--Schiller
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bonding internet connections derSchweiz Linux Networking 0 04-30-2006 07:17 AM
2 seperate DSL connections / bonding / load balanice Chad Linux Networking 2 02-07-2005 03:54 PM
Network cards that work with bonding ( bond interface ) for HA noone Linux Networking 1 11-11-2004 02:34 PM
Network cards that work with bonding ( bond interface ) noone Linux Networking 0 11-11-2004 10:47 AM
BONDING 2 INTERNET CONNECTIONS Avi Linux Networking 6 12-03-2003 09:57 PM



1 2 3 4 5 6 7 8 9 10 11