From owner-freebsd-net@freebsd.org Mon Jan 6 10:59:12 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 12B881D0F13 for ; Mon, 6 Jan 2020 10:59:12 +0000 (UTC) (envelope-from danielmorandini@me.com) Received: from mr85p00im-zteg06011601.me.com (mr85p00im-zteg06011601.me.com [17.58.23.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47rsvg0My8z4Yng for ; Mon, 6 Jan 2020 10:59:10 +0000 (UTC) (envelope-from danielmorandini@me.com) Received: from [10.0.100.100] (unknown [37.163.178.242]) by mr85p00im-zteg06011601.me.com (Postfix) with ESMTPSA id 69E629208E1 for ; Mon, 6 Jan 2020 10:59:08 +0000 (UTC) From: Daniel Morandini Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\)) Subject: lagg interface Message-Id: <19FC0FD7-A2C4-442A-BCB2-0CF8D0726EA1@me.com> Date: Mon, 6 Jan 2020 11:56:46 +0100 To: freebsd-net@freebsd.org X-Mailer: Apple Mail (2.3601.0.10) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2020-01-06_04:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=471 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-2001060101 X-Rspamd-Queue-Id: 47rsvg0My8z4Yng X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:17.58.0.0/16:c]; FREEMAIL_FROM(0.00)[me.com]; TO_DN_NONE(0.00)[]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[me.com:+]; DMARC_POLICY_ALLOW(-0.50)[me.com,quarantine]; RCVD_IN_DNSWL_LOW(-0.10)[186.23.58.17.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[me.com]; ASN(0.00)[asn:714, ipnet:17.58.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[242.178.163.37.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[me.com:s=1a1hai]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[me.com.dwl.dnswl.org : 127.0.5.1]; IP_SCORE(0.00)[ip: (-4.15), ipnet: 17.58.16.0/20(-1.42), asn: 714(-2.22), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 10:59:12 -0000 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 = Adapter, 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, tethering 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 have at least a laggport ). =46rom 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=9Cloadbalance=E2=80=9D and =E2=80=9Croundrobin=E2=80=9D to work = though. Is there someone that can help me understanding? Best regards, Daniel=