|
Lines 808-822
Link Here
|
| 808 |
tell the FreeBSD kernel which interfaces to bridge together. |
808 |
tell the FreeBSD kernel which interfaces to bridge together. |
| 809 |
We do that by using &man.sysctl.8;:</para> |
809 |
We do that by using &man.sysctl.8;:</para> |
| 810 |
|
810 |
|
| 811 |
<screen>&prompt.root; <userinput>sysctl net.link.ether.bridge=1</userinput> |
811 |
<screen>&prompt.root; <userinput>sysctl net.link.ether.bridge.enable=1</userinput> |
| 812 |
&prompt.root; <userinput>sysctl net.link.ether.bridge_cfg="wi0,xl0"</userinput> |
812 |
&prompt.root; <userinput>sysctl net.link.ether.bridge.config="wi0,xl0"</userinput> |
| 813 |
&prompt.root; <userinput>sysctl net.inet.ip.forwarding=1</userinput></screen> |
813 |
&prompt.root; <userinput>sysctl net.inet.ip.forwarding=1</userinput></screen> |
| 814 |
|
814 |
|
| 815 |
<para>On &os; 5.2-RELEASE and later, you have to use |
815 |
<para>On &os; versions earlier than 5.2-RELEASE (including releases in the 4.x line), |
| 816 |
instead the following options:</para> |
816 |
you need to use the following options instead:</para> |
| 817 |
|
817 |
|
| 818 |
<screen>&prompt.root; <userinput>sysctl net.link.ether.bridge.enable=1</userinput> |
818 |
<screen>&prompt.root; <userinput>sysctl net.link.ether.bridge=1</userinput> |
| 819 |
&prompt.root; <userinput>sysctl net.link.ether.bridge.config="wi0,xl0"</userinput> |
819 |
&prompt.root; <userinput>sysctl net.link.ether.bridge_cfg="wi0,xl0"</userinput> |
| 820 |
&prompt.root; <userinput>sysctl net.inet.ip.forwarding=1</userinput></screen> |
820 |
&prompt.root; <userinput>sysctl net.inet.ip.forwarding=1</userinput></screen> |
| 821 |
|
821 |
|
| 822 |
<para>Now it is time for the wireless card setup. |
822 |
<para>Now it is time for the wireless card setup. |