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

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
L
LangChain Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Recent Announcements
Recent Announcements
大猫的无限游戏
大猫的无限游戏
罗磊的独立博客
MongoDB | Blog
MongoDB | Blog
博客园 - 【当耐特】
博客园 - 叶小钗
I
InfoQ
MyScale Blog
MyScale Blog
H
Help Net Security
月光博客
月光博客
Vercel News
Vercel News
B
Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
D
DataBreaches.Net
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
N
Netflix TechBlog - Medium
宝玉的分享
宝玉的分享
WordPress大学
WordPress大学
GbyAI
GbyAI
Blog — PlanetScale
Blog — PlanetScale
博客园 - Franky

宽带症候群

机场专用客户端如何抓取节点 用了好多年的机场(梯子)就快停止服务了,求大家推荐一些价格实惠的机场或者梯子 V2EX › 登录 [开源] 中兴路由器 Web 后台全系增强插件 联通宽带速率不达标 现在这个形势,推荐备一个 CMHK 的流量卡 湖北电信宽带免费提速活动 对上海联通限速的观察和讨论 lucky 2 的卡,查询 ip 的时候是在香港,但是网站识别到的地区似乎在日本 求推荐对 claude code, chatgpt 友好的联网方法 如何在国内受限网络环境下使用官方 claude 或 codex 等模型? 随身 wifi 有推荐的吗,流量大的。 异地组网方案怎么选?从 n2n 到 WireGuard,折腾一圈后的真实记录 海鲜市场花 1700 大洋买了个苏州电信的老号 一个 ipv6 /64 被电信屏蔽,联通移动全绿电信全红,这是新型的运营商墙么? holafly esim 在国内数据漫游 国内 ipv6 的 ddns 已经完全失效了吗? 家庭环境下,屏蔽线怎么接地,单端还是双端 [宽带症候群] 求助-开了 v2rayA,家里面上不了网了 阿里云轻量服务器用来做加宽中转实际会被 ban 吗? 这段时间移动网络是不是很差? 为啥短信还在收费 咨询一个 iptv 的问题 最近几周发现 webdav 没用了 今天仔细一查发现疑似运营商阻断了? 中兴星云 POE 套装怎么样,有大佬用过吗 准备自己搭一套全屋 WiFi,方案基本确定,但在软路由和部署方式上有点纠结,想请教下有经验的朋友 豆瓣在广东电信的解析是不是又崩了 翻墙后的手机怎么把热点共享出去也让其他设备能翻墙上网 你们有没有遇到过,通过梯子看 youtube 高清视频的时候,竟然会导致全家的 wifi 异常断开 局域网内 ping 电视丢包。这个一般啥原因啊?
迁移 quagga-ripd 到 bird2 的配置实例分享
klh · 2026-05-19 · via 宽带症候群

多年前分享了一些帖子主要是多个 LAN 通过 n2n/tinc 等 P2P 技术组网后再通过 quagga-ripd 进行动态路由建立连接,如/t/791392等,但在新版本的 openwrt 上  quagga 已经不再官方库中提供了,一个比较简便的方便以及直接使用 frr 进行替换,frr 是 quagga 的分支,配置基本能够通用,配置方法也是接近一致,经过测试是能够正常工作的。

但是一个更好的/更现代的方案就是通过 bird2 做动态路由管理,但是 bird2 和 quagga 的配置差异比较大,而且官方文档其它没有很好的介绍配置的具体作用,要想正常建立一下配置还是挺多坑的,特别是要兼容旧的用 quagga 建立的 rip 路由。

以下分享一下具体配置的迁移实例供参考:

The Migration Example

Let’s look at a concrete scenario. Suppose you have an OpenWrt router acting as a node in a mesh network connected via Tinc VPN (tincn0) and serving a local LAN (br-lan).

The Old Quagga Configuration (/etc/quagga/ripd.conf)

In Quagga, the configuration relied on VTY lines for local access security and network network-fuzzing statements:

password zebra
!
router rip
 network 10.193.111.0/24
 route 10.193.99.0/24
!
access-list vty permit 127.0.0.0/8
access-list vty deny any
!
line vty
 access-class vty

The New Equivalent BIRD2 Configuration (/etc/bird.conf)

In BIRD2, there is no need for local VTY passwords because administration is safely handled via a local Unix Domain Socket (/var/run/bird.ctl).

Instead of network network-fuzzing statements, BIRD2 maps explicitly to kernel interfaces and uses an Export Filter to control exactly what routes get broadcasted:

# 1. Standard Production Log Levels
log syslog { info, warning, error, fatal };

# 2. Unique Router Identifier
router id 10.193.111.99;

# Core Protocol: Synchronizes BIRD routing table with the Linux Kernel
protocol kernel {
    ipv4 {
        import all;
        export all; # Push routes learned via RIP straight to OpenWrt kernel
    };
}

# Core Protocol: Monitors interface link states (Up/Down)
protocol device {
}

# Core Protocol: Imports local directly-connected interfaces into BIRD's memory
protocol direct {
    ipv4;
    interface "br-lan", "tincn0";
}

# RIP Dynamic Routing Protocol Instance
protocol rip my_rip {
    ipv4 {
        import all;    # Accept all RIP routes sent by neighbors
        export filter {
            # Equivalent to Quagga's 'network' and 'route' statements.
            # Only announce these specific local prefixes to neighbors.
            if net ~ [ 10.193.111.0/24, 10.193.99.0/24 ] then accept;
            reject;
        };
    };

    # Run RIPv2 Multicast over the Tinc VPN Interface
    interface "tincn0" {
        version 2;
        mode multicast;
        update time 30;
    };

    # Run RIPv2 Multicast over the Local LAN Interface
    interface "br-lan" {
        version 2;
        mode multicast;
        update time 30;
    };
}

以上,供参考。