cancel
Showing results for 
Search instead for 
Did you mean: 

Edgerouter POE unable to connect to internet

ukbikenerd
Dabbler
Posts: 11
Registered: ‎10-01-2017

Re: Edgerouter POE unable to connect to internet

OK - so I removed the address DHCP, and now i can ping the wide world, both from my computer, and using the ping in toolbox from the router. In particular I can ping the OpenDNS server I use.

 

But still no internet pages, seems to fail on DNS probe.

 

Any thoughts?

 

 

killsta
Dabbler
Posts: 21
Thanks: 1
Registered: ‎11-01-2017

Re: Edgerouter POE unable to connect to internet

Are you able to resolve hostnames on your computer?

 

 

Do an nslookup google.com from the command prompt.

ukbikenerd
Dabbler
Posts: 11
Registered: ‎10-01-2017

Re: Edgerouter POE unable to connect to internet

No, I  get; 

server dsldevice.lan

Address192.168.1.254

Request timed out.

I can ping 8.8.8.8

I can tracert 8.8.8.8

If I tracert resolve IP address I eventually get 

 

Thanks for your continuing help

killsta
Dabbler
Posts: 21
Thanks: 1
Registered: ‎11-01-2017

Re: Edgerouter POE unable to connect to internet

Looks like you need to add a DNS server to your DHCP server on the Edgerouter:

 

service {
dhcp-server {
disabled false
hostfile-update disable
shared-network-name FreeWifi {
authoritative disable
subnet 192.168.9.0/24 {
default-router 192.168.9.1
dns-server 8.8.8.8
lease 86400
start 192.168.9.33 {
stop 192.168.9.40
}
}
}

 

 

Add one with:

 

set service dhcp-server shared-network-name FreeWifi subnet 192.168.9.0/24 dns-server 8.8.8.8

 

You'll need to substitute the bold bits for your configuration Smiley

ukbikenerd
Dabbler
Posts: 11
Registered: ‎10-01-2017

Re: Edgerouter POE unable to connect to internet

OK, did that but still no web pages. I can still ping out.

My full config file now is;

 

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                                                 

            }                                                                  

        }                                                                       

    }                                                                          

    options {                                                                  

        mss-clamp {                                                             

            mss 1412                                                           

        }                                                                      

    }                                                                          

    receive-redirects disable                                                  

    send-redirects enable                                                      

    source-validation disable                                                  

    syn-cookies enable                                                         

}                                                                              

interfaces {                                                                   

    bridge br0 {                                                                

        address 192.168.1.1/24                                                 

        aging 300                                                              

        bridged-conntrack disable                                               

        description "Local Bridge"                                             

        hello-time 2                                                           

        max-age 20                                                              

        priority 32768                                                         

        promiscuous enable                                                     

        stp false                                                               

    }                                                                          

    ethernet eth0 {                                                            

        description "Internet (PPPoE)"                                         

        duplex auto                                                            

        poe {                                                                  

            output off                                                         

        }                                                                       

        pppoe 0 {                                                              

            default-route auto                                                 

            firewall {                                                          

                in {                                                           

                    name WAN_IN                                                

                }                                                               

                local {                                                        

                    name WAN_LOCAL                                             

                }                                                               

            }                                                                  

            mtu 1492                                                           

            name-server auto                                                    

            password NNNN                                                 

            user-id NNNN                                    

        }                                                                       

        speed auto                                                             

    }                                                                          

    ethernet eth1 {                                                            

        bridge-group {                                                         

            bridge br0                                                         

        }                                                                      

        description "Local Bridge"                                             

        duplex auto                                                            

        poe {                                                                  

            output off                                                          

        }                                                                      

        speed auto                                                             

    }                                                                           

    ethernet eth2 {                                                            

        description "Local Bridge"                                             

        duplex auto                                                             

        poe {                                                                  

            output off                                                         

        }                                                                       

        speed auto                                                             

    }                                                                          

    ethernet eth3 {                                                            

        description "Local Bridge"                                             

        duplex auto                                                            

        poe {                                                                  

            output off                                                         

        }                                                                      

        speed auto                                                             

    }                                                                           

    ethernet eth4 {                                                            

        description "Local Bridge"                                             

        duplex auto                                                             

        poe {                                                                  

            output off                                                         

        }                                                                       

        speed auto                                                             

    }                                                                          

    loopback lo {                                                               

    }                                                                          

    switch switch0 {                                                           

        bridge-group {                                                         

            bridge br0                                                         

        }                                                                      

        description "Local Bridge"                                             

        mtu 1500                                                                

        switch-port {                                                          

            interface eth2 {                                                   

            }                                                                   

            interface eth3 {                                                   

            }                                                                  

            interface eth4 {                                                    

            }                                                                  

            vlan-aware disable                                                 

        }                                                                       

    }                                                                          

}                                                                              

service {                                                                       

    dhcp-server {                                                              

        disabled false                                                         

        hostfile-update disable                                                

        shared-network-name LAN_BR {                                           

            authoritative disable                                              

            subnet 192.168.1.0/24 {                                            

                default-router 192.168.1.1                                     

                dns-server 8.8.8.8                                         

                dns-server 208.67.222.222                                      

                lease 86400                                                     

                start 192.168.1.38 {                                           

                    stop 192.168.1.243                                         

                }                                                               

            }                                                                  

        }                                                                      

        use-dnsmasq disable                                                     

    }                                                                          

    dns {                                                                      

        forwarding {                                                            

            cache-size 150                                                     

            listen-on br0                                                      

        }                                                                      

    }                                                                          

    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                                                     

    }                                                                          

}                                                                              

system {                                                                        

    host-name ubnt                                                             

    login {                                                                    

        user ubnt {                                                            

            authentication {                                                   

                encrypted-password $6$dY4alLHxTh9LPHm1$VrxbNM76giNudZsWoSvnt2K2g

6KinA6lqY.AcQPATtiqN6bVzPAP8F4jU91DUkHzYRiFe6lYOg.w3vDbTvJA.1                  

            }                                                                   

            level admin                                                        

        }                                                                      

    }                                                                           

    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                                                  

            pppoe enable                                                       

        }                                                                       

    }                                                                          

    syslog {                                                                   

        global {                                                                

            facility all {                                                     

                level notice                                                   

            }                                                                   

            facility protocols {                                               

                level debug                                                    

            }                                                                   

        }                                                                      

    }                                                                          

    time-zone UTC                                                               

}                                                                              

                                                                               

Any ideas? Firewall issue?

Thanks for all your help                          

 

ukbikenerd
Dabbler
Posts: 11
Registered: ‎10-01-2017

Re: Edgerouter POE unable to connect to internet

It's worth noting I have no problem with web page access if I connect my Plusnet router, only with the Edgerouter. So can't be an issue with the Openreach fibre modem