Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2003 11:51:13 +0200 (CEST)
From:      Josef El-Rayes <j.el-rayes@daemon.li>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/54610: [patch] adds route(8) examples to routing chapter
Message-ID:  <200307180951.h6I9pDOx003423@daemon.li>
Resent-Message-ID: <200307180950.h6I9o90P079929@freefall.freebsd.org>

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

>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 @@
       </informaltable>
     </sect2>
 
+	<sect2>
+		<title>Manipulate routing tables</title>
+		<indexterm><primary>manipulate routing tables</primary></indexterm>
+		<para>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:</para>
+	<screen>&prompt.root;<userinput>route add default 192.168.0.1</userinput>
+	add net default: gateway 192.168.0.1</screen>
+	
+
+	<para>Additional manipulation of the routing table is done via the
+<command>change</command> and <command>delete</command> parameters. Use
+<command>flush</command> to clear the whole routing table.
+	To receive specific information about how packages to a certain destination get
+	routed, there is the <command>get</command> parameter.
+	</sect2>
+
     <sect2>
       <title>Dual Homed Hosts</title>
       <indexterm><primary>dual homed hosts</primary></indexterm>
--- chapter.sgml.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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