From owner-freebsd-doc@FreeBSD.ORG Sat Jul 7 05:50:03 2007 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 330D416A469 for ; Sat, 7 Jul 2007 05:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id F127313C44C for ; Sat, 7 Jul 2007 05:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l675o2eP077183 for ; Sat, 7 Jul 2007 05:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l675o2hS077182; Sat, 7 Jul 2007 05:50:02 GMT (envelope-from gnats) Resent-Date: Sat, 7 Jul 2007 05:50:02 GMT Resent-Message-Id: <200707070550.l675o2hS077182@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kena Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1750D16A400 for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: docs/114371: [patch][ipv6] rtadvd.con(5) should show how to advertise a default route X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jul 2007 05:50:03 -0000 >Number: 114371 >Category: docs >Synopsis: [patch][ipv6] 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: >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: