Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • user-docs user-docs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 58
    • Issues 58
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Turris
  • user-docsuser-docs
  • Issues
  • #110

Closed (moved)
(moved)
Open
Created Jan 10, 2021 by Marc Elser@marcelser

wan speed down to ~13-14Mbps after migration to TOS 5.1.4

Hi,

I updated my turris installation from 3.11.26 through Foris experimental update.

Apart from other glitches the main problem which made me go back to TOS 3.11 is that WAN Speed dropped from ~600Mbit to ~13Mbit on TOS 5.x

I have checked /etc/config/network but couldn't see anything suspicious. I also the only special setup here's the 3g and ncm interfaces apart from this I have a very simple config. Not vlan's nothing just plain DHCP on wan side.

Here's the 3.11 config:

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fda6:7fef:b222::/48'

config interface 'lan'
        option ifname 'eth0 eth2'
        option force_link '1'
        option type 'bridge'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option ipaddr '192.168.10.1'

config interface 'wan'
        option ifname 'eth1'
        option proto 'dhcp'
        option metric '10'
        option peerdns '0'
        option hostname 'turris'
        option ipv6 '1'
        option dns '8.8.8.8 8.8.4.4'

config interface 'wan6'
        option ifname '@wan'
        option noserverunicast '1'
        option proto '6to4'

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '0 1 2 3 5'

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option ports '4 6'

config interface 'guest_turris'
        option enabled '1'
        option type 'bridge'
        option ifname 'guest_turris_0 guest_turris_1'
        option proto 'static'
        option ipaddr '10.111.222.1'
        option netmask '255.255.255.0'
        option bridge_empty '1'

config interface 'ncm'
        option proto 'ncm'
        option apn 'gprs.swisscom.ch'
        option metric '20'
        option username 'gprs'
        option password 'gprs'
        option device '/dev/cdc-wdm0'
        option ipv6 '0'
        option peerdns '0'
        option auto '0'

config interface '3g'
        option proto '3g'
        option apn 'gprs.swisscom.ch'
        option metric '20'
        option username 'gprs'
        option password 'gprs'
        option service 'umts'
        option device '/dev/ttyUSB0'
        option ipv6 '0'
        option maxwait '60'
        option peerdns '0'
        option dns '54.93.173.153 81.17.17.170'
        option enabled '0'
        option auto '0'

and heres 5.1.4:

config interface 'loopback'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'
        option ifname 'lo'

config globals 'globals'
        option ula_prefix 'fda6:7fef:b222::/48'

config interface 'lan'
        option force_link '1'
        option type 'bridge'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option ipaddr '192.168.10.1'
        list ifname 'lan0'
        list ifname 'lan1'
        list ifname 'lan2'
        list ifname 'lan3'
        list ifname 'lan4'

config interface 'wan'
        option proto 'dhcp'
        option metric '10'
        option peerdns '0'
        option hostname 'turris'
        option ipv6 '1'
        option dns '8.8.8.8 8.8.4.4'
        option ifname 'eth2'

config interface 'wan6'
        option noserverunicast '1'
        option proto '6to4'
        option ifname '@wan'

config interface 'guest_turris'
        option enabled '1'
        option type 'bridge'
        option proto 'static'
        option ipaddr '10.111.222.1'
        option netmask '255.255.255.0'
        option bridge_empty '1'
        list ifname 'guest_turris_0'
        list ifname 'guest_turris_1'

config interface 'ncm'
        option proto 'ncm'
        option apn 'gprs.swisscom.ch'
        option metric '20'
        option username 'gprs'
        option password 'gprs'
        option device '/dev/cdc-wdm0'
        option ipv6 '0'
        option peerdns '0'
        option auto '0'
        option ifname '/dev/cdc-wdm0'

config interface '3g'
        option proto '3g'
        option apn 'gprs.swisscom.ch'
        option metric '20'
        option username 'gprs'
        option password 'gprs'
        option service 'umts'
        option device '/dev/ttyUSB0'
        option ipv6 '0'
        option maxwait '60'
        option peerdns '0'
        option dns '54.93.173.153 81.17.17.170'
        option enabled '0'
        option auto '0'
        option ifname '/dev/ttyUSB0'

I also check ifconfig, cpu load etc. everything seems completely normal.

Also when checking eth2 with ethtool, I get this output: Settings for eth2:

        Supported ports: [ TP MII FIBRE ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
                                             1000baseT/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: d
        Link detected: yes

I have absolutely no idea why WAN is so slow after updating from 3.11.26 to 5.1.4.

Assignee
Assign to
Time tracking