nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

LAN Speed for Bonding or Teaming

This is a discussion on LAN Speed for Bonding or Teaming within the Linux software forums, part of the Linux Getting Started category; Dear All. I have configured Bonding on RHEL 4.0, it is working fine my problem is that before bonding my ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 05-12-2006, 07:54 PM
Member
User
 
Join Date: Mar 2006
Posts: 63
Rep Power: 0
puppen
Default LAN Speed for Bonding or Teaming

Dear All.

I have configured Bonding on RHEL 4.0, it is working fine my problem is that before bonding my eth0 speed was 1000GB but after doing bonding my eth0 speed is 100MB so how do I change my eth0 speed.

If I give command mii-tool I get the output like this.

eth0: negotiated 100baseTx-FD, link ok
eth1: negotiated 100baseTx-FD, link ok

But if I give the command ethtool eth0 I get the output
[root@~]# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: umbg
Wake-on: d
Current message level: 0x00000007 (7)
Link detected: yes

[i]Which one is correct and how do I change the speed.

Pls help
[/i]
Regards.
Puppen
__________________
someone somewhere is made for you.
LOVE is Journey not a destination.
ALL I want is EVERYTHING.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-12-2006, 09:08 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

Command to setup 1000baseT/Full for eth0:
Code:
ethtool -s eth0 speed 1000 duplex full
Command to setup 1000baseT/Full for bond0:
Code:
ethtool -s bond0 speed 1000 duplex full
Depending on which type of Ethernet card is installed on the system you need to use either mii-tool or ethtool. See more usage at http://www.cyberciti.biz/faqs/2006/0...x-settings.php
Reply With Quote
  #3 (permalink)  
Old 05-13-2006, 05:51 PM
Member
User
 
Join Date: Mar 2006
Posts: 63
Rep Power: 0
puppen
Default

Dear Monk.

it does not work with mii-tool.

If i give mii-tool --force=1000baseTx-FD it does not take
???


regards.
Puppen
__________________
someone somewhere is made for you.
LOVE is Journey not a destination.
ALL I want is EVERYTHING.
Reply With Quote
  #4 (permalink)  
Old 05-15-2006, 02:53 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

Ok,

Which bond mode you are using? Also specify make of your NIC
Reply With Quote
  #5 (permalink)  
Old 05-15-2006, 03:53 PM
Member
User
 
Join Date: Mar 2006
Posts: 63
Rep Power: 0
puppen
Default

Dear Monk.

Thanks for your reply.

The problem is not with NIC.
My problem is that before doing bonding, NIC was on 1Gb it was shown in both the commands mii-tool as well as on ethtool.

But after bonding it shows me on 100mb when I give mii-tool, but in
ethtoo it shows me 1gb.
__________________
someone somewhere is made for you.
LOVE is Journey not a destination.
ALL I want is EVERYTHING.
Reply With Quote
  #6 (permalink)  
Old 05-15-2006, 03:57 PM
Member
User
 
Join Date: Mar 2006
Posts: 63
Rep Power: 0
puppen
Default

Dear Monk.

I am using
bond0 mode=balance-alb mii-mon=100
__________________
someone somewhere is made for you.
LOVE is Journey not a destination.
ALL I want is EVERYTHING.
Reply With Quote
  #7 (permalink)  
Old 05-15-2006, 04:27 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

I don’t think so you have any problem. See some Ethernet (NIC) card only works with either mii-tool or ethtool. In this case mii-tool is not compatible with your network card.

One of my server only support ethertool and other only support mii-tool. So depending on which type of Ethernet card is installed on the system you need to use any one of the command.

Other way to verify speed:

After server reboot type command at shell prompt
Code:
# dmesg | grep -i duplex
OR use wget command to download file from bond0 interface which will tell you speed. This is method needs configuration of web server.
Goto other linux desktop which connected to same switch
Code:
#  wget http://ip-bond0-server/largefile
Hope this helps
Reply With Quote
  #8 (permalink)  
Old 05-15-2006, 04:51 PM
Member
User
 
Join Date: Mar 2006
Posts: 63
Rep Power: 0
puppen
Default

Dear Monk.

This is the output of grep command.

e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth1: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth1: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth1: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
bonding: Warning: failed to get speed/duplex from eth0, speed forced to 100Mbps, duplex forced to Full.
bonding: Warning: failed to get speed/duplex from eth1, speed forced to 100Mbps, duplex forced to Full.
e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth1: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
bonding: Warning: failed to get speed/duplex from eth0, speed forced to 100Mbps, duplex forced to Full.
bonding: Warning: failed to get speed/duplex from eth1, speed forced to 100Mbps, duplex forced to Full.
e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth1: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
bonding: Warning: failed to get speed/duplex from eth0, speed forced to 100Mbps, duplex forced to Full.
bonding: Warning: failed to get speed/duplex from eth1, speed forced to 100Mbps, duplex forced to Full.
e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth1: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
bonding: Warning: failed to get speed/duplex from eth0, speed forced to 100Mbps, duplex forced to Full.
bonding: Warning: failed to get speed/duplex from eth1, speed forced to 100Mbps, duplex forced to Full.
e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
e1000: eth1: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex
bonding: Warning: failed to get speed/duplex from eth0, speed forced to 100Mbps, duplex forced to Full.
bonding: Warning: failed to get speed/duplex from eth1, speed forced to 100Mbps, duplex forced to Full.
e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex


Ok now tell me what is the spped of my bonding
__________________
someone somewhere is made for you.
LOVE is Journey not a destination.
ALL I want is EVERYTHING.
Reply With Quote
  #9 (permalink)  
Old 05-15-2006, 05:31 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

As long as your switch is managed and understands trunking you can use this technique to achieve higher speed.

So do you have managed switch?
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
  #10 (permalink)  
Old 05-15-2006, 07:01 PM
Member
User
 
Join Date: Mar 2006
Posts: 63
Rep Power: 0
puppen
Default

Dear Rocky.

I have 3Com layer 3 managed switch
__________________
someone somewhere is made for you.
LOVE is Journey not a destination.
ALL I want is EVERYTHING.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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 On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Kubuntu / Ubuntu Lan Ethernet card bonding Tutorial alex.inoa Networking, Firewalls and Security 8 07-24-2008 02:27 PM
Internet Speed of Squid Users zakaferoz Mail Servers 1 02-12-2008 05:08 AM
Bonding mode not changing bdptcob Linux software 3 06-05-2007 11:29 AM
Bonding Error puppen Linux software 0 01-19-2007 11:56 AM
Teaming with 2 network cards puppen Linux software 2 05-06-2006 12:52 PM


All times are GMT +5.5. The time now is 03:05 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36