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>
<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> <listitem>
<para>Indicates that a default route through the provider <para>Indicates that a balanced default route through the
should be added to the default routing table (table 253). provider should be added to the default routing table (table
The route is added with a metric equal to the provider 253). The route is added with a weight equal to the
NUMBER so multiple providers can have this option. The specified <replaceable>weight</replaceable> (default 1). The
option is ignored with a warning message if option is ignored with a warning message if
USE_DEFAULT_RT=Yes in USE_DEFAULT_RT=Yes in
<filename>shorewall.conf</filename>.</para> <filename>shorewall.conf</filename>.</para>

View File

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