Add Debian/LEAF example to Aliased Interfaces doc

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2008 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-03-17 19:27:23 +00:00
parent 672532df6a
commit 5c47c910ed
2 changed files with 36 additions and 1 deletions

View File

@ -3892,6 +3892,19 @@ all all tcp ftp-data - 8</programlisting
eth2 192.168.1.0/24
eth1 -</programlisting>
</example>
<para></para>
<note>
<para>Prior to Shorewall version 2.2.3, the contents of the
<filename>/etc/shorewall/routestopped</filename> file did NOT affect
connection attempts occuring during the processing of the
<command>shorewall start</command> and <command>shorewall
restart</command> commands. Beginning with version 2.2.3, Shorewall
allows connections defined by the contents of
<filename>/etc/shorewall/routestopped</filename> during the potentially
lengthy processing of those commands.</para>
</note>
</section>
<section id="Maclist" xreflabel="/etc/shorewall/maclist">
@ -4020,6 +4033,17 @@ eth1 -</programlisting>
<title>Revision History</title>
<para><revhistory>
<revision>
<revnumber>1.24</revnumber>
<date>2005-03-15</date>
<authorinitials>TE</authorinitials>
<revremark>Update for use of /etc/shorewall/routestopped during
[re]start.</revremark>
</revision>
<revision>
<revnumber>1.23</revnumber>

View File

@ -15,7 +15,7 @@
</author>
</authorgroup>
<pubdate>2002-02-07</pubdate>
<pubdate>2005-03-17</pubdate>
<copyright>
<year>2001-2005</year>
@ -123,6 +123,17 @@ esac</programlisting>
<para>RedHat systems also allow adding such aliases from the network
administration GUI (which only works well if you have a graphical
environment on your firewall).</para>
<para>On Debian and LEAF/Bering systems, it is as simple as adding the
command to the interface definition as follows:</para>
<programlisting># Internet interface
auto eth0
iface eth0 inet static
address 206.124.146.176
netmask 255.255.255.0
gateway 206.124.146.254
<command>up ip addr add 206.124.146.178/24 brd 206.124.146.255 dev eth0 label eth0:0</command></programlisting>
</section>
<section>