From shammer@daemon.li Fri Jul 18 02:50:05 2003 Return-Path: Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A50C37B405 for ; Fri, 18 Jul 2003 02:50:05 -0700 (PDT) Received: from mail.ac-net.at (secure.ac-net.at [212.24.125.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECA9343F93 for ; Fri, 18 Jul 2003 02:50:02 -0700 (PDT) (envelope-from shammer@daemon.li) Received: from localhost (server.ac-net.at [127.0.0.1]) by mail.ac-net.at (AC-net Mailserver v1.3a) with ESMTP id A56BE3FE9 for ; Fri, 18 Jul 2003 11:49:55 +0200 (CEST) Received: from daemon.li (dsl-152-229.utaonline.at [62.218.152.229]) by mail.ac-net.at (AC-net Mailserver v1.3a) with SMTP id 414153F77 for ; Fri, 18 Jul 2003 09:49:53 +0000 (UTC) Received: (qmail 3425 invoked from network); 18 Jul 2003 09:51:14 -0000 Received: from localhost (HELO daemon.li) (127.0.0.1) by localhost with SMTP; 18 Jul 2003 09:51:14 -0000 Received: (from root@localhost) by daemon.li (8.12.6/8.12.7/Submit) id h6I9pDOx003423; Fri, 18 Jul 2003 11:51:13 +0200 (CEST) (envelope-from shammer) Message-Id: <200307180951.h6I9pDOx003423@daemon.li> Date: Fri, 18 Jul 2003 11:51:13 +0200 (CEST) From: Josef El-Rayes Reply-To: Josef El-Rayes To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: [patch] adds route(8) examples to routing chapter X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 54610 >Category: docs >Synopsis: [patch] adds route(8) examples to routing chapter >Confidential: no >Severity: non-critical >Priority: low >Responsible: blackend >State: closed >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jul 18 02:50:08 PDT 2003 >Closed-Date: Sat Jan 10 06:23:05 PST 2004 >Last-Modified: Sat Jan 10 06:23:05 PST 2004 >Originator: Josef El-Rayes >Release: FreeBSD 4.8-STABLE i386 >Organization: >Environment: System: FreeBSD daemon.li 4.8-STABLE FreeBSD 4.8-STABLE #7: Thu Jul 3 21:46:26 CEST 2003 shammer@daemon.li:/usr/obj/usr/src/sys/CUSTOM i386 >Description: i was wondering why there is no mentioning of route(8) command in the routing chapter, which is in my opinion very important to be mentioned at the place so people see how to dynamically chance the routing table, without the need to fiddle with the routed daemon. >How-To-Repeat: >Fix: --- chapter.sgml.diff begins here --- --- chapter.sgml.orig Thu Jul 17 23:48:58 2003 +++ chapter.sgml Fri Jul 18 11:47:42 2003 @@ -362,6 +362,27 @@ + + Manipulate routing tables + manipulate routing tables + Although it is normally not needed, as there is the +&man.routed.8; daemon for routing table management, it is in some cases very +useful to be able to dynamically define or manipulate the routing tables on the +command line. This is achieved via the &man.route.8; command. +For example, if you want to set the default route to a +specific ip adress, you do this by using the add parameter of the route +command: + &prompt.root;route add default 192.168.0.1 + add net default: gateway 192.168.0.1 + + + Additional manipulation of the routing table is done via the +change and delete parameters. Use +flush to clear the whole routing table. + To receive specific information about how packages to a certain destination get + routed, there is the get parameter. + + Dual Homed Hosts dual homed hosts --- chapter.sgml.diff ends here --- >Release-Note: >Audit-Trail: From: Marc Fonvieille To: Josef El-Rayes Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: docs/54610: [patch] adds route(8) examples to routing chapter Date: Fri, 18 Jul 2003 12:11:01 +0200 On Fri, Jul 18, 2003 at 11:51:13AM +0200, Josef El-Rayes wrote: > >Description: > i was wondering why there is no mentioning of route(8) command in > the routing chapter, which is in my opinion very important to be mentioned > at the place so people see how to dynamically chance the routing table, > without the need to fiddle with the routed daemon. > [...] I was thinking about that since a while; there's something missing in your submission: how to "definitively" define a gateway (default route): the rc.conf line... Marc Responsible-Changed-From-To: freebsd-doc->blackend Responsible-Changed-By: blackend Responsible-Changed-When: Fri Jul 18 10:28:45 PDT 2003 Responsible-Changed-Why: I will take care of this one. http://www.freebsd.org/cgi/query-pr.cgi?pr=54610 State-Changed-From-To: open->closed State-Changed-By: trhodes State-Changed-When: Sat Jan 10 06:22:14 PST 2004 State-Changed-Why: Submitter has explained that this PR is obsolete and has requested it be closed over -doc. http://www.freebsd.org/cgi/query-pr.cgi?pr=54610 >Unformatted: