From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Simon Wunderlich Subject: Re: Problems with Multiple Interfaces Date: Fri, 09 Apr 2021 12:17:36 +0200 Message-ID: <3542676.qYy7ulQ77K@prime> In-Reply-To: <20210408055629.1234.95039@diktynna.open-mesh.org> References: <20210408055629.1234.95039@diktynna.open-mesh.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3270888.Hg29SZht4R"; micalg="pgp-sha512"; protocol="application/pgp-signature" Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: To: b.a.t.m.a.n@lists.open-mesh.org Cc: joe@careyhome.org --nextPart3270888.Hg29SZht4R Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Thursday, April 8, 2021 7:56:29 AM CEST joe@careyhome.org wrote: > Hi Everybody, > > I'm running BATMAN v 2019.2 with ath10k on OpenWRT. The particular router > I'm using has two interfaces, 2.4 GHz and 5GHz. With each router using > single interface (e.g. 2.4 GHz), it works fine. When I add a second > interface (e.g. 5GHz), it sometimes hangs. > > I know that BATMAN is expected to alternate between the two interfaces, but > that doesn't seem to be working. As you probably know, using two > interfaces should dramatically improve throughput if you need to make a hop > through another mesh node. > > To verify this is the problem, I did a test where I ran three routers, 2.4G > <> Dual (2.4G & 5G) <> 5G. I would try to ping between the two routers > that were using just a single interface. Obviously, that must hop through > the dual radio router. The dual radio router has both interfaces on the > bat0 master, and batctl reports they're both active. > > The system would sometimes lose link, although batctl would report getting > neighbor messages. Even using the batctl ping function doesn't get > through. I can see traffic flowing on both the 2.4 GHz and 5GHz > interfaces. > > I'm happy to provide lots of configuration detail, but I thought I'd start > with a high level description in case this is a known problem. > > Any assistance is appreciated. Thank you, > > --Joe Hi Joe, I'd expect your setup to work. Could you try to run "batctl ping" between the nodes, maybe also on the intermediate links? If you see that it's failing too, could you set up some IPv4 addresses (or use IPv6 link local addresses) on your ad-hoc/mesh interfaces, and try to ping to the next hop? I suspect that something is off with the wifi driver, i.e. broadcasts are still working but unicast pings are dropped. Cheers, Simon --nextPart3270888.Hg29SZht4R Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE1ilQI7G+y+fdhnrfoSvjmEKSnqEFAmBwKcAACgkQoSvjmEKS nqEV+hAAw748ottQmw4bObubfFb0aQmJiAFIKB9Oku7ecSdq7TjneybS//ZysCrW +HSoqlXl3i8bclnHQ5Y7nJICK6imakfk8rvs3v2DploNdyuXJblR8W7tfJ6Haona SSDFfkCjPEkIXBvI4pQF0PEW82J42vnXNAZnHsa1lEbeJqHtJKFkvj5cbz4Y1VVf UWWlHnw+xDUOrIepiOD8Z3trYDsKYscp766PZ3hZ6E8c8xPvyQNyFEZu5t0Sgb7k r6xW7z9KRfifvxlNh++pW4QKR6irxBzfvOeCpgRDekLR5sUU+LygGBvgf1UIVTXP 4M5wcS88YqG8SfRPFfZsTfHc2ZfpUrG7jFG889gdPAU+ge1hW9viE7kFGantDj7k 8l7aT5fYV6pN06pBjXgPC+xNTf7tK5uL0FuvHC+Nc95KdiCrsOzrYSbivEBujHXe scNqVFUjzyt3xbHb0CkHBfHxuNUG4hB6NsCLbxXL+xT7jZ7V/lOh4utUIoX8yE4L lts3x3e2why3iqQKPQ7yDvVMlds/0r9LPx1tIMtlyBkEginBtEHKgpSQCSZdrWEP aHYjm/tmvbiaedKKYIXe20xt0XCMbxHwAoXjk+OKIjaagHd0EqTkNX2AYMO0/Mi6 UUpdqeyPVDj+ZOUyYzHbwg7MfU05oaf9OpHoOhzL+pmhrewHuyg= =nQ4K -----END PGP SIGNATURE----- --nextPart3270888.Hg29SZht4R--