惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
U
Unit 42
Google DeepMind News
Google DeepMind News
B
Blog RSS Feed
S
SegmentFault 最新的问题
阮一峰的网络日志
阮一峰的网络日志
雷峰网
雷峰网
Microsoft Security Blog
Microsoft Security Blog
爱范儿
爱范儿
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园_首页
Apple Machine Learning Research
Apple Machine Learning Research
罗磊的独立博客
GbyAI
GbyAI
Stack Overflow Blog
Stack Overflow Blog
Martin Fowler
Martin Fowler
宝玉的分享
宝玉的分享
L
LangChain Blog
Engineering at Meta
Engineering at Meta
量子位
有赞技术团队
有赞技术团队
博客园 - 【当耐特】
A
About on SuperTechFans
Y
Y Combinator Blog

路由器

翻墙路由器求推荐 - V2EX 小米 BE6500 路由器恢复出厂重新配置后,无法连接 - V2EX EdgeRouter 默认 RDNSS Lifetime 过短导致 iOS 设备唤醒时优先使用移动数据 - V2EX 从标准、技术到厂商全景: Wi-Fi 8 走到哪了? [转载纸媒] - V2EX 在老屋子使用 小小两居 拓展需求就一个 shellcrash 有没有路由器推荐 - V2EX 2026 下半年 家庭 wifi mesh 组网方案,求大家帮忙看一眼 - V2EX 联通烽火 hg2201u 光猫最新拿超密的方法 - V2EX 小米 B3600 Pro 路由器支持 Seamless Roaming(无缝漫游)吗? - V2EX 2026 下半年 MESH 有线回程的路由器推荐有哪些? - V2EX 芯片大涨价的情况下,当下 2.5G / 1G 最划算的软路由求推荐 - V2EX 2026 年过了一半了,家用环境,都刷 OP,软路由现在和传统路由孰强孰弱? - V2EX R3-4300U 这个 cpu 做软路由怎么样? 新房装修,组网问题,各位给个建议 WIFI7 的 MLO 一点都不好用 软路由玩法 家里软路由寿终正寝了,请推荐一款 求一个 AC+AP 面板方案, 5 个房间预埋了网线,配 Apple TV 旁路由和 HomeKit,求推荐具体型号(预算 2K 左右) 想在路由器上跑 Mihomo,配置文件里 "auto-route" 和 "auto-redirect" 有什么区别? 用啥设备做软路由的停电续航长一些 在 2026 年,求推荐便宜稳定带科学上网功能(clash)的路由器 目前家用千兆的路由,可以刷系统科学上网的有哪些好的推荐 最近折腾升级网络的事情 随身 wifi 比千元安卓机信号好很多吗 华为的 leadr ap 怎么样? 中兴 BE7200MAX 有可能刷 op 吗? 关于换路由器的问题 准备买个小米 BE3600PRO 子路由组网, poe 供电有推荐的嘛?大佬们 MikroTik RB5009 在 2026 是否还值得入手 PVE 装 ros 拔插 wan 口网线重新拨号很慢 ubnt 路由器咋样
mikrotik ros7.x 版本路由多拨配置,自己记录一下
xiaoxiannv · 2026-06-11 · via 路由器

/ip firewall mangle remove [find]
/ip firewall nat remove [find]
/ip route remove [find dst-address=0.0.0.0/0]
/interface pppoe-client remove [find name=pppoe1]
/interface pppoe-client remove [find name=pppoe2]
/routing table remove [find name=to-pppoe1]
/routing table remove [find name=to-pppoe2]
/system scheduler remove [find name=check-pppoe-failover]
/interface bridge port remove [find interface=WAN]
/interface bridge port remove [find interface=LAN1]
/interface bridge port remove [find interface=LAN2]
/interface bridge port add bridge=bridge-lan interface=LAN1
/interface bridge port add bridge=bridge-lan interface=LAN2
/ip dns set allow-remote-requests=yes servers=******,******
/interface pppoe-client
add name=pppoe1 interface=WAN ac-name="****" user="****" password="****" add-default-route=no use-peer-dns=no disabled=no
add name=pppoe2 interface=WAN ac-name="****" user="****" password="****" add-default-route=no use-peer-dns=no disabled=no
/ip firewall nat
add chain=srcnat out-interface=pppoe1 action=masquerade
add chain=srcnat out-interface=pppoe2 action=masquerade
/routing table
add fib name=to-pppoe1
add fib name=to-pppoe2
/ip firewall mangle
add comment=PCC1 chain=prerouting in-interface=bridge-lan connection-mark=no-mark dst-address-type=!local per-connection-classifier=both-addresses-and-ports:2/0 action=mark-connection new-connection-mark=conn-pppoe1 passthrough=yes
add comment=PCC2 chain=prerouting in-interface=bridge-lan connection-mark=no-mark dst-address-type=!local per-connection-classifier=both-addresses-and-ports:2/1 action=mark-connection new-connection-mark=conn-pppoe2 passthrough=yes
add comment=ROUTE1 chain=prerouting in-interface=bridge-lan connection-mark=conn-pppoe1 action=mark-routing new-routing-mark=to-pppoe1 passthrough=no
add comment=ROUTE2 chain=prerouting in-interface=bridge-lan connection-mark=conn-pppoe2 action=mark-routing new-routing-mark=to-pppoe2 passthrough=no
/ip route
add dst-address=0.0.0.0/0 gateway=pppoe1 routing-table=to-pppoe1 distance=1
add dst-address=0.0.0.0/0 gateway=pppoe2 routing-table=to-pppoe2 distance=1
add dst-address=0.0.0.0/0 gateway=pppoe1 distance=1
add dst-address=0.0.0.0/0 gateway=pppoe2 distance=2
/system scheduler
add name=check-pppoe-failover interval=10s on-event=":local p1 [/interface get pppoe1 running]; :local p2 [/interface get pppoe2 running]; :if (\$p1 && \$p2) do={/ip firewall mangle enable [find comment=PCC1]; /ip firewall mangle enable [find comment=PCC2]; /ip firewall mangle enable [find comment=ROUTE1]; /ip firewall mangle enable [find comment=ROUTE2];}; :if (\$p1 && !\$p2) do={/ip firewall mangle enable [find comment=PCC1]; /ip firewall mangle disable [find comment=PCC2]; /ip firewall mangle enable [find comment=ROUTE1]; /ip firewall mangle disable [find comment=ROUTE2];}; :if (!\$p1 && \$p2) do={/ip firewall mangle disable [find comment=PCC1]; /ip firewall mangle enable [find comment=PCC2]; /ip firewall mangle disable [find comment=ROUTE1]; /ip firewall mangle enable [find comment=ROUTE2];};"