Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

Slow Internet on ERL vs. Directly Wired to Modem (config attached)

$
0
0

Hi All,

 

Finally decided to upgrade from a consumer Linksys Router to a ERL. I followed the most basic guide of WAN+2LAN. My cable modem (CM3016, ISP Comcast) is in bridged mode, connected to eth0. My PC on which I am running tests is connected via a switch to eth1.

 

I get around ~80 Mbps with ERL. When I go directly from PC to modem, I get ~165+. Any suggestions?

 

Config File:

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"
            state {
                established enable
                related enable
            }
        }
        rule 20 {
            action drop
            description "Drop invalid state"
            state {
                invalid enable
            }
        }
    }
    name WAN_LOCAL {
        default-action drop
        description "WAN to router"
        rule 10 {
            action accept
            description "Allow established/related"
            state {
                established enable
                related enable
            }
        }
        rule 20 {
            action drop
            description "Drop invalid state"
            state {
                invalid enable
            }
        }
    }
    receive-redirects disable
    send-redirects enable
    source-validation disable
    syn-cookies enable
}
interfaces {
    ethernet eth0 {
        address dhcp
        description Internet
        duplex auto
        firewall {
            in {
                name WAN_IN
            }
            local {
                name WAN_LOCAL
            }
        }
        speed auto
    }
    ethernet eth1 {
        address 10.0.0.1/24
        description Local
        duplex auto
        speed auto
    }
    ethernet eth2 {
        address 10.0.1.1/24
        description "Local 2"
        duplex auto
        speed auto
    }
    loopback lo {
    }
}
port-forward {
    auto-firewall enable
    hairpin-nat enable
    lan-interface eth1
    lan-interface eth2
    wan-interface eth0
}
service {
    dhcp-server {
        disabled false
        hostfile-update disable
        shared-network-name LAN1 {
            authoritative enable
            subnet 10.0.0.0/24 {
                default-router 10.0.0.1
                dns-server 10.0.0.1
                lease 86400
                start 10.0.0.100 {
                    stop 10.0.0.254
                }
                static-mapping Hubble {
                    ip-address 10.0.0.20
                    mac-address 24:5e:be:05:be:96
                }
                static-mapping IPCam_Frontdoor {
                    ip-address 10.0.0.80
                    mac-address 9c:8e:cd:00:ca:b8
                }
                static-mapping LinksysPoESwitch {
                    ip-address 10.0.0.2
                    mac-address b4:75:0e:7d:35:e2
                }
                static-mapping NVR {
                    ip-address 10.0.0.15
                    mac-address F4:4D:30:61:72:3F
                }
                static-mapping ProHDBaby {
                    ip-address 10.0.0.89
                    mac-address 3C:EF:8C:7F:EA:31
                }
                static-mapping ProHDFamilyRoom {
                    ip-address 10.0.0.90
                    mac-address 4C:11:BF:F4:30:42
                }
                static-mapping ProHDMaster {
                    ip-address 10.0.0.88
                    mac-address 4C:11:BF:F3:FF:06
                }
                static-mapping Tesla {
                    ip-address 10.0.0.10
                    mac-address 54:04:A6:0B:C1:7C
                }
                static-mapping belkin08863B6B6E32 {
                    ip-address 10.0.0.30
                    mac-address 08:86:3B:6B:6E:32
                }
            }
        }
        shared-network-name LAN2 {
            authoritative enable
            subnet 10.0.1.0/24 {
                default-router 10.0.1.1
                dns-server 10.0.1.1
                lease 86400
                start 10.0.1.100 {
                    stop 10.0.1.254
                }
            }
        }
        use-dnsmasq disable
    }
    dns {
        forwarding {
            cache-size 1500
            listen-on eth1
            listen-on eth2
        }
    }
    gui {
        http-port 80
        https-port 443
        older-ciphers enable
    }
    nat {
        rule 5010 {
            description "masquerade for WAN"
            outbound-interface eth0
            type masquerade
        }
    }
    ssh {
        port 22
        protocol-version v2
    }
}
system {
    host-name ubnt
    login {
        user ubnt {
            authentication {
                encrypted-password [REDACTED]
            }
            level admin
        }
    }
    name-server 8.8.8.8
    name-server 4.2.2.1
    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 disable
        ipv4 {
            forwarding enable
            vlan enable
        }
    }
    syslog {
        global {
            facility all {
                level notice
            }
            facility protocols {
                level debug
            }
        }
    }
    time-zone America/Los_Angeles
    traffic-analysis {
        dpi disable
        export disable
    }
}


/* Warning: Do not remove the following line. */
/* === vyatta-config-version: "config-management@1:conntrack@1:cron@1:dhcp-relay@1:dhcp-server@4:firewall@5:ipsec@5:nat@3:qos@1:quagga@2:system@4:ubnt-pptp@1:ubnt-util@1:vrrp@1:webgui@1:webproxy@1:zone-policy@1" === */
/* Release version: v1.9.0.4901118.160804.1131 */

 Also, not sure why my custom NAT rule does not show up in config file above. This rule is to allow me to access 192.168.100.1 from my eth1 LAN.

admin@ubnt:~$ show nat rules

Type Codes:  SRC - source, DST - destination, MASQ - masquerade
              X at the front of rule implies rule is excluded

rule   type  intf     translation                                               
----   ----  ----     -----------                                               
5000   SRC   eth0     saddr 10.0.0.0/24 to 192.168.100.2                        
    proto-all         sport ANY                                                  

                      when daddr 192.168.100.0/24, dport ANY                    

5001   MASQ  eth0     saddr ANY to 67.182.139.20                                
    proto-all         sport ANY                                                  

 Picture of NAT rule:

ubiquiti.png

Edit: Adding output of show ubnt offload

admin@ubnt:~$ show ubnt offload  

IP offload module   : loaded                                                     
IPv4                                                                             
  forwarding: enabled                                                            
  vlan      : enabled                                                            
  pppoe     : disabled                                                           
  gre       : disabled                                                           
IPv6                                                                             
  forwarding: disabled                                                           
  vlan      : disabled                                                           
  pppoe     : disabled                                                           
                                                                                 
IPSec offload module: loaded                                                     
                                                                                 
Traffic Analysis    :                                                            
  export    : disabled                                                           
  dpi       : disabled    

 

 

SG


Viewing all articles
Browse latest Browse all 20028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>