$ ethtool eth0 | grep Duplex Duplex: Half
ise farklı sunucularla iletişirken sorun yaşanabiliyor. Benim sorun yaşadığım durumda sunucu 1’den sunucu 2’ye giden isteklerin bazılarında iletişim problemleri oluştu.
SUNUCU A (ubuntu 14.04)
$ ethtool eth0 Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Speed: 100Mb/s Duplex: Half Port: Twisted Pair PHYAD: 1 Transceiver: internal Auto-negotiation: on MDI-X: Unknown Supports Wake-on: g Wake-on: d Link detected: yes
SUNUCU B (ubuntu 14.04)
$ ethtool eth0
$ ethtool eth0 Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Advertised pause frame use: Symmetric Advertised auto-negotiation: Yes Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Link partner advertised pause frame use: Symmetric Link partner advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: Twisted Pair PHYAD: 1 Transceiver: internal Auto-negotiation: on MDI-X: off Supports Wake-on: g Wake-on: d Current message level: 0x000000ff (255) drv probe link timer ifdown ifup rx_err tx_err Link detected: yes
Sunucu A’nın Duplex’i Full yaptıktan sonra sorunlar düzeldi. Bunu yapmak için sunucu a’da izlenmesi gereken adımlar şunlar
$ vim /etc/network/interfaces
iface eth0 inet static
altına
post-up /sbin/ethtool -s eth0 speed 100 duplex full autoneg off
ekleyin ve reboot yapın.