Giter Site home page Giter Site logo

stevejenkins / ubnt-edgerouter-example-configs Goto Github PK

View Code? Open in Web Editor NEW
194.0 23.0 54.0 109 KB

Example config.boot files for UBNT EdgeRouters with Google, Comcast, and Charter

Home Page: https://www.stevejenkins.com/blog/2015/11/replace-your-google-fiber-network-box-with-a-ubiquiti-edgerouter-lite/

License: MIT License

Erlang 100.00%
ipv4 boot-files ubnt-edgerouters ubnt edgerouter google-fiber comcast ubiquiti ubiquiti-edgeos boot

ubnt-edgerouter-example-configs's People

Contributors

dougcrowder avatar stevejenkins avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ubnt-edgerouter-example-configs's Issues

Google Fiber not using VLAN 2 for new installs

The last 4 EdgeRouter Google Fiber installs I've done haven't utilized VLAN 2 coming out of the "Google Fiber Jack"/ONT in Huntsville, AL, and is instead using the native VLAN.

One one of the installs, Google later changed to VLAN 2 when a tech was called on-site for a service call.

I don't know if this is a new policy, or how to predict what they will use.

I'm also not sure that setting the mss-clamp is necessary, or at least I forgot it on one of my installs and didn't notice an issue.

Poor speeds with latest config

Hey man, nice work with these configs for Google. I just wanted to let you know that whatever was changed between this config

https://raw.githubusercontent.com/stevejenkins/UBNT-EdgeRouter-Example-Configs/f3b829bdfc8dc8322fe8734c6ca73caebf715c73/Google-Fiber/config.boot.poe

And your latest has some sort of impact on the speeds. It dropped me from 900+ Mpbs down and up to 50Mbps.

You can see more details here https://www.reddit.com/r/Ubiquiti/comments/b90yd3/edgerouter_poe_poor_performance_help/

USG stuck in provisioning mode

I'm am trying to provision my Unifi Security Gateway 3P with the Google Fiber config.gateway.json-usg-3 file. However, the device has been stuck in provisioning mode for an hour.

