Rename 'default_rt' to 'fallback' and balance the generated route

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9251 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2009-01-06 19:33:55 +00:00
parent ee6cdfe001
commit 5509e988e2
2 changed files with 15 additions and 12 deletions

View File

@ -464,13 +464,15 @@
</varlistentry>
<varlistentry>
<term>default_rt (Added in Shorewall-perl 4.2.5)</term>
<term><emphasis
role="bold">fallback[=<replaceable>weight</replaceable>]
(Added in Shorewall-perl 4.2.5)</emphasis></term>
<listitem>
<para>Indicates that a default route through the provider
should be added to the default routing table (table 253).
The route is added with a metric equal to the provider
NUMBER so multiple providers can have this option. The
<para>Indicates that a balanced default route through the
provider should be added to the default routing table (table
253). The route is added with a weight equal to the
specified <replaceable>weight</replaceable> (default 1). The
option is ignored with a warning message if
USE_DEFAULT_RT=Yes in
<filename>shorewall.conf</filename>.</para>

View File

@ -227,15 +227,16 @@
</varlistentry>
<varlistentry>
<term><emphasis role="bold">default_rt</emphasis></term>
<term><emphasis
role="bold">fallback[=<replaceable>weight</replaceable>]</emphasis></term>
<listitem>
<para>Added in Shorewall-perl 4.2.5. Indicates that a default
route through the provider should be added to the default
routing table (table 253). The route is added with a metric
equal to the provider NUMBER so multiple providers can have
this option. The option is ignored with a warning message if
USE_DEFAULT_RT=Yes in
<para>Added in Shorewall-perl 4.2.5. Indicates that a balanced
default route through the provider should be added to the
default routing table (table 253). The route is added with a
weight equal to the specified
<replaceable>weight</replaceable> (default 1). The option is
ignored with a warning message if USE_DEFAULT_RT=Yes in
<filename>shorewall.conf</filename>.</para>
</listitem>
</varlistentry>