From nobody@FreeBSD.org  Sat Jul  7 05:47:15 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 1750D16A400
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  7 Jul 2007 05:47:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 0834013C458
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  7 Jul 2007 05:47:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l675lCQj057192
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 7 Jul 2007 05:47:12 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l675lCTM057190;
	Sat, 7 Jul 2007 05:47:12 GMT
	(envelope-from nobody)
Message-Id: <200707070547.l675lCTM057190@www.freebsd.org>
Date: Sat, 7 Jul 2007 05:47:12 GMT
From: Kena <kena@vodka-pomme.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch][ipv6] rtadvd.con(5) should show how to advertise a default route
X-Send-Pr-Version: www-3.0

>Number:         114371
>Category:       docs
>Synopsis:       [patch] [ip6] rtadvd.con(5) should show how to advertise a default route
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 07 05:50:02 GMT 2007
>Closed-Date:    
>Last-Modified:  Thu May 01 05:35:14 UTC 2008
>Originator:     Kena
>Release:        7.0-CURRENT
>Organization:
>Environment:
FreeBSD fungus.kahlua 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun Jun 24 13:34:52 CEST 2007     root@fungus.kahlua:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
At the time of this writing very few documents are available to explain how to advertise a default route to the global IPv6 Internet on a local network. The man page rtadvd.conf(5) should do just that.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- rtadvd.conf.5.orig	2007-07-07 07:23:07.000000000 +0200
+++ rtadvd.conf.5	2007-07-07 07:31:11.000000000 +0200
@@ -391,6 +391,16 @@
 	:addr="3ffe:501:ffff:1000::":prefixlen#64:
 .Ed
 .Pp
+The following example advertises the network prefix and sets the host as 
+a low priority router for default (default route). The route has a lifetime
+of one hour. The configuration is suitable for a tunnel endpoint that acts
+as a default router to the ipv6 network for the local subnet.
+.Bd -literal -offset
+ef0:\\
+	:addr="3ffe:501:ffff:1000::":prefixlen#64:\\
+	:routes#1:rtprefix="::0":rtplen#0:rtflags#24:rtltime#3600:
+.Ed
+.Pp
 The following example presents the default values in an explicit manner.
 The configuration is provided just for reference purposes;
 YOU DO NOT NEED TO HAVE IT AT ALL.


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