From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 02:50:12 2003 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7CFA37B404 for ; Fri, 18 Jul 2003 02:50:12 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3D5243F3F for ; Fri, 18 Jul 2003 02:50:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h6I9o9Up079930 for ; Fri, 18 Jul 2003 02:50:09 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6I9o90P079929; Fri, 18 Jul 2003 02:50:09 -0700 (PDT) Resent-Date: Fri, 18 Jul 2003 02:50:09 -0700 (PDT) Resent-Message-Id: <200307180950.h6I9o90P079929@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, Josef El-Rayes 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/54610: [patch] adds route(8) examples to routing chapter X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Josef El-Rayes List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 09:50:13 -0000 >Number: 54610 >Category: docs >Synopsis: [patch] adds route(8) examples to routing chapter >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jul 18 02:50:08 PDT 2003 >Closed-Date: >Last-Modified: >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: >Unformatted: