When describing bridge(4) support, use the sysctl names that apply to

5.3-RELEASE or later by default.  The names for older releases are still
listed, but as an exception.

Submitted by:	Joel Dahl <joel@automatvapen.se>
PR:		docs/75719
This commit is contained in:
Giorgos Keramidas 2005-01-11 11:13:16 +00:00
parent 17ee19c2b8
commit 7aae54d56c
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=23509

View file

@ -1895,12 +1895,12 @@ rfcomm_sppd[94692]: Starting on /dev/ttyp6...</screen>
<para>Add the line:</para>
<programlisting>net.link.ether.bridge=1</programlisting>
<programlisting>net.link.ether.bridge.enable=1</programlisting>
<para>to <filename>/etc/sysctl.conf</filename> to enable the bridge at
runtime, and the line:</para>
<programlisting>net.link.ether.bridge_cfg=<replaceable>if1</replaceable>,<replaceable>if2</replaceable></programlisting>
<programlisting>net.link.ether.bridge.config=<replaceable>if1</replaceable>,<replaceable>if2</replaceable></programlisting>
<para>to enable bridging on the specified interfaces (replace
<replaceable>if1</replaceable> and
@ -1908,16 +1908,16 @@ rfcomm_sppd[94692]: Starting on /dev/ttyp6...</screen>
network interfaces). If you want the bridged packets to be
filtered by &man.ipfw.8;, you should add:</para>
<programlisting>net.link.ether.bridge_ipfw=1</programlisting>
<programlisting>net.link.ether.bridge.ipfw=1</programlisting>
<para>as well.</para>
<para>For &os;&nbsp;5.2-RELEASE and later, use instead the following
<para>For versions prior to &os;&nbsp;5.2-RELEASE, use instead the following
lines:</para>
<programlisting>net.link.ether.bridge.enable=1
net.link.ether.bridge.config=<replaceable>if1</replaceable>,<replaceable>if2</replaceable>
net.link.ether.bridge.ipfw=1</programlisting>
<programlisting>net.link.ether.bridge=1
net.link.ether.bridge_cfg=<replaceable>if1</replaceable>,<replaceable>if2</replaceable>
net.link.ether.bridge_ipfw=1</programlisting>
</sect2>