cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Etc


Reference














.

os:linux:network:negotiation.html



Linux:Netowrk

Negotiation - How to Configure Negotiation in Linux

Commands

Check

# ethtool eth1
Settings for eth1:
  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: 1
  Transceiver: internal
  Auto-negotiation: on
  Supports Wake-on: g
  Wake-on: d
  Link detected: yes

Setup temporarily

ethtool -s eth0 autoneg off speed 100 duplex full
ethtool -s eth0 speed 1000
ethtool -s eth0 autoneg off
ethtool -s eth0 duplex full


Configuration

ETHTOOL_OPTS="autoneg on speed 1000 duplex full"

/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.0.100
NETMASK=255.255.255.0
ONBOOT=yes
ETHTOOL_OPTS="autoneg off speed 100 duplex full"
TYPE=Ethernet



os/linux/network/negotiation.html.txt · Last modified: 2017/05/14 by admin

Page Tools