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:
parent
9835971648
commit
26d2edc770
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user