PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > ethernet bonding and interface speed
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

ethernet bonding and interface speed

Réponse
 
LinkBack Outils de la discussion
Vieux 23/02/2007, 11h30   #1
Birju Prajapati
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut ethernet bonding and interface speed

Hi,
I have two network cards that are both displaying as such:

dbadmin@livedb:~$ sudo mii-tool
eth0: no autonegotiation, 100baseTx-HD, link ok
eth1: no autonegotiation, 100baseTx-HD, link ok

I have bonded them in modprope.d as such:

alias bond0 bonding
options bonding mode=0 miimon=100 downdelay=200 updelay=200

However the bonded interface is only 10Meg Half duplex:

dbadmin@livedb:~$ sudo mii-tool bond0
bond0: 10 Mbit, half duplex, link ok

Why is this? Is it safe to use 'ethtool -s' to increase the speed of
the bonded interface? I don't want it to crash as the server is hosted
elsewhere and would involve a long trip to fix!

Thanks in advance,
Birju

FYI:

dbadmin@livedb:~$ /sbin/ifconfig
bond0 Link encap:Ethernet HWaddr 00:16:35:82:6F:B2
inet addr:10.114.1.2 Bcast:10.114.255.255 Mask:255.255.0.0
inet6 addr: fe80::216:35ff:fe82:6fb2/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:2015931 errors:0 dropped:0 overruns:0 frame:0
TX packets:16802 errors:36 dropped:0 overruns:0 carrier:36
collisions:482 txqueuelen:0
RX bytes:141796056 (135.2 MiB) TX bytes:2176740 (2.0 MiB)

eth0 Link encap:Ethernet HWaddr 00:16:35:82:6F:B2
inet6 addr: fe80::216:35ff:fe82:6fb2/64 Scope:Link
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:1007946 errors:0 dropped:0 overruns:0 frame:0
TX packets:8402 errors:20 dropped:0 overruns:0 carrier:20
collisions:264 txqueuelen:1000
RX bytes:70971311 (67.6 MiB) TX bytes:1090935 (1.0 MiB)
Interrupt:66 Memory:fc000000-fc011100

eth1 Link encap:Ethernet HWaddr 00:16:35:82:6F:B2
inet6 addr: fe80::216:35ff:fe82:6fb2/64 Scope:Link
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:1007985 errors:0 dropped:0 overruns:0 frame:0
TX packets:8400 errors:16 dropped:0 overruns:0 carrier:16
collisions:218 txqueuelen:1000
RX bytes:70824745 (67.5 MiB) TX bytes:1085805 (1.0 MiB)
Interrupt:114 Memory:fa000000-fa011100

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:28961 errors:0 dropped:0 overruns:0 frame:0
TX packets:28961 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9832203 (9.3 MiB) TX bytes:9832203 (9.3 MiB)


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 23/02/2007, 16h40   #2
Scott Reese
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ethernet bonding and interface speed

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

Birju Prajapati wrote:
> Hi,
> I have two network cards that are both displaying as such:
>
> dbadmin@livedb:~$ sudo mii-tool
> eth0: no autonegotiation, 100baseTx-HD, link ok
> eth1: no autonegotiation, 100baseTx-HD, link ok
>
> I have bonded them in modprope.d as such:
>
> alias bond0 bonding
> options bonding mode=0 miimon=100 downdelay=200 updelay=200
>
> However the bonded interface is only 10Meg Half duplex:
>
> dbadmin@livedb:~$ sudo mii-tool bond0
> bond0: 10 Mbit, half duplex, link ok
>
> Why is this? Is it safe to use 'ethtool -s' to increase the speed of
> the bonded interface? I don't want it to crash as the server is hosted
> elsewhere and would involve a long trip to fix!
>
> Thanks in advance,
> Birju
>
> FYI:
>
> dbadmin@livedb:~$ /sbin/ifconfig
> bond0 Link encap:Ethernet HWaddr 00:16:35:82:6F:B2
> inet addr:10.114.1.2 Bcast:10.114.255.255 Mask:255.255.0.0
> inet6 addr: fe80::216:35ff:fe82:6fb2/64 Scope:Link
> UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
> RX packets:2015931 errors:0 dropped:0 overruns:0 frame:0
> TX packets:16802 errors:36 dropped:0 overruns:0 carrier:36
> collisions:482 txqueuelen:0
> RX bytes:141796056 (135.2 MiB) TX bytes:2176740 (2.0 MiB)
>
> eth0 Link encap:Ethernet HWaddr 00:16:35:82:6F:B2
> inet6 addr: fe80::216:35ff:fe82:6fb2/64 Scope:Link
> UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
> RX packets:1007946 errors:0 dropped:0 overruns:0 frame:0
> TX packets:8402 errors:20 dropped:0 overruns:0 carrier:20
> collisions:264 txqueuelen:1000
> RX bytes:70971311 (67.6 MiB) TX bytes:1090935 (1.0 MiB)
> Interrupt:66 Memory:fc000000-fc011100
>
> eth1 Link encap:Ethernet HWaddr 00:16:35:82:6F:B2
> inet6 addr: fe80::216:35ff:fe82:6fb2/64 Scope:Link
> UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
> RX packets:1007985 errors:0 dropped:0 overruns:0 frame:0
> TX packets:8400 errors:16 dropped:0 overruns:0 carrier:16
> collisions:218 txqueuelen:1000
> RX bytes:70824745 (67.5 MiB) TX bytes:1085805 (1.0 MiB)
> Interrupt:114 Memory:fa000000-fa011100
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:28961 errors:0 dropped:0 overruns:0 frame:0
> TX packets:28961 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:9832203 (9.3 MiB) TX bytes:9832203 (9.3 MiB)
>
>


Greetings Birju:

I don't think that I would believe the statistics that mii-tool is
reporting. I have a similar setup - two NICs bonded into a single
channel. Both adapters are 1Gb, connected into a Gb switch:

mii-tool
eth0: negotiated 100baseTx-FD flow-control, link ok
eth1: negotiated 100baseTx-FD flow-control, link ok


mii-tool bond0
bond0: 10 Mbit, half duplex, link ok

I know for a fact that the interfaces are running at 1Gb, and the bond
averages about 600 Mb/sec.

You might try pushing a large file onto the box with scp or a similar
tool that will report the time that the copy takes, just to verify your
speed is greater than 10Mb.

- -Scott

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

iD8DBQFF3xg1S7FYdPX6+iYRAouIAJ9YCKu0N9wvIN4A+y9caL SeHJYvIwCdF6FV
n8IIqvyuRQUeUqvrWwUej8I=
=uNIL
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 17h06.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10835 seconds with 10 queries