From nobody Mon Jan 17 08:53:54 2022 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5CB5C196C8A7 for ; Mon, 17 Jan 2022 08:53:58 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jcm0k2CB3z4nh8; Mon, 17 Jan 2022 08:53:58 +0000 (UTC) (envelope-from kp@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642409638; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vWitr5otBwhzQjR8UZy/Nic85ZrMWLcrknuQqqqV9sw=; b=fITk0WSQB4KB6jVgw9tSzuEj7hZH/9QWAiAovDnZHjTRa2kA7ifgHoaCN18dHmbJ1TyTBb tzsGsncJFTPTyqWrhtX9IRPyJ4Wp4KA2VUYi8bGYpLaFWCto2bPmcoGJg+MVdYDweHhN1j Aic9vmfzz8PZ3K3H/L7ikWkx71d7xVkSHuWonVvjfJNsjAJmffl0txVol6LZGk+sflw4eT t7kjeI1Dh1kyAFqxL2zUNZQmAIAU/pgJfnnzYNwd/VXmnRMDTVQyl3TS4Q6fTRQMJv8MPN VGSkoaQ2eCA7PNUmsYEmXKE+VCpGWVYqp+baloo5ylgFNlszxxs8WI+N1+MmZg== Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.codepro.be", Issuer "R3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id 131C49B98; Mon, 17 Jan 2022 08:53:58 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: by venus.codepro.be (Postfix, authenticated sender kp) id BEF0E4315A; Mon, 17 Jan 2022 09:53:55 +0100 (CET) From: Kristof Provost To: George Michaelson Cc: "Patrick M. Hausen" , freebsd-net@freebsd.org Subject: Re: can't bridge an I/F with jumbo to taps, deleted bridge 'flags' are sticky if you remake them Date: Mon, 17 Jan 2022 09:53:54 +0100 X-Mailer: MailMate (1.14r5852) Message-ID: In-Reply-To: References: List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642409638; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vWitr5otBwhzQjR8UZy/Nic85ZrMWLcrknuQqqqV9sw=; b=qxi0EKQGj445hswrX1LGNqAd5llPznz0b7kzL0NxpAromd8QKlhfRvcFX35Uey4wbr0N/9 xRfj+CHDrBwjV+VRaTsO4xAAVEvKoAqoIVS7A3EZTyhbW1VOv0y9y/fe+XHS51M80Dfg9J i/yBwjyNJOztbmdujg8i14wLgOHelhgFpvqarfqa/impj0UMr9luAP24gsHa0l4qANyOxt sJndF3dD9+F+rtVqV5fSsyFVqjgqxdoZKu6ji4B0TrvIzBzosD401gOPhH30mroMjgg1PX D/+S83m05AEd0xiSp93KtxpRvilCRF6J3VbvsKOq2o105YsPnZkZZc6UuaJJSg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642409638; a=rsa-sha256; cv=none; b=ddprioUVtk0GwFARYwqmMwP0p3HVz4L4Qc3lcGQOO7fxWFRTkRNFodyNO+P1MeDcpm10AE /9wH+IO6IWOPVi7v0qZzi9y01uXlJ54V6/EE9IxNx/PkVYw1hG1UA31B87MIg7FJqxe0F2 gNlF2hlVOalWexB71gzHVBZEDVWaaTW5g10C/HdHN3MyWbOZjEdstlj6j7B1nVB8FlyHl1 gnyWkh91Ov9FLTcEoStkw/9zG4yG7MWkpm3HA3HLjIb9MBEE0ucgxggkredE6Ahw19Tfb1 67lNtuw9dI0MJq6XPqawN10Oy65/qcnQX0EZT7Omg8s1aeTGF0WhbUVmOxczvw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 17 Jan 2022, at 6:09, George Michaelson wrote: > I tested on FreeBSD 13 and the behaviour is the same. > > But, I want to withdraw an imputation this is a bug. The underlying > behaviour is that you can't bond an MTU9000 and an MTU1500 interface. > If the base device is set jumbo, then the tapX instances must be set > jumbo. once you set MTU to match, it works fine on both FreeBSD12 and > on FreeBSD13. > > It's probably a documentation nit, if anything: bridged devices should > have identical MTU. The ifconfig bridge command will refuse to addm > if the MTU is not correct for the any other member of the > bridge group. > Note that the if_bridge behaviour around MTU changes will change in 14. In 14 it becomes possible to change the MTU on the bridge itself, which w= ill then adjust the MTU for all member interfaces: https://cgit.freebsd.org/src/commit/sys/net/if_bridge.c?id=3D33306493825b= 291a308c0d37396e82de458f6cfe (And also https://cgit.freebsd.org/src/commit/sys/net/if.c?id=3D01ad0c007= 9646a31afa20e1f07e5b62b82613493 which means that interfaces belonging to = a bridge no longer allow MTU changes.) Br, Kristof