Quantcast
Channel: All EdgeRouter posts
Viewing all articles
Browse latest Browse all 60861

ER- X SFP - Offloading issues

$
0
0

So I have setup an ER-X SFP as my primary router but my LAN-LAN (switch0) performance is sub-par when compared to my Asus N56U (w/ Hardware Ofloading enabled).I have a 200 Mbps down and 20 Mbps up FTH connection and the router does gets saturated leading to frame freezes on 4K content seved from my NAS.

 

Bandwidth test ( NAS <---1Gbps line----> Er-X SFP)

Sender - 244 Mbits/sec

Reciever- 401 Mbits/sec 

 

I was able to hit Rx- ~950 Mbps with my Asus router.Disabling Traffic analysis didn't made a huge difference.

 

 

ubnt@ubnt:~$ show ubnt offload
IPSec offload module: not loaded

HWNAT offload module: loaded

Traffic Analysis    :
  export    : enabled
  dpi       : enabled
    version       : 1.480

----------------
Running configuration
----------------
firewall {
    all-ping enable
    broadcast-ping disable
    ipv6-receive-redirects disable
    ipv6-src-route disable
    ip-src-route disable
    log-martians enable
    name WAN_IN {
        default-action drop
        description "WAN to internal"
        rule 10 {
            action accept
            description "Allow established/related"
            log disable
            protocol all
            state {
                established enable
                related enable
            }
        }
        rule 20 {
            action drop
            description "Drop invalid state"
            log disable
            protocol all
            state {
                invalid enable
            }
        }
    }
    name WAN_LOCAL {
        default-action drop
        description "WAN to router"
        rule 10 {
            action accept
            description "Allow established/related"
            log disable
            protocol all
            state {
                established enable
                related enable
            }
        }
        rule 20 {
            action drop
            description "Drop invalid state"
            log disable
            protocol all
            state {
                invalid enable
            }
        }
    }
    options {
        mss-clamp {
            interface-type pppoe
            mss 1452
        }
    }
    receive-redirects disable
    send-redirects enable
    source-validation disable
    syn-cookies enable
}
interfaces {
    ethernet eth0 {
        description "Internet (PPPoE)"
        duplex auto
        pppoe 0 {
            default-route auto
            firewall {
                in {
                    name WAN_IN
                }
                local {
                    name WAN_LOCAL
                }
            }
            mtu 1492
            name-server auto
            password ********
            user-id 
        }
        speed auto
    }
    ethernet eth1 {
        description ap0
        duplex auto
        mtu 1500
        poe {
            output off
        }
        speed auto
    }
    ethernet eth2 {
        description Local
        duplex auto
        speed auto
    }
    ethernet eth3 {
        description nas0
        duplex auto
        mtu 1500
        poe {
            output off
        }
        speed auto
    }
    ethernet eth4 {
        description nas1
        duplex auto
        mtu 1500
        poe {
            output off
        }
        speed auto
    }
    ethernet eth5 {
        duplex auto
        speed auto
    }
    loopback lo {
    }
    switch switch0 {
        address 192.168.0.1/24
        description Local
        mtu 1500
        switch-port {
            interface eth1 {
            }
            interface eth2 {
            }
            interface eth3 {
            }
            interface eth4 {
            }
            vlan-aware disable
        }
    }
}
port-forward {
    auto-firewall enable
    hairpin-nat enable
    lan-interface switch0
    rule 1 {
        description NAS-SSL
        forward-to {
            address 192.168.0.2*
            port 2443
        }
        original-port 443
        protocol tcp_udp
    }
    rule 2 {
        description NAS
        forward-to {
            address 192.168.0.28
            port 280
        }
        original-port 80
        protocol tcp_udp
    }
    rule 3 {
        description Syncthing-TCP
        forward-to {
            address 192.168.0.28
            port 22000
        }
        original-port 22000
        protocol tcp
    }
    rule 4 {
        description Syncthing-UDP
        forward-to {
            address 192.168.0.28
            port 21027
        }
        original-port 21027
        protocol udp
    }
    wan-interface pppoe0
}
service {
    dhcp-server {
        disabled false
        hostfile-update disable
        shared-network-name LAN {
            authoritative enable
            subnet 192.168.0.0/24 {
                default-router 192.168.0.1
                dns-server 114.23.1.1
                dns-server 114.23.2.2
                lease 86400
                start 192.168.0.2 {
                    stop 192.168.0.243
                }
                static-mapping Mi-Gateway {
                    ip-address 192.168.0.44
                    mac-address 34:ce:00:**:**:**
                }
                static-mapping pi-adsb {
                    ip-address 192.168.0.20
                    mac-address b8:27:eb:**:**:**
                }
            }
        }
        static-arp disable
        use-dnsmasq disable
    }
    dns {
        forwarding {
            cache-size 150
            listen-on switch0
        }
    }
    gui {
        http-port 80
        https-port 443
        older-ciphers enable
    }
    nat {
        rule 5010 {
            description "masquerade for WAN"
            outbound-interface pppoe0
            type masquerade
        }
    }
    ssh {
        port 22
        protocol-version v2
    }
    upnp2 {
        listen-on switch0
        nat-pmp enable
        secure-mode enable
        wan pppoe0
    }
}
system {
    host-name ubnt
    login {
        user **** {
            authentication {
                encrypted-password ****************
            }
            level admin
        }
    }
    name-server 143.23.1.1
    name-server 143.23.2.2
    ntp {
        server 0.ubnt.pool.ntp.org {
        }
        server 1.ubnt.pool.ntp.org {
        }
        server 2.ubnt.pool.ntp.org {
        }
        server 3.ubnt.pool.ntp.org {
        }
    }
    offload {
        hwnat enable
    }
    syslog {
        global {
            facility all {
                level notice
            }
            facility protocols {
                level debug
            }
        }
    }
    time-zone Pacific/Auckland
    traffic-analysis {
        custom-category Online_Video {
            name Youtube
        }
        custom-category Social_Media {
            name Facebook
            name WeChat
        }
        dpi enable
        export enable
    }
}

 


Viewing all articles
Browse latest Browse all 60861

Trending Articles