小水管,弄了下,最多叠加两拨了

2026-06-12技术讨论6

本文转载于9090社区,帖子链接:https://qq9090.top/thread-605898-1-1.html

作者: 浦口刘亦菲    时间: 2026-6-11 17:55
你们的还好吗?3911.jpeg(77.9 KB, 下载次数: 0)下载附件2026-6-11 17:55 上传3909.jpeg(283.97 KB, 下载次数: 0)下载附件2026-6-11 17:55 上传3907.jpeg(290.16 KB, 下载次数: 0)下载附件2026-6-11 17:55 上传
作者: gillospol    时间: 2026-6-11 18:08
JS-NJ-JP-XJ是哪个地区


你多拨以后能拿到几个不同IP段?

作者: 浦口刘亦菲    时间: 2026-6-11 18:42
/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]

/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=218.2.2.2,218.4.4.4

/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 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 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 chain=prerouting in-interface=bridge-lan connection-mark=conn-pppoe1 action=mark-routing new-routing-mark=to-pppoe1 passthrough=no
add 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



自己mark一下,贴出我的配置,有需要的拿走
作者: zh00zh    时间: 2026-6-12 10:35
看到这些代码命令就头晕。仿佛跟楼主不是一个世界的。上网很多年,多拨也看了不少,就是没花心思去研究。估计不是吾等能玩的。
作者: 1069    时间: 2026-6-12 10:48
哪家的宽带?
作者: 江湖混混    时间: 2026-6-12 11:43
还是联通好直接没有多拨
作者: xtony    时间: 2026-6-12 12:16
什么软件?
作者: cncqcy    时间: 2026-6-12 13:54
这个路由器家里也有一个,已经好久没玩了,百兆宽带的时候玩玩,千兆的拨了除了上行有点用,下行已经没意识了

本文转载于9090社区,帖子链接:https://qq9090.top/thread-605898-1-1.html

“小水管,弄了下,最多叠加两拨了” 的相关文章

【转V2EX】 南京电信移机以后不给公网 ipv4 了

作者: gillospol    时间: 2024-12-23 23:40 本帖最后由 gillospol 于 2024-12-23 23:44 编辑 Snipaste_2024-12-23_23-3...

大家有用fterm挂过bbs吗?

作者: opera2007    时间: 前天 15:30我登录挂机涨积分,可是可能设置没有搞定,防发呆设置了,可是过不了多久就断线,退出,不知道哪里设置,求指点...

我国首款量子计算机量产

作者: worldly_guest    时间: 前天 13:43我国量子计算领域迎来历史性突破!由本源量子自主研发的第三代超导量子计算机“悟空”今日正式宣布量产,其搭载的72比特“悟空芯”量子芯片,...

怎样在鼠标右键菜单中加入“扩展显示”?

作者: eAstwind    时间: 2025-2-25 22:08win10系统,另一台电脑可以实现对着桌面右击鼠标的菜单中出现“扩展显示”,可以通过鼠标就勾选双或单显示器。现在换了一台电脑,也是...

路上还有代换CPU的?

作者: 1069    时间: 2025-2-28 18:15笔记本有点老了,想换个CPU,笔记本电脑是联想X230I   作者: npcjy    时间: 2025-2-28 18:16太老了,没必...