This is the result from server.log:
`[18:58:13,319] ERROR dev - [commit errors] dev[b4:fb:e4:8a:a6:04], {COMMIT={error=�[ system conntrack hash-size 32768 ]
Updated conntrack hash size. This change will take affect when the system is rebooted.

�1
�[ service nat rule 6001 outbound-interface eth0.2 ]
NAT configuration warning: interface eth0.2 does not exist on this system

�1
�[ service nat rule 6002 outbound-interface eth0.2 ]
NAT configuration warning: interface eth0.2 does not exist on this system

�1
�[ service nat rule 6003 outbound-interface eth0.2 ]
NAT configuration warning: interface eth0.2 does not exist on this system

�1
�[ interfaces ethernet eth0 dhcp-options ]
Renewing DHCP lease on eth0 ...

�1
�[ interfaces ethernet eth0 vif 2 address dhcp ]
Starting DHCP client on eth0.2 ...

�1
�[ system syslog ]
Stopping enhanced syslogd: rsyslogd.
Starting enhanced syslogd: rsyslogd.

�1
�[ system ntp ]
Starting NTP server: ntpd.

�1
�[ system package repository wheezy ]
Adding new entry to /etc/apt/sources.list...

�1
�[ service dhcp-server ]
Stopping DHCP server daemon...
Starting DHCP server daemon...

�1
�[ service lldp ]
Starting lldpd...

�1
�[ service upnp2 ]
Error: must define at least one listen-on interface

�0
�[ interfaces ethernet eth0 vif 2 dhcpv6-pd ]
Starting new daemon...

�1
Commit failed
, failure=1, success=1}, DELETE={failure=0, success=1}, SESSION_ID=1e0eb4f93f628b414f9969e26c, SET={failure=0, success=1}}
[18:58:13,355] INFO event - [event] Gateway[b4:fb:e4:8a:a6:04] Configuration Commit Error. Error message: {"COMMIT":{"error":"�[ system conntrack hash-size 32768 ]\nUpdated conntrack hash size. This change will take affect when the system is rebooted.\n\n�1\n�[ service nat rule 6001 outbound-interface eth0.2 ]\nNAT configuration warning: interface eth0.2 does not exist on this system\n\n�1\n�[ service nat rule 6002 outbound-interface eth0.2 ]\nNAT configuration warning: interface eth0.2 does not exist on this system\n\n�1\n�[ service nat rule 6003 outbound-interface eth0.2 ]\nNAT configuration warning: interface eth0.2 does not exist on this system\n\n�1\n�[ interfaces ethernet eth0 dhcp-options ]\nRenewing DHCP lease on eth0 ...\n\n�1\n�[ interfaces ethernet eth0 vif 2 address dhcp ]\nStarting DHCP client on eth0.2 ...\n\n�1\n�[ system syslog ]\nStopping enhanced syslogd: rsyslogd.\nStarting enhanced syslogd: rsyslogd.\n\n�1\n�[ system ntp ]\nStarting NTP server: ntpd.\n\n�1\n�[ system package repository wheezy ]\nAdding new entry to /etc/apt/sources.list...\n\n�1\n�[ service dhcp-server ]\nStopping DHCP server daemon...\nStarting DHCP server daemon...\n\n�1\n�[ service lldp ]\nStarting lldpd...\n\n�1\n�[ service upnp2 ]\nError: must define at least one listen-on interface\n\n�0\n�[ interfaces ethernet eth0 vif 2 dhcpv6-pd ]\nStarting new daemon...\n\n�1\nCommit failed\n","failure":"1","success":"1"},"DELETE":{"failure":"0","success":"1"},"SESSION_ID":"1e0eb4f93f628b414f9969e26c","SET":{"failure":"0","success":"1"}}
[18:58:17,685] INFO inform - from [b4:fb:e4:8a:a6:04](, UGW3, 4.4.36.5146617): state=PROVISIONING, last_inform=4, ext_ip=192.168.1.1, dev_ip=136.55.21.190, up=685
[18:58:17,710] INFO dev - [cfgversion] dev[b4:fb:e4:8a:a6:04] provisioning: cur[?], expected[149394ff55a7c195]
[18:58:18,074] INFO inform - <<< [setparam] dev[b4:fb:e4:8a:a6:04]: [_type, cfgversion, system_cfg, blocked_sta, mgmt_cfg, server_time_in_utc]
[18:58:57,703] INFO inform - from [b4:fb:e4:8a:a6:04](, UGW3, 4.4.36.5146617): state=PROVISIONING, last_inform=40, ext_ip=192.168.1.1, dev_ip=136.55.21.190, up=729
[18:58:57,708] ERROR dev - [commit errors] dev[b4:fb:e4:8a:a6:04], {COMMIT={error=�[ service upnp2 ]
Error: must define at least one listen-on interface

�0
Commit failed
, failure=1, success=1}, DELETE={failure=0, success=1}, SESSION_ID=1e0eb4f93f628b414f9969e26c, SET={failure=0, success=1}}
[18:58:57,737] INFO event - [event] Gateway[b4:fb:e4:8a:a6:04] Configuration Commit Error. Error message: {"COMMIT":{"error":"�[ service upnp2 ]\nError: must define at least one listen-on interface\n\n�0\nCommit failed\n","failure":"1","success":"1"},"DELETE":{"failure":"0","success":"1"},"SESSION_ID":"1e0eb4f93f628b414f9969e26c","SET":{"failure":"0","success":"1"}}
[18:59:02,049] INFO inform - from [b4:fb:e4:8a:a6:04](, UGW3, 4.4.36.5146617): state=PROVISIONING, last_inform=5, ext_ip=192.168.1.1, dev_ip=136.55.21.190, up=729
[18:59:02,071] INFO dev - [cfgversion] dev[b4:fb:e4:8a:a6:04] provisioning: cur[?], expected[149394ff55a7c195]
[18:59:02,767] INFO inform - <<< [setparam] dev[b4:fb:e4:8a:a6:04]: [_type, cfgversion, system_cfg, blocked_sta, mgmt_cfg, server_time_in_utc]
[18:59:02,767] INFO inform - INFORM-SLOW: mac=b4:fb:e4:8a:a6:04, msec=720
[18:59:42,459] INFO inform - from [b4:fb:e4:8a:a6:04](, UGW3, 4.4.36.5146617): state=PROVISIONING, last_inform=40, ext_ip=192.168.1.1, dev_ip=136.55.21.190, up=774
[18:59:42,463] ERROR dev - [commit errors] dev[b4:fb:e4:8a:a6:04], {COMMIT={error=�[ service upnp2 ]
Error: must define at least one listen-on interface

�0
Commit failed
, failure=1, success=1}, DELETE={failure=0, success=1}, SESSION_ID=1e0eb4f93f628b414f9969e26c, SET={failure=0, success=1}}
[18:59:42,486] INFO event - [event] Gateway[b4:fb:e4:8a:a6:04] Configuration Commit Error. Error message: {"COMMIT":{"error":"�[ service upnp2 ]\nError: must define at least one listen-on interface\n\n�0\nCommit failed\n","failure":"1","success":"1"},"DELETE":{"failure":"0","success":"1"},"SESSION_ID":"1e0eb4f93f628b414f9969e26c","SET":{"failure":"0","success":"1"}}
[18:59:46,760] INFO inform - from [b4:fb:e4:8a:a6:04](, UGW3, 4.4.36.5146617): state=PROVISIONING, last_inform=4, ext_ip=192.168.1.1, dev_ip=136.55.21.190, up=774
[18:59:46,779] INFO dev - [cfgversion] dev[b4:fb:e4:8a:a6:04] provisioning: cur[?], expected[149394ff55a7c195]
[18:59:47,156] INFO inform - <<< [setparam] dev[b4:fb:e4:8a:a6:04]: [_type, cfgversion, system_cfg, blocked_sta, mgmt_cfg, server_time_in_utc]
[19:00:02,963] WARN sdn - failed to get connectivity details: config.ubnt.com
[19:00:03,071] WARN sdn - Failed to create key store
java.lang.NullPointerException: null
at com.ubnt.service.sdn.P.Ò00000(Unknown Source) ~[ace.jar:?]
at com.ubnt.service.sdn.P.super(Unknown Source) [ace.jar:?]
at com.ubnt.net.new.A.new.OoOO.o00000(Unknown Source) [ace.jar:?]
at com.ubnt.service.sdn.OOOo.oöO000(Unknown Source) [ace.jar:?]
at com.ubnt.service.OoOO.Objectnew$5.run(Unknown Source) [ace.jar:?]
at com.ubnt.ace.String$_OOo.run(Unknown Source) [ace.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_181]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_181]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_181]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_181]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_181]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_181]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
[19:00:03,095] WARN sdn - unable to generate rest client: null
[19:00:03,212] WARN sdn - failed to check IoT certificate: null
[19:00:26,759] INFO inform - from [b4:fb:e4:8a:a6:04](, UGW3, 4.4.36.5146617): state=PROVISIONING, last_inform=40, ext_ip=192.168.1.1, dev_ip=136.55.21.190, up=818
[19:00:26,763] ERROR dev - [commit errors] dev[b4:fb:e4:8a:a6:04], {COMMIT={error=�[ service upnp2 ]
Error: must define at least one listen-on interface

�0
Commit failed
, failure=1, success=1}, DELETE={failure=0, success=1}, SESSION_ID=1e0eb4f93f628b414f9969e26c, SET={failure=0, success=1}}
[19:00:26,782] INFO event - [event] Gateway[b4:fb:e4:8a:a6:04] Configuration Commit Error. Error message: {"COMMIT":{"error":"�[ service upnp2 ]\nError: must define at least one listen-on interface\n\n�0\nCommit failed\n","failure":"1","success":"1"},"DELETE":{"failure":"0","success":"1"},"SESSION_ID":"1e0eb4f93f628b414f9969e26c","SET":{"failure":"0","success":"1"}}
[19:00:31,081] INFO inform - from [b4:fb:e4:8a:a6:04](, UGW3, 4.4.36.5146617): state=PROVISIONING, last_inform=5, ext_ip=192.168.1.1, dev_ip=136.55.21.190, up=818
[19:00:31,106] INFO dev - [cfgversion] dev[b4:fb:e4:8a:a6:04] provisioning: cur[?], expected[149394ff55a7c195]
[19:00:31,450] INFO inform - <<< [setparam] dev[b4:fb:e4:8a:a6:04]: [_type, cfgversion, system_cfg, blocked_sta, mgmt_cfg, server_time_in_utc]`

