Using the ethtool utility one cannot set autoneg off for ethernet cards

Solution Verified - Updated -

Issue

  • When trying to set auto-negotiation off on a gigabit ethernet card, the following error pops up, why ?

    # ethtool -s eth1 autoneg off 
    Cannot set new settings: Invalid argument 
    not setting autoneg
    
  • We need to speed and duplex values and Link Speed for 10G NIC on RHEL. However the settings are not getting accepted.

Environment

  • Red Hat Enterprise Linux (RHEL) (all versions)
  • Network card at 1Gbps or 10Gbps or faster

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content