From owner-freebsd-net@freebsd.org Mon Jan 6 11:30:52 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7A8611D1B6F for ; Mon, 6 Jan 2020 11:30:52 +0000 (UTC) (envelope-from meka@tilda.center) Received: from comms.tilda.center (comms.tilda.center [217.69.6.248]) by mx1.freebsd.org (Postfix) with ESMTP id 47rtcC4WjQz4bH1 for ; Mon, 6 Jan 2020 11:30:51 +0000 (UTC) (envelope-from meka@tilda.center) Received: from thinker.home.meka.rs (79-101-199-95.dynamic.isp.telekom.rs [79.101.199.95]) by comms.tilda.center (Postfix) with ESMTPSA id 7ACB614A5D; Mon, 6 Jan 2020 12:30:44 +0100 (CET) Date: Mon, 6 Jan 2020 12:30:43 +0100 From: Goran =?utf-8?B?TWVracSH?= To: Daniel Morandini Cc: freebsd-net@freebsd.org Subject: Re: lagg interface Message-ID: <20200106113043.2zbjlj2b57hlj6eo@thinker.home.meka.rs> References: <19FC0FD7-A2C4-442A-BCB2-0CF8D0726EA1@me.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4scbi37urhknrrfb" Content-Disposition: inline In-Reply-To: <19FC0FD7-A2C4-442A-BCB2-0CF8D0726EA1@me.com> X-Rspamd-Queue-Id: 47rtcC4WjQz4bH1 X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.29 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[tilda.center:s=mail]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[tilda.center:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[tilda.center,reject]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[me.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-0.29)[asn: 20473(-1.41), country: US(-0.05)]; ASN(0.00)[asn:20473, ipnet:217.69.0.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 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, 06 Jan 2020 11:30:52 -0000 --4scbi37urhknrrfb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 06, 2020 at 11:56:46AM +0100, Daniel Morandini via freebsd-net = wrote: > Dear FreeBSD community, > I am building a prototype router which provides a network access point to= its client through a wireless interface (rtwn0: Realtek 802.11n WLAN Adapt= er, class 0/0, rev 2.00/2.00, addr 4). Currently the packets received from = the wlan0 interface are NATed through my phone attached via usb cable, teth= ering mode enabled (ipheth1: ). > > What I would to do is to improve the network throughput by exploiting two= phones instead of one. For that I was testing the lagg(4) interface, but I= have troubles debugging why the link does not get up (I never managed to h= ave at least a laggport ). > > From what I got from the docs, I cannot expect to be able to use =E2=80= =9C acp=E2=80=9D as distribution algo, as it requires the other side of the= links (the phones in this case), to implement the proto too, and it is not= the case. I would expect to see =E2=80=9Cfailover=E2=80=9D, =E2=80=9Cloadb= alance=E2=80=9D and =E2=80=9Croundrobin=E2=80=9D to work though. > > Is there someone that can help me understanding? > > Best regards, > Daniel > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" Hello, I use lagg in failover for laptop setup between ethernet and wifi interface. This is how I setup my router and laptop, both running FreeBSD: https://meka.rs/blog/2016/12/24/freebsd-wifi-and-ethernet-bridging= -and-aggregation/ I hope it helps! Regards, meka --4scbi37urhknrrfb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE1WIFkXy2ZeMKjjKEWj1TknovrLYFAl4TGmAACgkQWj1Tknov rLaRpQ/+ImeZueqBJDpUnKEvq+W541NYv2dfiUAU4yt6Qf0H/fDbOXLMmZuOfpNG dd3RJp8ft0xA2khQe6UMEQYRGswnDNQnKeT5WwYIg5iQVhn2DAa5UoJwLDmg9B4+ Py9ex3MwVUle2GkT+TMWuvWOyMsWIAex6ELWu1Kmt6BE1UbXqNWSH60U2kgg2E0X voHZkXEq8SNjB+YMKxmr63DBvrUZsW0ANC2bnBU5dC1fvxa9IKnhZQK3evMjK4Ls UtvM6LwJrE68Bdr+jWAl2qqa+v6TEF71hJhSmJYnbpHJCf7gnAHqiUP+G/GiMSCz dilgrKbArb9ohAOlZXpDt2oy3XFn8fKzG2N6enPrcm86myuTJyQ5WlWgqYodZsOQ 4b81g6a6PBWJK3oYCpOWI1OLCHfISBU09GzC8vEbaFdFtGsUaLEQfhHI9BF/lVRr SzbWn7OF9icThcEsZU84t+DDqeZuVo76l/FvCifCoBlG8iUo52Bq4xVXyJSBGr9S v5kYa+y9t9RrI99ashHCHQSekAGbtruC+pJJJrGW+o4AyAOql5Ys1MlHWO1+90dl Y8RqqI1OxXrfWnxYYZ5Yyzq5RtUCQHShxGQxMMatgQYhVfkUk4W5x8YV68W1pv1g MCl7lGpv/e8Xv4tn+yAGUQSeXG1uneK6eWUtIuxbvO1uUGQbAf8= =nXDq -----END PGP SIGNATURE----- --4scbi37urhknrrfb--