From owner-freebsd-current@FreeBSD.ORG Sun Jan 4 05:20:33 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 696E61065670 for ; Sun, 4 Jan 2009 05:20:33 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 20B228FC0C for ; Sun, 4 Jan 2009 05:20:33 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from Macintosh-4.local ([10.0.0.194]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n045KW3O036184 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 3 Jan 2009 21:20:32 -0800 (PST) (envelope-from sam@freebsd.org) Message-ID: <49604720.4070703@freebsd.org> Date: Sat, 03 Jan 2009 21:20:32 -0800 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Randy Bush References: <495F0B2D.7060701@psg.com> In-Reply-To: <495F0B2D.7060701@psg.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: current@freebsd.org Subject: Re: hosts on bridged wlan can not reliably see each other X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2009 05:20:33 -0000 Randy Bush wrote: > soekris 5501 of nov 28, pre new arp > > problem description > o all hosts on the wireless can get outside, no problem > o they can also get to wired devices on vr[1-3] > o they can reliably not see/ping/... each other on the wireless > o the soekris can ping them all > o higher layers are worse > o the messages on this list worry me about upgrading this week, > as this is my home gate to the world and somewhat complex > (bridge, tunnel, pppoe, ...), whereas the mass of servers are > all pretty straightforward. > > .----------------. > | | > | b ---ath0| 192.168.0.0/24 > | r | > ext iij | i --- vr1| LAN hosts, > PPP/NAT ---|vr0--- d | > WAN | g --- vr2| DHCP Clients > | e | > | 0 --- vr3| pptp 200-209 > | | > `----------------' > > ath0: mem 0xa0010000-0xa001ffff irq 15 at device 17.0 on > pci0 > ath0: [ITHREAD] > ath0: WARNING: using obsoleted if_watchdog interface > ath0: mac 5.9 phy 4.3 radio 3.6 > > # uname -a > FreeBSD soek0.psg.com 8.0-CURRENT FreeBSD 8.0-CURRENT #2: Fri Nov 28 > 19:16:10 UTC 2008 root@soek0.psg.com:/usr/obj/usr/src/sys/SOEK0 i386 > > wlans_ath0="wlan0 wlan1" > create_args_wlan0="wlanmode hostap channel 11 ssid rgnet-aden wep wepkey > arbitrarykeys weptxkey 1 media autoselect mode 11g up" > cloned_interfaces=bridge0 > ifconfig_bridge0="192.168.0.1 addm vr1 addm vr2 addm vr3 addm wlan0 addm > wlan1 up" > ifconfig_vr1=up > ifconfig_vr2=up > ifconfig_vr3=up > gateway_enable=YES > > the soekris can see them all > > # arp -an > ? (192.168.0.10) at 00:15:c5:4a:6f:c5 on bridge0 [bridge] > ? (192.168.0.12) at 00:1e:52:70:b6:36 on bridge0 [bridge] > ? (192.168.0.13) at 00:15:00:10:ed:09 on bridge0 [bridge] > ? (192.168.0.17) at 00:0d:65:27:bd:f2 on bridge0 [bridge] > ? (192.168.0.128) at 00:23:12:fc:39:b9 on bridge0 [bridge] > ? (192.168.0.129) at 00:23:df:6a:dc:9b on bridge0 [bridge] > > and gets log entries of > > Jan 2 00:01:09 soek kernel: rtfree: 0xc2e803c0 has 1 refs > Jan 2 00:01:16 soek kernel: rtfree: 0xc2e80078 has 1 refs > Jan 2 00:01:16 soek kernel: rtfree: 0xc2e80078 has 1 refs > Jan 2 00:01:16 soek kernel: arp_proxy: ignoring request from > 192.168.0.10 via vr2, expecting bridge0 > > what more should i do to debug? Use tcpdump to track where the packets are visible. If this is a wireless issue you will have stats to identify drops as well as the usual debug facilities. Sam