Re: bridging ath



On Thu, Sep 27, 2007 at 01:19:42PM -1000, Randy Bush wrote:
Just to be sure...

good questions, thanks for asking

net.inet.ip.forwarding=1

# sysctl net.inet.ip.forwarding
net.inet.ip.forwarding: 1

net.link.ether.bridge.enable=1
net.link.ether.bridge.config=em0,ath0

# sysctl net.link.ether.bridge.enable
sysctl: unknown oid 'net.link.ether.bridge.enable'
# sysctl -a | grep bridge
net.link.bridge.ipfw: 0
net.link.bridge.log_stp: 0
net.link.bridge.pfil_local_phys: 0
net.link.bridge.pfil_member: 1
net.link.bridge.pfil_bridge: 1
net.link.bridge.ipfw_arp: 0
net.link.bridge.pfil_onlyip: 1
dev.pcib.0.%desc: ACPI Host-PCI bridge
dev.pcib.1.%desc: ACPI PCI-PCI bridge
dev.pcib.2.%desc: ACPI PCI-PCI bridge
dev.hostb.0.%desc: Host to PCI bridge
dev.agp.0.%desc: Intel 82855 host to AGP bridge
dev.isab.0.%desc: PCI-ISA bridge

oops! have i left something out of kernel or kld load?

No, Michael's example was for old-bridge which is depreciated. You had
the config right.


Andrew
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • RE: bridging ath
    ... # sysctl net.link.ether.bridge.enable ... dev.pcib.0.%desc: ACPI Host-PCI bridge ... dev.pcib.1.%desc: ACPI PCI-PCI bridge ... the config right. ...
    (freebsd-net)
  • Re: 3 nics - 1 bridge - 2 ips - bad?
    ... I am told that bridging can indeed be enabled and disabled per port via some ... sysctl call. ... With bridge compiled into the kernel: ...
    (FreeBSD-Security)
  • bridge configuration and interface names
    ... # sysctl net.link.ether.bridge.config="bge0.100 bge1" ... kernel: interface 100 Not found in bridge ... and bridge does not work... ...
    (freebsd-current)
  • Re: bridging ath
    ... # sysctl net.link.ether.bridge.enable ... dev.pcib.0.%desc: ACPI Host-PCI bridge ... dev.pcib.1.%desc: ACPI PCI-PCI bridge ... dev.hostb.0.%desc: Host to PCI bridge ...
    (freebsd-net)
  • Re: How connect 2 PC with ath in hostap mode ?
    ... > MJ> How are you bridging the interfaces? ... The "old" bridge code is removed from CURRENT anyway. ... Try to play with different sysctl values for ath as well, ... > 0.700ms for any host in another net segment. ...
    (freebsd-net)