NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

dhcpcd, ipv6, 1&1, Fritzboz, deprecated addresses



My ISP is rather shitty with IPv6, and changes its prefix like it is a
hobby of theirs. However, somehow this keeps breaking my IPv6
connectivity.

I am using NetBSD/amd64 8.1, dhcpcd-7.2.3 from pkgsrc.

It seems that while dhcpcd adds new addresses to my interface for the new
prefix, it doesn't delete (or deprecate) the old ones (or at least not soon
enough). So currently my interface looks like this:

re1: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        capabilities=3f80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx>
        capabilities=3f80<UDP4CSUM_Rx,UDP4CSUM_Tx>
        enabled=3f80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx>
        enabled=3f80<UDP4CSUM_Rx,UDP4CSUM_Tx>
        ec_capabilities=3<VLAN_MTU,VLAN_HWTAGGING>
        ec_enabled=0
        address: yy:yy:yy:yy:yy:yy
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 192.168.178.40/24 broadcast 192.168.178.255 flags 0x0
        inet6 fe80::xxx:xxxx:xxxx:xxxx%re1/64 flags 0x0 scopeid 0x2
        inet6 2003:ca:5f37:d00:xxx:xxxx:xxxx:xxxx/128 flags 0x10<DEPRECATED>
        inet6 2003:ca:5f38:4300:xxx:xxxx:xxxx:xxxx/128 flags 0x10<DEPRECATED>
        inet6 2003:ca:5f3a:8e00:xxx:xxxx:xxxx:xxxx/128 flags 0x10<DEPRECATED>
        inet6 2003:ca:5f14:de00:xxx:xxxx:xxxx:xxxx/128 flags 0x10<DEPRECATED>
        inet6 2003:ca:5f14:ec00:xxx:xxxx:xxxx:xxxx/128 flags 0x10<DEPRECATED>
        inet6 2003:ca:5f30:a000:xxx:xxxx:xxxx:xxxx/128 flags 0x10<DEPRECATED>
        inet6 2003:ca:5f30:c900:xxx:xxxx:xxxx:xxxx/128 flags 0x10<DEPRECATED>
        inet6 fd00::359b:6cd5:acb3:7bdc/64 flags 0x10<DEPRECATED>
        inet6 2003:ca:5f43:7600:xxx:xxxx:xxxx:xxxx/128 flags 0x10<DEPRECATED>
        inet6 2003:ca:5f43:cb00:xxx:xxxx:xxxx:xxxx/128 flags 0x0
        inet6 2003:ca:5f44:2000:bb10:b391:fb30:56ba/64 flags 0x10<DEPRECATED>
        inet6 2003:ca:5f44:2000:xxx:xxxx:xxxx:xxxx/128 flags 0x0
        inet6 2003:ca:5f44:2700:50a6:1a8a:1e54:7986/64 flags 0x0
        inet6 2003:ca:5f44:2700:xxx:xxxx:xxxx:xxxx/128 flags 0x0

and currently connectivity is broken.

$ traceroute6 smtp.falu.nl
traceroute6 to smtp.falu.nl (2a02:e00:ffec:1cc::1) from 2003:ca:5f43:cb00:xxx:xxxx:xxxx:xxxx, 64 hops max, 12 byte packets
 1  fritz.box  0.716 ms  0.418 ms  0.341 ms
 2  p200300CA5FFFzzzzzzzzzzzzzzzzzzzz.dip0.t-ipconnect.de  0.353 ms  0.354 ms  0
.331 ms
 3  p200300CA5FFFzzzzzzzzzzzzzzzzzzzz.dip0.t-ipconnect.de  0.343 ms  0.351 ms  0
.349 ms
 4  p200300CA5FFFzzzzzzzzzzzzzzzzzzzz.dip0.t-ipconnect.de  0.313 ms  0.344 ms  0
.346 ms
 5  p200300CA5FFFzzzzzzzzzzzzzzzzzzzz.dip0.t-ipconnect.de  0.314 ms  0.359 ms  0
.371 ms
(etc)

After I guess which addresses are old, it works again.

$ sudo ifconfig re1 inet6 2003:ca:5f43:cb00:xxx:xxxx:xxxx:xxxx/128 deprecated
$ sudo ifconfig re1 inet6 2003:ca:5f44:2000:xxx:xxxx:xxxx:xxxx/128 deprecated

$ traceroute6 smtp.falu.nl
traceroute6 to smtp.falu.nl (2a02:e00:ffec:1cc::1) from 2003:ca:5f44:2700:50a6:1a8a:1e54:7986, 64 hops max, 12 byte packets
 1  fritz.box  0.865 ms  0.454 ms  0.396 ms
 2  2003:0:8000:8800::1  4.885 ms  4.761 ms  4.555 ms
...
 6  smtp  15.135 ms  15.335 ms  14.224 ms

Is there any setting I could have in my /etc/dhcpcd.conf that might
influence that? I have

controlgroup wheel
hostname azenomei
duid
persistent
lastlease
option rapid_commit
option classless_static_routes, domain_name_servers
nooption domain_name, host_name
option ntp_servers
require dhcp_server_identifier
slaac private
nohook lookup-hostname
noauthrequired
leasetime 86400
noipv6rs
nogateway
interface re0
    noipv4
interface re1
    ipv6rs
    gateway
    ia_na 1
    ia_pd 2 re0/0/64

-Olaf.
-- 
Olaf 'Rhialto' Seibert -- rhialto at falu dot nl
___  Anyone who is capable of getting themselves made President should on
\X/  no account be allowed to do the job.       --Douglas Adams, "THGTTG"

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index