Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Sep 2006 20:33:11 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-stable@freebsd.org
Subject:   Disappearing IPv6 default route
Message-ID:  <451EC677.6000404@infracaninophile.co.uk>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigACC907932DDC15274EF8F89B
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable


Dear list,

I've had IPv6 connectivity for some years via an IPv6 in IPv4 gif tunnel
courtesy of my ISP.  However, about a week ago, when I upgraded to
6.2-PRERELEASE, I noticed it had mysteriously stopped working.  (It may h=
ave
died before last week though; but that is the probable time) So this
weekend I set out to find out why.

After much head scratching, I discovered that the IPv6 default route
was not present on the system.  If I added it back manually, voil=E0: IPv=
6
connectivity back again ... for a few seconds.

This is completely reproducible:

happy-idiot-talk:~:% sudo route add -inet6 default -interface gif0 ; ping=
6 clueless.aaisp.net.uk
add net default: gateway gif0
PING6(56=3D40+8+8 bytes) 2001:8b0:151:1::1 --> 2001:8b0:0:81::51bb:5115
16 bytes from 2001:8b0:0:81::51bb:5115, icmp_seq=3D0 hlim=3D61 time=3D32.=
221 ms
16 bytes from 2001:8b0:0:81::51bb:5115, icmp_seq=3D1 hlim=3D61 time=3D29.=
856 ms
16 bytes from 2001:8b0:0:81::51bb:5115, icmp_seq=3D2 hlim=3D61 time=3D29.=
560 ms
16 bytes from 2001:8b0:0:81::51bb:5115, icmp_seq=3D3 hlim=3D61 time=3D30.=
348 ms
16 bytes from 2001:8b0:0:81::51bb:5115, icmp_seq=3D4 hlim=3D61 time=3D28.=
957 ms
16 bytes from 2001:8b0:0:81::51bb:5115, icmp_seq=3D5 hlim=3D61 time=3D30.=
626 ms
16 bytes from 2001:8b0:0:81::51bb:5115, icmp_seq=3D6 hlim=3D61 time=3D29.=
384 ms
16 bytes from 2001:8b0:0:81::51bb:5115, icmp_seq=3D7 hlim=3D61 time=3D31.=
815 ms
ping6: sendmsg: No route to host
ping6: wrote clueless.aaisp.net.uk 16 chars, ret=3D-1
ping6: sendmsg: No route to host
ping6: wrote clueless.aaisp.net.uk 16 chars, ret=3D-1
ping6: sendmsg: No route to host
ping6: wrote clueless.aaisp.net.uk 16 chars, ret=3D-1
ping6: sendmsg: No route to host
ping6: wrote clueless.aaisp.net.uk 16 chars, ret=3D-1
ping6: sendmsg: No route to host
ping6: wrote clueless.aaisp.net.uk 16 chars, ret=3D-1
^C
--- clueless.aaisp.net.uk ping6 statistics ---
13 packets transmitted, 8 packets received, 38.5% packet loss
round-trip min/avg/max/std-dev =3D 28.957/30.346/32.221/1.088 ms

After 8 pings, the default route disappears.  tcpdump shows no other traf=
fic
to/from the tunnel end-point than the pings and responses.  I can't find =
anything
similar reported elsewhere on the 'net.  Any clues gratefully received.

OS Version:

happy-idiot-talk:~:% uname -a=20
FreeBSD happy-idiot-talk.infracaninophile.co.uk 6.2-PRERELEASE FreeBSD 6.=
2-PRERELEASE #9: Fri Sep 29 01:08:43 BST 2006     root@happy-idiot-talk.i=
nfracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK  i386

IPv6 related stuff from rc.conf:

gif_interfaces=3D"gif0"
gifconfig_gif0=3D"81.187.76.162 81.187.81.6"

ipv6_enable=3D"YES"
ipv6_defaultrouter=3D"-interface gif0"
ipv6_default_interface=3D"gif0"
ipv6_ifconfig_gif0=3D"2001:08b0:0151:0001::1 prefixlen 64"
ipv6_gateway_enable=3D"YES"

happy-idiot-talk:~:% ifconfig gif0=20
gif0: flags=3D8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
        tunnel inet 81.187.76.162 --> 81.187.81.6
        inet6 fe80::240:5ff:fea5:8db7%gif0 prefixlen 64 scopeid 0x3=20
        inet6 2001:8b0:151:1::1 prefixlen 64=20

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW


--------------enigACC907932DDC15274EF8F89B
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFHsZ+8Mjk52CukIwRCG1iAJ9ZePH7b7/jUyuzxVV0R/CdPvsD2gCgg+5Y
B1hPtYyFYxZpox/DvUi6dns=
=+gwx
-----END PGP SIGNATURE-----

--------------enigACC907932DDC15274EF8F89B--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?451EC677.6000404>