From owner-freebsd-net@FreeBSD.ORG Mon Nov 15 15:52:30 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3651F1065673 for ; Mon, 15 Nov 2010 15:52:30 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id E3C118FC16 for ; Mon, 15 Nov 2010 15:52:29 +0000 (UTC) Received: by qwf7 with SMTP id 7so175187qwf.13 for ; Mon, 15 Nov 2010 07:52:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=5d44MnC4esO/QJYVG2H0lvqQ6vHjWxgA2larqB2wOnY=; b=fluEzGt+ejSWVMm6DtAZwPt7ysTz5fPQx6Yd3JYKItdeSB6YB8l1EEgiRwEO2VDmxq FNqRR/go5oQJxvnV36dsoQRjh6vSwg8zuXt4hRY1Q0VrUxOQcSKwmRxbV0kK1nPBn/Kv +pU7ZG/n7C2U6xWOiE6Lg9nzfbGCOWa7iOFkw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=T6IPJl66aEeU9aRdMd+3dGz7l4pdL0hYwTKCCi8jF00NHpuASwLl7jfDDaRXRq3h7C F+5O6ic6jCYBKbNFVyZlCF0imdAPJpFI2xdZTCEk69rP9vt3vlyc1ReuZxBSh7zwqwSS J+rNOWg7JJAvduRrvRdqHgQS/34R97hhOPG3k= MIME-Version: 1.0 Received: by 10.229.225.199 with SMTP id it7mr5297674qcb.33.1289834632580; Mon, 15 Nov 2010 07:23:52 -0800 (PST) Received: by 10.229.182.77 with HTTP; Mon, 15 Nov 2010 07:23:52 -0800 (PST) Date: Mon, 15 Nov 2010 16:23:52 +0100 Message-ID: From: Monthadar Al Jaberi To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: problem setting up a mesh portal with a bridge to wired lan X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2010 15:52:30 -0000 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 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 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 metric 0 mtu 1500 options=80000 ether 00:15:6d:c3:30:e5 inet 0.0.0.0 netmask 0xff000000 broadcast 0.255.255.255 media: Ethernet autoselect (100baseTX ) status: active bridge0: flags=28943 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 ifmaxaddr 0 port 8 priority 128 path cost 370370 member: arge0 flags=143 ifmaxaddr 0 port 4 priority 128 path cost 200000 wlan0: flags=8943 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 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