Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 May 2010 00:06:12 GMT
From:      Stephen Hurd <shurd@sasktel.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/147102: IPv6 - route6d deletes site-local routes
Message-ID:  <201005270006.o4R06CHx068904@www.freebsd.org>
Resent-Message-ID: <201005270010.o4R0A4FJ033933@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         147102
>Category:       misc
>Synopsis:       IPv6 - route6d deletes site-local routes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 27 00:10:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Hurd
>Release:        8.0-RELEASE-p2
>Organization:
>Environment:
FreeBSD cracked.hurd.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Mon May 17 03:36:47 PDT 2010     root@cracked.hurd.local:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
When route6d is running, it will delete the site-local routes after about five minutes.
>How-To-Repeat:
Set up a site-local IPv6 address as well as a public one on an interface and enable routing etc (My config snippit follows) and wait five minutes.

The route gets deleted and not logged to /var/log/route.log, but route monitor output shows the PID (812) of route6d deleting the route (log snippit follows).

===== Start route monitor output =====
got message of size 188 on Wed May 26 14:20:21 2010
RTM_DELETE: Delete Route: len 188, pid: 812, seq 6, errno 0, flags:<DONE>
locks:  inits:
sockaddrs: <DST,GATEWAY,NETMASK>
 fec0::  (255) ffff ffff ffff c0ff
===== End route monitor output =====

===== Start rc.conf bit =====
ipv6_enable="YES"
ipv6_router_enable="YES"        # Set to YES to enable an IPv6 routing daemon.
ipv6_router_flags="-R /var/log/route.log"               # Flags to IPv6 routing daemon.
rtadvd_enable="YES"             # Set to YES to enable an IPv6 router
                                # advertisement daemon. If set to YES,
                                # this router becomes a possible candidate
                                # IPv6 default router for local subnets.
rtadvd_interfaces="fxp0 gif0"   # Interfaces rtadvd sends RA packets.
#mroute6d_enable="YES"          # Do IPv6 multicast routing.
ipv6_gateway_enable="YES"
ipv6_firewall_enable="YES"
ipv6_firewall_type="OPEN"
ipv6_network_interfaces="fxp0 lo0 gif0"
# Site-local
ipv6_ifconfig_fxp0_alias0="fec0::1/10"
# DNS Well-known addresses
ipv6_ifconfig_fxp0_alias1="fec0:0:0:ffff::1/10"
ipv6_ifconfig_fxp0_alias2="fec0:0:0:ffff::2/10"
ipv6_ifconfig_fxp0_alias3="fec0:0:0:ffff::3/10"
ipv6_ifconfig_fxp0_alias4="2001:470:d:684::1/64"

# The HE tunnel...
gif_interfaces="gif0"
gifconfig_gif0="76.202.204.42 66.220.18.42"
ifconfig_gif0="inet6 2001:470:c:684::2 2001:470:c:684::1 prefixlen 128"
ipv6_defaultrouter="2001:470:c:684::1"
===== End rc.conf bit =====
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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