<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Odhcpd on MacGeeker</title>
    <link>https://macgeeker.com/tags/odhcpd/</link>
    <description>Recent content in Odhcpd on MacGeeker</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>sammeyhu@gmail.com (MacGeeker)</managingEditor>
    <webMaster>sammeyhu@gmail.com (MacGeeker)</webMaster>
    <lastBuildDate>Sun, 24 May 2026 16:07:56 +0800</lastBuildDate><atom:link href="https://macgeeker.com/tags/odhcpd/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Gentoo Linux 手搓路由器 —— 使用 odhcpd 支持 IPv6</title>
      <link>https://macgeeker.com/linux-router-ipv6-odhcpd.html</link>
      <pubDate>Sun, 24 May 2026 16:07:56 +0800</pubDate>
      <author>sammeyhu@gmail.com (MacGeeker)</author>
      <guid>https://macgeeker.com/linux-router-ipv6-odhcpd.html</guid>
      <description>
        
          
            &lt;p&gt;继之前的几篇文章：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;《&lt;a href=&#34;https://macgeeker.com/linux/router/&#34; title=&#34;使用 Gentoo Linux 搭建简单路由器并支持IPTV功能&#34; target=&#34;_blank&#34;&gt;使用 Gentoo Linux 搭建简单路由器并支持IPTV功能&lt;/a&gt;》&lt;/li&gt;
&lt;li&gt;《&lt;a href=&#34;https://macgeeker.com/linux/linux-iptv/&#34; title=&#34;IPTV单线复用——在Linux系统上配置&#34; target=&#34;_blank&#34;&gt;IPTV单线复用——在Linux系统上配置&lt;/a&gt;》&lt;/li&gt;
&lt;li&gt;《&lt;a href=&#34;https://macgeeker.com/linux/router-xray/&#34; title=&#34;使用 Gentoo Linux 手搓路由器之二 -- 透明代理&#34; target=&#34;_blank&#34;&gt;使用 Gentoo Linux 手搓路由器之二 -- 透明代理&lt;/a&gt;》&lt;/li&gt;
&lt;li&gt;《&lt;a href=&#34;https://macgeeker.com/linux/router-ipset/&#34; title=&#34;使用 Gentoo Linux 手搓路由器之三 -- 国内访问加速&#34; target=&#34;_blank&#34;&gt;使用 Gentoo Linux 手搓路由器之三 -- 国内访问加速&lt;/a&gt;》&lt;/li&gt;
&lt;li&gt;《&lt;a href=&#34;https://macgeeker.com/linux-router-ipv6.html&#34; title=&#34;使用Gentoo Linux手搓路由器之四 -- 支持 IPv6&#34; target=&#34;_blank&#34;&gt;使用Gentoo Linux手搓路由器之四 -- 支持 IPv6&lt;/a&gt;》&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;本文继续折腾 &lt;code&gt;Gentoo Linux&lt;/code&gt; 手搓路由器的 &lt;code&gt;IPv6&lt;/code&gt; 支持。上一篇 &lt;code&gt;IPv6&lt;/code&gt; 的方案使用的是 &lt;code&gt;bridge + ebtables&lt;/code&gt;，让 &lt;code&gt;RA / NDP&lt;/code&gt; 这类 &lt;code&gt;IPv6&lt;/code&gt; 必要报文在 &lt;code&gt;WAN&lt;/code&gt; 和 &lt;code&gt;LAN&lt;/code&gt; 之间通过网桥转发，再把真正的数据流量拉回三层路由处理。&lt;/p&gt;
&lt;p&gt;这个方案能跑，而且思路也挺有意思。但是内核升级到 &lt;code&gt;Linux 6.17&lt;/code&gt; 之后，&lt;code&gt;legacy ebtables&lt;/code&gt; 相关支持有了变化，直接照抄旧文会踩坑。所以这篇换一个思路：把 &lt;code&gt;IPv6&lt;/code&gt; 的 &lt;code&gt;RA / DHCPv6 / NDP relay&lt;/code&gt; 交给 &lt;code&gt;OpenWrt&lt;/code&gt; 里成熟使用的 &lt;code&gt;odhcpd&lt;/code&gt;。&lt;/p&gt;
          
          
        
      </description>
    </item>
    
  </channel>
</rss>
