linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Channel Bonding
@ 2003-08-29  0:55 Ross Clarke
  2003-08-29 12:21 ` Jeff Largent
  0 siblings, 1 reply; 3+ messages in thread
From: Ross Clarke @ 2003-08-29  0:55 UTC (permalink / raw)
  To: Linux-Admin

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I am currently trying to get channel bonding working on two of my linux 
machines using a standard 100mbit CNET switch. I first started with my 
desktop which runs 2.6.0-test4, I managed to get everything working 
using 2 NICS (1x 3com 905b and 1x RT8139c). Everything worked 100%. I 
then done the exact same setup on my ftp server which uses 2 tulip based 
network cards and kernel 2.4.20 with the gentoo linux patches, however 
when I ping the ftp server I get a duplicate on every packet, rendering 
the box useless. I then upgraded the ftp server to 2.6.0-test4 and 
recieved the exact same result. Is there something im missing, is it 
perhaps a NIC problem? I would really like to get this working. Does 
anybody have some tips or experiences they could share?

Thanks,
Ross
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla Thunderbird - http://enigmail.mozdev.org

iD8DBQE/TqRt1+7fkD/L8TgRAkjlAJ4/lxueRHxzpKBw1Hd28ehKqYz+dQCfXffh
GlU2eqnAtH4/PZywjNELvu4=
=oxZD
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Channel Bonding
  2003-08-29  0:55 Channel Bonding Ross Clarke
@ 2003-08-29 12:21 ` Jeff Largent
  2003-08-29 17:21   ` Ross Clarke
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Largent @ 2003-08-29 12:21 UTC (permalink / raw)
  To: Ross Clarke; +Cc: linux-admin

This may be a result of your switch.
Some switches cannot handle multiple instaces of the same
mac address.  If your switch is capable of creating vlans,
create 2 vlans and put one of the nics on each channel.

My standard bond configuration looks like this using redhat:
in /etc/modules.conf
alias eth0 3c59x
alias eth1 3c59x
alias bond0 bonding

/etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.1.11
NETMASK=255.255.255.0
GATEWAY=192.168.1.1

/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none

/etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none


Hope this helps.


Ross Clarke wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> I am currently trying to get channel bonding working on two of my linux 
> machines using a standard 100mbit CNET switch. I first started with my 
> desktop which runs 2.6.0-test4, I managed to get everything working 
> using 2 NICS (1x 3com 905b and 1x RT8139c). Everything worked 100%. I 
> then done the exact same setup on my ftp server which uses 2 tulip based 
> network cards and kernel 2.4.20 with the gentoo linux patches, however 
> when I ping the ftp server I get a duplicate on every packet, rendering 
> the box useless. I then upgraded the ftp server to 2.6.0-test4 and 
> recieved the exact same result. Is there something im missing, is it 
> perhaps a NIC problem? I would really like to get this working. Does 
> anybody have some tips or experiences they could share?
> 
> Thanks,
> Ross
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQE/TqRt1+7fkD/L8TgRAkjlAJ4/lxueRHxzpKBw1Hd28ehKqYz+dQCfXffh
> GlU2eqnAtH4/PZywjNELvu4=
> =oxZD
> -----END PGP SIGNATURE-----
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

-- 
Jeff Largent                   ImageLinks, Inc.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Channel Bonding
  2003-08-29 12:21 ` Jeff Largent
@ 2003-08-29 17:21   ` Ross Clarke
  0 siblings, 0 replies; 3+ messages in thread
From: Ross Clarke @ 2003-08-29 17:21 UTC (permalink / raw)
  To: Linux-Admin; +Cc: Jeff Largent

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks for the response. I had suspicions that my switch may be the 
problem, tho it works fine on my desktop machine. The documentation in 
the kernel source tree said for bonding mode 5 I wouldn't need any 
special switch, however, in mode 5 I dont get any response.
Any idea of whether using two switches would make a difference, with one 
NIC per switch? Ill try that later when people are sleeping and wont be 
using any files.

thanks
Ross

Jeff Largent wrote:

| This may be a result of your switch.
| Some switches cannot handle multiple instaces of the same
| mac address.  If your switch is capable of creating vlans,
| create 2 vlans and put one of the nics on each channel.
|
| My standard bond configuration looks like this using redhat:
| in /etc/modules.conf
| alias eth0 3c59x
| alias eth1 3c59x
| alias bond0 bonding
|
| /etc/sysconfig/network-scripts/ifcfg-bond0
| DEVICE=bond0
| ONBOOT=yes
| BOOTPROTO=static
| IPADDR=192.168.1.11
| NETMASK=255.255.255.0
| GATEWAY=192.168.1.1
|
| /etc/sysconfig/network-scripts/ifcfg-eth0
| DEVICE=eth0
| USERCTL=no
| ONBOOT=yes
| MASTER=bond0
| SLAVE=yes
| BOOTPROTO=none
|
| /etc/sysconfig/network-scripts/ifcfg-eth1
| DEVICE=eth1
| USERCTL=no
| ONBOOT=yes
| MASTER=bond0
| SLAVE=yes
| BOOTPROTO=none
|
|
| Hope this helps.
|
|
| Ross Clarke wrote:
|
|> -----BEGIN PGP SIGNED MESSAGE-----
|> Hash: SHA1
|>
|> Hi,
|>
|> I am currently trying to get channel bonding working on two of my linux
|> machines using a standard 100mbit CNET switch. I first started with my
|> desktop which runs 2.6.0-test4, I managed to get everything working
|> using 2 NICS (1x 3com 905b and 1x RT8139c). Everything worked 100%. I
|> then done the exact same setup on my ftp server which uses 2 tulip based
|> network cards and kernel 2.4.20 with the gentoo linux patches, however
|> when I ping the ftp server I get a duplicate on every packet, rendering
|> the box useless. I then upgraded the ftp server to 2.6.0-test4 and
|> recieved the exact same result. Is there something im missing, is it
|> perhaps a NIC problem? I would really like to get this working. Does
|> anybody have some tips or experiences they could share?
|>
|> Thanks,
|> Ross
|> -----BEGIN PGP SIGNATURE-----
|> Version: GnuPG v1.2.2 (GNU/Linux)
|> Comment: Using GnuPG with Mozilla Thunderbird - 
http://enigmail.mozdev.org
|>
|> iD8DBQE/TqRt1+7fkD/L8TgRAkjlAJ4/lxueRHxzpKBw1Hd28ehKqYz+dQCfXffh
|> GlU2eqnAtH4/PZywjNELvu4=
|> =oxZD
|> -----END PGP SIGNATURE-----
|>
|>
|> -
|> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
|> the body of a message to majordomo@vger.kernel.org
|> More majordomo info at  http://vger.kernel.org/majordomo-info.html
|>
|>
|
| --
| Jeff Largent                   ImageLinks, Inc.
|
|

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla Thunderbird - http://enigmail.mozdev.org

iD8DBQE/T4t/1+7fkD/L8TgRAnwzAJ9FQM9HwY5M2rWVfs6wRjke6shXxACffllj
oz0qFAH33WGxwwzWEa21T50=
=m4qE
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-08-29 17:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-29  0:55 Channel Bonding Ross Clarke
2003-08-29 12:21 ` Jeff Largent
2003-08-29 17:21   ` Ross Clarke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).