Miredo doesn't work right when IP address changes

Pierre Abbat phma at leaf.dragonflybsd.org
Mon Aug 30 20:07:28 PDT 2021

My ISP's IPv6 connection stopped working several days ago (I still get an 
address, but trying to ping from it results in "ping6: sendmsg: No route to 
host"). Miredo works fine on Linux, but not on DragonFly. Every so often my 
connection breaks (and will break tomorrow when the thunderstorm comes). The 
teredo device on Linux looks like this in ifconfig:

teredo: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1280
        inet6 2001:0:c38c:c38c:3cc5:519f:bcd3:2eb7  prefixlen 32  scopeid 
        inet6 fe80::470a:7247:656d:33e3  prefixlen 64  scopeid 0x20<link>
        inet6 fe80::ffff:ffff:ffff  prefixlen 64  scopeid 0x20<link>
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 500  
        RX packets 18499  bytes 7083906 (7.0 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 21127  bytes 2022794 (2.0 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

And in BSD:

teredo: flags=8043<UP,BROADCAST,RUNNING,MULTICAST> metric 0 mtu 1500
        inet6 fe80::222:4dff:fe84:bb1d%teredo prefixlen 64 scopeid 0x5
        inet6 fe80::ffff:ffff:ffff%teredo prefixlen 64 scopeid 0x5
        inet6 2001:0:c38c:c38c:2002:602f:bcd3:2f25 prefixlen 128
        inet6 2001:0:c38c:c38c:3c32:5e2f:bcd3:2f18 prefixlen 128
        inet6 2001:0:c38c:c38c:20e2:502f:bcd3:2eb7 prefixlen 128
        groups: tun
        Opened by PID 18239

Restarting miredo results in no address:

teredo: flags=8002<BROADCAST,MULTICAST> metric 0 mtu 1500
        groups: tun

To get a single address, I have to do this:

# /usr/local/etc/rc.d/miredo stop
Stopping miredo.
# ifconfig teredo destroy
# /usr/local/etc/rc.d/miredo start
Starting miredo.

I'm running v6.1.0.3.g70c69-DEVELOPMENT and miredo-1.2.6_6. Is the problem in 
miredo or in the kernel?

.i toljundi do .ibabo mi'afra tu'a do
.ibabo damba do .ibabo do jinga
.icu'u la ma'atman.

More information about the Users mailing list