Hi,

I am having trouble finding a full documentation on how to set an mesh
portal (MPP) bridged to wired lan.
I gathered things from here and there, and here what I have came up to.

SETUP: I have a PC, and two RSPRO boards with atheros wifi. PC and one
RSPRO connected to a router.

On the mesh node (MP) my ifconfig:
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:15:6d:65:fe:b2
        inet 192.168.1.42 netmask 0xffffff00 broadcast 192.168.1.255
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <mesh>
        status: running
        meshid my_mesh channel 10 (2457 MHz 11g) bssid 00:15:6d:65:fe:b2
        country US ecm authmode OPEN privacy OFF txpower 21 scanvalid 60
        protmode CTS wme burst meshttl 31 meshpeering meshforward
        meshmetric AIRTIME meshpath HWMP hwmprootmode DISABLED hwmpmaxhops 31

On the mesh portal ifconfig:
arge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST>
metric 0 mtu 1500
        options=80000<LINKSTATE>
        ether 00:15:6d:c3:30:e5
        inet 0.0.0.0 netmask 0xff000000 broadcast 0.255.255.255
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
bridge0: flags=28943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,PPROMISC>
metric 0 mtu 1500
        ether 00:15:6d:67:21:8d
        inet 192.168.1.41 netmask 0xffffff00 broadcast 192.168.1.255
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        member: wlan0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 8 priority 128 path cost 370370
        member: arge0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 4 priority 128 path cost 200000
wlan0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST>
metric 0 mtu 1500
        ether 00:15:6d:67:21:8d
        inet 0.0.0.0 netmask 0xff000000 broadcast 0.255.255.255
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <mesh>
        status: running
        meshid my_mesh channel 10 (2457 MHz 11g) bssid 00:15:6d:67:21:8d
        country US ecm authmode OPEN privacy OFF txpower 20 scanvalid 60
        protmode CTS wme burst meshttl 31 meshpeering meshforward
        meshmetric AIRTIME meshpath HWMP hwmprootmode PROACTIVE hwmpmaxhops 31

>From the MPP I can ping ping the PC and internet. Also I can ping the
MP on the second RSPRO.
>From the MP I can ping the MPP, but I cant ping the PC or internet.
>From PC I can ping MPP, but not MP.

Arp broadcast goes through, but not ARP reply (got lost?). I checked
from tcpdump that the mac addresses are correct for ARP reply
destination.

I have changed these in sysctl on the MPP:
sysctl -a | grep forwarding
net.inet.ip.forwarding: 1
net.inet.ip.fastforwarding: 1
net.link.bridge.ipfw: 0
net.link.bridge.inherit_mac: 0
net.link.bridge.log_stp: 0
net.link.bridge.pfil_local_phys: 0
net.link.bridge.pfil_member: 0
net.link.bridge.pfil_bridge: 0
net.link.bridge.ipfw_arp: 0
net.link.bridge.pfil_onlyip: 0

I have no firewall enabled. Seems like something is missing to make
this work. It works if I setup the boards as AP and STA.
I also found this old post,
http://lists.freebsd.org/pipermail/freebsd-net/2010-February/024538.html...
but didnt help me.

Thank you in advance!
-- 
//Monthadar Al Jaberi
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to