WWW.YOUINFO.SITE
标签聚合 路由

/tag/路由

v2ex · 2026-06-11 19:01:19+08:00 · tech

/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];};"

LinuxDo 最新话题 · 2026-06-11 15:27:04+08:00 · tech

如题,我现在配置了RawChat和Any两位佬的站点,而这两个站点调用的模型名称是不一样的;RawChat调用“gpt-5.5”,Any调用“gpt-5-codex”;那么我在使用路由过程中,如果需要切换的话,还需要重启codex才能完成切换,我尝试在any的节点上配置模型映射,但是没有成功,是配置的问题还是就是需要重启codex?求求佬们给个解答。 1 个帖子 - 1 位参与者 阅读完整话题

cnBeta全文版 · 2026-06-09 14:35:33+08:00 · tech

素来有路由器之王称号的普联技术也就是TP-Link,最近在深圳总部突发大规模劳动合同转签风波,事件波及大量内部员工,已经引发全公司大范围震动。据悉本次事件里,TP-Link要求深圳区域所有在职员工,把原本和普联技术本部签订的劳动关系,整体转签到旗下一家名为思码逻辑的全资子公司名下。 员工强烈抵触的核心矛盾点在于,思码逻辑的注册资本仅为3000万元,这个数字大约只有母公司普联技术注册资本的十八分之一。 一旦劳动关系完成转签,后续如果这个新的签约主体出现解散或者破产清算的情况,员工能够依法主张的企业责任赔付上限,将会直接断崖式缩水,合法权益很难得到足额保障。 这类强制转签的争议并不是孤立出现的,据在职员工透露,早在2026年4月,TP-Link刚完成过一轮涉及超140人的大规模裁员,无线、视频、SMB多条核心产品线里,多名高管和课长级管理人员都出现在裁员名单里,不少老员工坦言那段时间整个公司人心早已经散了。 等到5月底,陆续有员工查询自己的社保个人账户时,意外发现参保状态已经变成暂停参保,意味着从6月开始就有可能面临社保断缴的风险,直接触碰了所有员工的权益底线。 这场剧烈的内部人事震荡,并不是凭空发生的,恰好出现在TP-Link固守多年的核心市场阵地正遭遇同行激烈挤压的行业背景之下。 2026年4月国内路由器线上市场的格局已经发生明显变化,头部品牌的市场集中度出现显著下滑,华为以27.1%的销量份额强势登顶行业第一,小米以22.3%的占比排在第二位。 而长期占据市场霸主位置的TP-Link,整体份额已经滑落至20.3%,直接退居第三位,和领跑者华为之间的市场差距正在肉眼可见地快速拉大 。 查看评论