Any help is appreciated.

Update IPv6 prefix-length and prefix-id for Google Fiber configs

It seems as though Google Fiber has switched from provisioning /56 IPv6 addresses to /64. Would be great to update the configs accordingly.

I'm no networking expert, but I updated the prefix-length to /64 and deleted the prefix-ids, and my ERPOE-5 is now issuing IPv6 addresses again.

dhcpv6-pd ERL config settings failing to apply

I believe this portion of the ERL config may be failing in the latest version:
dhcpv6-pd { pd 0 { interface eth1 { host-address ::1 prefix-id :0 service slaac } interface eth2 { host-address ::1 prefix-id :1 service slaac } interface eth2.102 { host-address ::1 prefix-id :2 service slaac } prefix-length /64 } rapid-commit enable }
I tried to manually apply these settings via the Config Tree and ran into the below Alert error message: prefix-id must be less than :: for prefix /64

I was able to apply the settings by removing the prefix id altogether, however, I won't be able to confirm a valid ipv6 address until likely tomorrow? I'm not sure how important the prefix-id is for each of the interfaces. (I apologize for the bad formatting, I'm not sure how to add new lines in the code block)

I did notice there was speculation in #24 that the prefix switched back to /56 but not sure if that is accurate or not.

Comcast/config.boot.erl not working for me

I just purchased an Ubiquiti Edgerouter Lite ERLITE-3 Desktop Router yesterday. I upgraded the firmware to version ER-e100.v1.9.1.4939093.tar I attempted to use the exact config you have here with no changes: Comcast/config.boot.erl

I ssh into my router & then use vi to create the /home/ubnt/config.boot. Then:

ubnt@ubnt:~$ sudo cp /home/ubnt/config.boot /config/config.boot
ubnt@ubnt:~$ configure
[edit]
ubnt@ubnt# load
Loading configuration from '/config/config.boot'...
Invalid config file (syntax error): error at line 450, text []
Failed to parse specified config file
No configuration changes to commit
[edit]

I'm not sure what is causing this: Invalid config file (syntax error): error at line 450, text []

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.