- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Forcing the NIC interface to 100 Mbps Full Duplex
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
Discussions
Discussions
Discussions
Forums
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
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
тАО12-11-2004 12:44 PM
тАО12-11-2004 12:44 PM
I am currently running Linux AS 3.0 - The port that I have my Linux server plugged into forced to 100 Mbps full duplex and NO neg. I would like to set this setting as well on my NIC ineterface on my server and make it a permanent setting. Does anyone here know how I can do this? Yes, I ran the command "mii-tool eth0" and it came back with 10/100 Mbps auto - I must change this to reduced the number of collisions on the NIC interface.
Thank you in advance.
Ian D.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2004 01:44 PM
тАО12-11-2004 01:44 PM
SolutionThe way to reduce collisons is to reduce the size of the collision domain. If all of your servers and workstations are on the same collission domain you'll have a lot of collisions.
What you may wish to do is check into dividing your network into distinct subnets.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2004 03:51 PM
тАО12-11-2004 03:51 PM
Re: Forcing the NIC interface to 100 Mbps Full Duplex
To force 100 baseT full duplex for eth0 use:
/sbin/mii-tool -F 100baseTx-FD eth0
Then to check eth0
/sbin/mii-tool eth0
What I'd do is put this command at the end of your /etc/rc.d/rc.local file.
HTH,
Ross
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2004 09:13 PM
тАО12-11-2004 09:13 PM
Re: Forcing the NIC interface to 100 Mbps Full Duplex
1) mii-tools & ethtool - you should add one of two commands into rc.local
2) module options in /etc/modules.conf - unfortunately, there is different options for every NIC driver. For example
for eepro100:
options eepro100 full_duplex=1
for e100:
options eth0 e100_speed_duplex=4
for bcm5700
options eth0 line_speed=100 auto_speed=0 full_duplex=1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2004 01:52 AM
тАО12-13-2004 01:52 AM
Re: Forcing the NIC interface to 100 Mbps Full Duplex
to set 100 FD. Our Cisco switches get
very confused when they see the switch
start negotiating and fall back to HD.
You may also want to delay loading the
drivers until the interface is configured.
We also had problems if the driver was
loaded, and not configured immediately.
Remove the driver from /etc/modules, and
add an alias line in /etc/modules.conf
for the module.
aliase eth0 e100pro
I finally convinced the network people to
allow auto-negotiation. I pointed out that
the MII spec does not support 100FD as the
only option. CISCO advertises the ports
as 100HD.
The vortex documentation recommends the following port configuration on CISCO.
interface FastEthernet0/N
description machinename
load-interval 30
spanning-tree portfast
By the way, increasing carrier drops
indicates the swithch when HD, and
increasing collisions indicates the
server when HD.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2004 02:19 AM
тАО12-13-2004 02:19 AM
Re: Forcing the NIC interface to 100 Mbps Full Duplex
Another thing I ran into was some old NIC's that didn't have full duplex support in the driver. You need replace your NIC if that's case.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2004 04:22 AM
тАО12-13-2004 04:22 AM
Re: Forcing the NIC interface to 100 Mbps Full Duplex
Indeed, if oneside is hardcoded and theother auto, autoneg is _supposed_ to fail and the side trying to auto will be in half-duplex because it is _supposed_ to be there.
You then get duplex mismatch with the hardcoded FD side and indeed you will see collisions - the type to look for in particular are "*late*" collisions if your tools break those out - for those are the "collisions" that are actually errors. On the full-duplex side of the mismatch you will see FCS/CRC errors.
When auto fails, go for the latest switch firmware and NIC drivers before resorting to hardcoding. Otherwise, move some kit around, get some new kit, whathaveyou and poof, duplex mismatches all over again.
The other reason to try to break the hardcoding habit - for Gigabit autoneg is _required_.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2004 02:16 AM
тАО12-14-2004 02:16 AM
Re: Forcing the NIC interface to 100 Mbps Full Duplex
Everyone has a good point. I ran lsmod and saw that I have a bcm5700 NIC card. I was not able to modify my NIC setting with 'mii-tool', therefore, I downloaded 'ethtool' and used that instead. I was getting collisions because my cisco switch (5509) was set at 100Mbps full duplex auto - and my NIC was set to 100 half duplex auto. I do know that the cisco switch, well atleast mine doesn't like auto negotiate that much. So, I forced the cisco switch and the NIC interface to full duplex 100MBps no auto and everyone is very happy now.
Thanks for all your help.
Have a great day!!
P.S. How do I give out points to one/multiple people?
Ian D.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2004 02:20 AM
тАО12-14-2004 02:20 AM
Re: Forcing the NIC interface to 100 Mbps Full Duplex
In IE browser you'll see a button for assigning points, Firefox has a problem with this button.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2004 12:37 AM
тАО12-23-2004 12:37 AM
Re: Forcing the NIC interface to 100 Mbps Full Duplex
Mine, today is "e1000", I need to run 100/FD now until copperGB switch environ is installed.
Thanks,
-Stephen 770-343-0196
========== SNIP ==================
2) module options in /etc/modules.conf - unfortunately, there is different options for every NIC driver. For example for eepro100:
options eepro100 full_duplex=1
for e100:
options eth0 e100_speed_duplex=4
for bcm5700
options eth0 line_speed=100 auto_speed=0 full_duplex=1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2004 12:55 AM
тАО12-23-2004 12:55 AM
Re: Forcing the NIC interface to 100 Mbps Full Duplex
or on module's site / from authors / from Google
AFAIK, for e1000 you should use
options e1000 Speed=100,Duplex=Full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2005 07:58 AM
тАО01-19-2005 07:58 AM
Re: Forcing the NIC interface to 100 Mbps Full Duplex
add this line:
ETHTOOL_OPTS="speed 100 duplex full autoneg off"
The network script checks for the variable ETHTOOL_OPTS and will set your duplex for you. This may work with RHAS2.1, depending on the update version you are running
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2005 01:58 AM
тАО01-20-2005 01:58 AM
Re: Forcing the NIC interface to 100 Mbps Full Duplex
Thanks,
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2016 08:45 PM
тАО07-21-2016 08:45 PM
Re: Forcing the NIC interface to 100 Mbps Full Duplex
Hi, where exactly do you place this line in the eth0 file when using VI editor.
ETHTOOL_OPTS="speed 100 duplex full autoneg off"
I have tried placing it at the end (looks like the end) and saving it but it does not make any changes,.. THank You