Note the difference between 5.3 and earlier versions.

PR:		75610
Submitted by:	David Adam <zanchey@ucc.gu.uwa.edu.au> (original version)
This commit is contained in:
Tom Rhodes 2005-03-01 09:24:01 +00:00
parent 991f86250f
commit f3478d833f
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=23953

View file

@ -806,15 +806,15 @@ wi0: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; mtu 1500
tell the FreeBSD kernel which interfaces to bridge together.
We do that by using &man.sysctl.8;:</para>
<screen>&prompt.root; <userinput>sysctl net.link.ether.bridge=1</userinput>
&prompt.root; <userinput>sysctl net.link.ether.bridge_cfg="wi0,xl0"</userinput>
&prompt.root; <userinput>sysctl net.inet.ip.forwarding=1</userinput></screen>
<para>On &os;&nbsp;5.2-RELEASE and later, you have to use
instead the following options:</para>
<screen>&prompt.root; <userinput>sysctl net.link.ether.bridge.enable=1</userinput>
&prompt.root; <userinput>sysctl net.link.ether.bridge.config="wi0,xl0"</userinput>
&prompt.root; <userinput>sysctl net.inet.ip.forwarding=1</userinput></screen>
<para>On &os; versions earlier than 5.2, you
need to use the following options instead:</para>
<screen>&prompt.root; <userinput>sysctl net.link.ether.bridge=1</userinput>
&prompt.root; <userinput>sysctl net.link.ether.bridge_cfg="wi0,xl0"</userinput>
&prompt.root; <userinput>sysctl net.inet.ip.forwarding=1</userinput></screen>
<para>Now it is time for the wireless card setup.