Skip to content

Instantly share code, notes, and snippets.

View datsenko's full-sized avatar

Игорь Даценко datsenko

  • home
  • Украина
View GitHub Profile
@datsenko
datsenko / test
Created January 11, 2016 22:06
test
set traffic-policy shaper shaper1 bandwidth 100mbit
set traffic-policy shaper shaper1 default bandwidth 60mbit
set traffic-policy shaper shaper1 class 2 bandwidth 20mbit
set traffic-policy shaper shaper1 class 2 match client2 ip source address 10.0.1.2/32
set traffic-policy shaper shaper1 class 3 bandwidth 20mbit
set traffic-policy shaper shaper1 class 3 match client3 ip source address 10.0.1.3/32
set interfaces ethernet eth0 traffic-policy out shaper1
commit
@stevejenkins
stevejenkins / config.boot.diff
Created January 1, 2016 23:31
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"
@beardicus
beardicus / edgerouter-qos
Last active September 29, 2023 16:41
EdgeRouter Lite QOS Settings
#
# fair-queue based settings for EdgeRouter Lite traffic shaping
#
# download is typically 30 and change. everything can burst to 100%
# of bandwidth, priority rules keep the garbage in check
set traffic-policy shaper download
set traffic-policy shaper download bandwidth 30Mbit