o Fix a bridge example: sysctl net.inet.ip.forwarding=1 is needless,

bridge(4) is working on a level below.  Suggest
sysctl net.inet.ip.check_interface=0 instead.

MFC after:      2 weeks
This commit is contained in:
Maxim Konovalov 2004-02-18 08:30:08 +00:00
parent 9835971648
commit 26d2edc770
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125961
2 changed files with 2 additions and 2 deletions

View file

@ -192,7 +192,7 @@ Add BRIDGE to the kernel config.
ifconfig ath0 inet up ssid my_ap media DS/11Mbps mediaopt hostap
sysctl net.link.ether.bridge.enable=1
sysctl net.link.ether.bridge.config="ath0 fxp0"
sysctl net.inet.ip.forwarding=1
sysctl net.inet.ip.check_interface=0
.Ed
.Pp
This will give you the same functionality as an access point.

View file

@ -312,7 +312,7 @@ Add BRIDGE to the kernel config.
ifconfig wi0 inet up ssid my_ap media DS/11Mbps mediaopt hostap
sysctl net.link.ether.bridge.enable=1
sysctl net.link.ether.bridge.config="wi0 fxp0"
sysctl net.inet.ip.forwarding=1
sysctl net.inet.ip.check_interface=0
.Ed
.Pp
This will give you the same functionality as an access point.