Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Testowanie łącza speedtest rozłącza internet przy aktywnym VPN
#29
1
Better response on post RE: Testowanie łącza speedtest rozłącza internet przy aktywnym VPNMożna zredukować prędkość z obecnego 1Gbps do 100mbps lub 10mbs. Można też bawić się ustawieniem duplexu ale na początek może wystarczy sama prędkość.
Na moim przykładzie (w Twoim przypadku zmieniasz eth1 na enp12s0):
Zmiana na 10:
Kod:
$sudo ethtool -s eth1 autoneg off speed 10
Podgląd czy speed zmieniło się na 10:
Kod:
$ethtool eth1
Settings for eth1:
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
Supported FEC modes: Not reported
Advertised link modes:  10baseT/Half 10baseT/Full
                        100baseT/Half 100baseT/Full
                        1000baseT/Half 1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 10Mb/s
Duplex: Full
Auto-negotiation: off
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
MDI-X: Unknown
netlink error: Operation not permitted
        Current message level: 0x00000037 (55)
                              drv probe link ifdown ifup
Link detected: yes
Test na prędkości ethernetu 10Mbps
Kod:
$speedtest

  Speedtest by Ookla

    Server: Systel - Katowice (id = 1721)
        ISP: *usunięte
    Latency:    3.07 ms  (0.72 ms jitter)
  Download:    7.49 Mbps (data used: 6.4 MB)                             
    Upload:    4.69 Mbps (data used: 6.0 MB)                             
Packet Loss: Not available.
Result URL: *usunięte
Zmiana na 100:
Kod:
$sudo ethtool -s eth1 autoneg off speed 100
Podgląd czy speed zmieniło się na 100:
Kod:
$ethtool eth1
Settings for eth1:
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
Supported FEC modes: Not reported
Advertised link modes:  10baseT/Half 10baseT/Full
                        100baseT/Half 100baseT/Full
                        1000baseT/Half 1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 100Mb/s
Duplex: Full
Auto-negotiation: off
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
MDI-X: Unknown
netlink error: Operation not permitted
        Current message level: 0x00000037 (55)
                              drv probe link ifdown ifup
Link detected: yes
Test na prędkości ethernetu 100Mbps
Kod:
$speedtest

  Speedtest by Ookla

    Server: LiveNet Sp. z o.o. - Tarnowskie Góry (id = 19194)
        ISP: *usunięte
    Latency:    3.49 ms  (0.40 ms jitter)
  Download:    40.37 Mbps (data used: 68.9 MB)                             
    Upload:    27.99 Mbps (data used: 14.7 MB)                             
Packet Loss:    38.0%
Result URL: *usunięte
Powrót do autonegocjacji, co w moim przypadku przestawia prędkość na 1Gbps
Kod:
]$sudo ethtool -s eth1 autoneg on
Sprawdzenie:
Kod:
]$ethtool eth1
Settings for eth1:
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
Supported FEC modes: Not reported
Advertised link modes:  10baseT/Half 10baseT/Full
                        100baseT/Half 100baseT/Full
                        1000baseT/Half 1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: on
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
MDI-X: Unknown
netlink error: Operation not permitted
        Current message level: 0x00000037 (55)
                              drv probe link ifdown ifup
Link detected: yes
Test na prędkości eth 1Gbps. Moje łącze do Internetu to jakieś 150Mbps.
Kod:
$speedtest

  Speedtest by Ookla

    Server: Systel - Katowice (id = 1721)
        ISP: *usunięte
    Latency:    3.53 ms  (0.84 ms jitter)
  Download:  115.06 Mbps (data used: 51.9 MB)                             
    Upload:    94.39 Mbps (data used: 74.2 MB)                             
Packet Loss:    0.0%
Result URL: *usunięte
Odpowiedz


Wiadomości w tym wątku
RE: Testowanie łącza speedtest rozłącza internet przy aktywnym VPN - przez dedito - 29-04-2023, 08:41

Skocz do:




Użytkownicy przeglądający ten wątek: 1 gości