Skip to content

Instantly share code, notes, and snippets.

@stevejenkins
Created January 1, 2016 23:31
Show Gist options
  • Save stevejenkins/d18d269a7651e9f493b3 to your computer and use it in GitHub Desktop.
Save stevejenkins/d18d269a7651e9f493b3 to your computer and use it in GitHub Desktop.
diff -Naur between Steve Jenkins' ERLite-3 and Bryan Klingner's ER5-PoE config.boot files for Google Fiber + Ubiquiti EdgeRouter
--- config.boot.erl 2016-01-01 15:28:01.851501076 -0800
+++ config.boot.er5 2016-01-01 15:06:38.667501858 -0800
@@ -62,14 +62,20 @@
}
interfaces {
ethernet eth0 {
- address 192.168.1.1/24
- description LAN
+ address 192.168.0.1/24
+ description "Local Config Port"
duplex auto
+ poe {
+ output off
+ }
speed auto
}
ethernet eth1 {
description "Google Fiber Jack"
duplex auto
+ poe {
+ output 48v
+ }
speed auto
vif 2 {
address dhcp
@@ -87,18 +93,46 @@
}
}
ethernet eth2 {
- address 192.168.3.1/24
- description "Local Config Port"
+ description "LAN 0"
duplex auto
+ poe {
+ output off
+ }
+ speed auto
+ }
+ ethernet eth3 {
+ description "LAN 1"
+ duplex auto
+ poe {
+ output off
+ }
+ speed auto
+ }
+ ethernet eth4 {
+ description "LAN 2"
+ duplex auto
+ poe {
+ output off
+ }
speed auto
}
loopback lo {
}
+ switch switch0 {
+ address 192.168.1.1/24
+ description "LAN Switch"
+ mtu 1500
+ switch-port {
+ interface eth2
+ interface eth3
+ interface eth4
+ }
+ }
}
port-forward {
auto-firewall enable
hairpin-nat enable
- lan-interface eth0
+ lan-interface switch0
wan-interface eth1.2
}
service {
@@ -120,11 +154,9 @@
dns {
forwarding {
cache-size 1000
- listen-on eth0
+ listen-on switch0
name-server 8.8.8.8
name-server 8.8.4.4
- name-server 2001:4860:4860::8888
- system
}
}
gui {
@@ -144,26 +176,25 @@
protocol-version v2
}
upnp2 {
- listen-on eth0
+ listen-on switch0
nat-pmp disable
secure-mode disable
wan eth1.2
}
}
system {
- host-name UBNT-gateway
+ host-name edgy-loop
login {
- user ubnt {
+ user adminuser {
authentication {
- encrypted-password $1$zKNoUbAo$gomzUbYvgyUMcD436Wo66.
+ encrypted-password redacted
+ plaintext-password ""
}
level admin
}
}
name-server 8.8.8.8
name-server 8.8.4.4
- name-server 2001:4860:4860::8888
- name-server 2001:4860:4860::8844
ntp {
server 0.ubnt.pool.ntp.org {
}
@@ -194,9 +225,5 @@
}
}
}
- time-zone America/Denver
+ time-zone America/Chicago
}
-
-/* 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@4: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.7.0.4783374.150622.1534 */
@datsenko
Copy link

Thanks! )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment