Clarify the usage of the GATEWAY column when USE_DEFAULT_RT = Yes

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2009-04-13 07:26:01 -07:00
parent 271c339903
commit 516d361d09

View File

@ -1042,16 +1042,6 @@ gateway:~ #</programlisting>Note that because we used a priority of 1000, the
for inserting rules that bypass the main table.</para>
</listitem>
<listitem>
<para>All provider gateways must be specified explicitly in the
GATEWAY column. 'detect' may not be specified. Note that for ppp
interfaces, the GATEWAY may remain unspecified ("-").<note>
<para>'detect' may be specified for interfaces whose
configuration is managed by dhcpcd. Shorewall will use dhcpcd's
database to determine the gateway IP address.</para>
</note></para>
</listitem>
<listitem>
<para>You should disable all default route management outside of
Shorewall. If a default route is inadvertently added to the main
@ -1059,6 +1049,14 @@ gateway:~ #</programlisting>Note that because we used a priority of 1000, the
working except for those routing rules in the priority range
1-998.</para>
</listitem>
<listitem>
<para>For ppp interfaces, the GATEWAY may remain unspecified ("-").
For those interfaces managed by dhcpcd or dhclient, you may specify
'detect' in the GATEWAY column; Shorewall will use the dhcp client's
database to determine the gateway IP address. All other interfaces
must have a GATEWAY specified explicitly.</para>
</listitem>
</orderedlist>
<para>Although 'balance' is automatically assumed when