- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- how to see speed and change speed of one lan
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 02:28 AM
08-07-2006 02:28 AM
I would like to know how can I see the speed that have one lan and how can I change it.
Thanks a lot of!
Carmen.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 07:13 AM
08-07-2006 07:13 AM
Solutionethtool eth0
(substitute the interface you want to check if other than eth0)
To set speed and duplex:
ethtool â s eth0 duplex full speed 100 autoneg off
There several other options you can use on this command. See ethtool(8) man page for details.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 08:07 AM
08-07-2006 08:07 AM
Re: how to see speed and change speed of one lan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 11:58 AM
08-07-2006 11:58 AM
Re: how to see speed and change speed of one lan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 12:52 AM
08-08-2006 12:52 AM
Re: how to see speed and change speed of one lan
ethtool -s eth0 speed 100 duplex full autoneg off
this command will set full duplex at 100 mbps for eth0
( make sure you do autoneg off)
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 06:07 PM
08-08-2006 06:07 PM
Re: how to see speed and change speed of one lan
All my fellow forummers are right but here's a point....after setting up ur "eth0" using the "ethtool" command, if you restart your machine/server you'll see that the settings again go back to the default ones.
So, here are the steps to check and change the settings of your ethernet ---
TO CHECK
---------
# ethtool eth0
It will show all the supported settings and will also display the settings implemented on your eth0.
TO CHANGE
----------
1) Edit the file "/etc/sysconfig/network-scripts/ifcfg-eth0" and add the following options at the end ----
ETHTOOL_OPTS="speed (100|1000) duplex (half|full) autoneg (on|off)"
NOTE : For other options, you can also consult the man page for "ethtool"
2) Save your file and then either reboot ur server else you can also restart your "network" services using the command --
# service network restart
--
Atul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2006 09:51 PM
08-13-2006 09:51 PM
Re: how to see speed and change speed of one lan
Hi.
One problem with IP applications is that they are notoriously greedy and often will use all the bandwidth it can get its hand on. This often leads to congestion in the network. So you may be interested in limiting the speed of the link, per user, per port, per application, etc.
If this is the case, have a look at the linux kernel implementation for "traffic shaping", especially the tc command and the theory underpinning of Hierarchical Token Bucket. Be prepared for a few hours of intensive reading to understand the concepts. But it is well worth it :-)
Main sites are:
http://lartc.org/
http://luxik.cdi.cz/~devik/qos/htb/
but other sites give better primers:
http://en.wikipedia.org/wiki/Traffic_shaping
http://www.knowplace.org/pages/howtos/traffic_shaping_with_linux.php