MikroTik RouterOS 相關

● 頻寬限制

Queues → [Simple Queues]

需要先停用防火牆的硬體加速功能如下,否則限速無法作用。

IP → Firewall → [Filter Rules] → Action = fasttrack connection

● 設定 DHCP Server

1. IP → Addresses → ✚

Address : 192.168.7.1/24
Network : 192.168.7.0
Interface : Bridge-Lan (通常會建 Bridge 把 ether2~5 綁在一起當 LAN)

2. IP → Pool → [Pools] → ✚

Name : dhcp_pool (自訂)
Addresses : 192.168.7.2-192.168.7.250

3. IP → DHCP Server

[DHCP] → ✚ → [Generic]

Name : Lan_Dhcp (自訂)
Interface : Bridge-Lan
Address Pool : dhcp_pool (第2步驟建立)

[Networks] → ✚

Address : 192.168.7.0/24
Gateway : 192.168.7.1
Netmask : 24
DNS Servers : 168.95.1.1, 168.95.192.1

4. IP → Firewall → [NAT]→ ✚

[General]

Chain : srcnat
Src. Address : 192.168.7.0/24

[Action]

Action : masquerade

參考 : MikroTik RouterOS 設定成 分享器 DHCP Server 及 NAT 功能

● 設定 PPPoE Server

1. IP → Pool → ✚

Name : Pool_PPPoE
Addresses : 192.168.100.2-192.168.100.250

2. PPP → Profiles → ✚

【General】
Name:Profiles_PPP
Local Address : 192.168.100.1
Remote Address : Pool_PPPoE
DNS Server : 8.8.8.8

【Limits】
Rate Limit (rx/tx) : 10M

3. PPP → Secrets → ✚

Name : PPPoE 帳號
Password : PPPoE 密碼
Service : pppoe
Profile : Profiles_PPP
Limit Bytes In : 達到指定的流量會自動斷線
Limit Bytes Out : 達到指定的流量會自動斷線

4. PPP → PPPoE Servers → ✚

Service Name : Service_PPPoE
Interface : Bridge-Lan
One Session Per Host : checked

5. IP → Firewall → NAT

【General】
Chain : srcnat

【Action】
Action : masquerade

參考 : ROS路由器 ROS軟路由系統PPPOE serve伺服器配置技術

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *