

Buffalo WZR-600DHP OpenWrt使用Comcast的IPv6
source link: http://maskray.me/blog/2016-12-10-buffalo-wzr-600dhp-openwrt-comcast-ipv6
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Buffalo WZR-600DHP OpenWrt使用Comcast的IPv6
根据https://wiki.openwrt.org/toh/buffalo/wzr-600dhp在Buffalo WZR-600DHP上安装OpenWrt。Buffalo路由器的好处在于brick了还能借助bootloader用tftp安装。
我的Internet service provider为COMCAST-7922 - Comcast Cable Communications, LLC, US,提供了4个IPv6 delegated prefix /64。
配置odhcpd的DHCPv6 relay,修改/etc/config/dhcp
:
修改/etc/config/network
。wan和wan6的bridge没啥用,注释掉option type 'bridge'
。
如果不填写ip6assign '60'
的话,在连接路由器的设备上dhcpcd -6
会看到:
我使用的openwrt-15.05.1-ar71xx-generic-wzr-600dhp-squashfs-sysupgrade.bin
比较古怪,默认禁用了eth0
(lan)及eth1
(wan)的IPv6。
用sysctl
把它们改成0。要持久化配置的话,修改/etc/config/firewall
:
修改完两个文件后/etc/init.d/network reload; /etc/init.d/dhcp reload
。
笔记本电脑
我的笔记本电脑安装Arch Linux,使用netctl、netctl-auto管理网络。向/etc/netctl/$profile
添加两行:
默认的DHCPv6客户端dhclient不工作,不明原因,观察/usr/lib/network/ip
发现设置DHCP6Client
即可指定DHCPv6客户端。
之后访问http://test-ipv6-ct.comcast.net,查看IPv6评分,10 of 10。
路由器上opkg install tcpdump
,之后在笔记本电脑上mkfifo fifo; ssh [email protected] 'tcpdump -s0 -Unw - -i eth1' > fifo
,另一个shell里wireshark -ki fifo
。
IPv6一直弄不好,在TUNA群里大家讨论诊断了很久,王邈给出了很多诊断建议。小结下有这些东西:
注意以下值:
怕ip6tables产生影响的话,ip6tables -F; ip6tables -P ACCEPT FORWARD
。
对于OpenWrt系统,当disable_ipv6=1
的时候,如果接口外面套了bridge,那么对外发送IPv6包(如connect、sendto等syscall)找不到路由时会报告EACCES(Permision denied);即使有路由,tcpdump也看不到有包发出去。当心套上bridge后会丢失一些错误信息,ip -6 a a $ip6 dev br-wan
不会报错,但ip -6 a a $ip6 dev eth1
会报告EACCES(Permission denied)。
之前使用D-Link DIR-860 B1,https://www.amazon.com上有打折后$30.75的。通过网页界面安装OpenWrt很方便,但是室友报告Steam上很多游戏有明显丢包。
Recommend
-
76
-
52
Replaces Buffalo with Standard LibraryRemove Buffalo hacks for tracing/stats.Follow up PRs:Update DEVELOPMENT.md to remove buffalo mentionsRemove observ.StartSpan and just use trace.StartSpan directly.Fixes #870Fun facts:Removed over 1 thousand...
-
49
README.md Buffa...
-
13
Pittsburgh Steelers pada Pratinjau Taruhan Buffalo Bills Week 13 Dua dari tim terbaik di AFC akan bertemu pada Monday Night Football di Minggu ke-14 saat Buffalo Bills menjamu Pittsb...
-
4
Buffalo - 博客园 @——@ @——@ Powered by: 博客园 Copyright © 2020 Buffalo Powere...
-
8
Tuesday, December 1, 20207:30 PM to 9:00 PM ESTOnline eventThis event has passedDetails
-
9
You don't have to use the whole buffalo Imagine a multi-purpose tool (like the so-called "Swiss Army Knife") which has been expanded beyond any sense of good taste and reason. Maybe instead of having five or six functions, it has...
-
9
Openwrt 使用 IPv6 2018-06-18 openwrt 是一款出色的嵌入式 Linux 操作系统,常用作为刷路由器固件,扩展了路由器的可玩性。
-
24
刷入Koolshare OpenWrt X64以及后续ipv6的设置 最近入手J1900折腾一下软路由 关于软路由ipv6与外网访问的那些事(已更新) OpenWrt固...
-
3
OpenWrt 快速开启 IPv6协议 教程 日期:2022年04月22日 · 分类:路由刷机 已...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK