「研究所」EdgeOS 學習 / EdgeRouter Lite-3 開箱

hayabusa1812 wrote:
借個版,請問各位大大(恕刪)
 
 
方便提供一下你的設定嗎?我的環境和你的也是一樣但是沒有發生開一時間後會變慢的問題,
如果你的小烏龜後面只有接ERL-3和MOD機上盒的話,
我的建議是可以把小烏龜的pppoe刪掉或把帳號改成[email protected]
讓小烏龜只做訊號轉換和MOD網路bridge就好減少小烏龜的負荷
中華的話沒有pppoe硬播MOD也是可以通的
 
以下是我的ER-X的設定你可以參考看看user-id & password是pppoe的帳密設定地方可以替代改成你自己的
小烏龜---|--->(eth0)ER-X(eth1)--->unfi-AP
             L-->MOD
 
LAN:192.168.1.0/24
 
/* Release version: v2.0.8.5247496.191120.1124 */
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 1 {
action accept
description "Allow established/related"
log disable
protocol all
state {
established enable
invalid disable
new disable
related enable
}
}
rule 2 {
action drop
description "Drop invalid state"
log disable
protocol all
state {
established disable
invalid enable
new disable
related disable
}
}
}
name WAN_LOCAL {
default-action drop
description "WAN to router"
rule 1 {
action accept
description "Allow established/related"
log disable
protocol all
state {
established enable
invalid disable
new disable
related enable
}
}
rule 2 {
action drop
description "Drop invalid state"
log disable
protocol all
state {
established disable
invalid enable
new disable
related disable
}
}
}
options {
mss-clamp {
interface-type pppoe
mss 1452
}
}
receive-redirects disable
send-redirects enable
source-validation disable
syn-cookies enable
}
interfaces {
ethernet eth0 {
description "Switch Port"
duplex auto
pppoe 0 {
default-route auto
firewall {
in {
name WAN_IN
}
local {
name WAN_LOCAL
}
}
mtu 1492
name-server auto
user-id [email protected]
}
speed auto
}
ethernet eth1 {
description "Switch Port"
duplex auto
speed auto
}
ethernet eth2 {
description "Switch Port"
duplex auto
speed auto
}
ethernet eth3 {
description "Switch Port"
duplex auto
speed auto
}
ethernet eth4 {
description "Switch Port"
duplex auto
poe {
output off
}
speed auto
}
switch switch0 {
address 192.168.1.254/24
mtu 1500
switch-port {
interface eth1 {
}
interface eth2 {
}
interface eth3 {
}
interface eth4 {
}
vlan-aware disable
}
service {
dhcp-server {
disabled false
hostfile-update disable
shared-network-name DHCP {
authoritative disable
subnet 192.168.1.0/24 {
default-router 192.168.1.254
dns-server 8.8.8.8
dns-server 168.95.1.1
lease 86400
start 192.168.1.100 {
stop 192.168.1.200
}
}
}
nat {
rule 5000 {
description NAT
log disable
outbound-interface pppoe0
protocol all
type masquerade
}
}
cses902217 wrote:
  方便提供一下你的(恕刪)


謝謝大大的回覆,小弟晚一點回家 再把設定貼上來!!
多送出,請刪除
請問一下EdgeRouter X怎麼使用PPPoE Relay,有執行"sudo pppoe-relay -S eth0 -C switch0",PC還是無法撥接成功,不知道是我少做了什麼嗎?目前使用2.0.9.4版
文章分享
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 17)

今日熱門文章 網友點擊推薦!