From nobody Tue Jun 06 16:36:03 2023 X-Original-To: bugs@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 4QbGLr368yz4ZT67 for ; Tue, 6 Jun 2023 16:36:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QbGLr1P2Fz42qV for ; Tue, 6 Jun 2023 16:36:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686069364; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=k/bPEqlCOEDg+DaV4bsJQSDAsTFmmAmCaXbcX29O+Es=; b=iPSnBAKjxWiVQTbFl6IQjkAgL/S4Vlf8Oo7RZR5uEhgr5Drdmzz6BQnNb/dZ67HdccU/bO ScTrQahcF2ye+WAJeL7VW9+FkuWm4+KF9VXyiAvbI7/i9ZxEsM1Qcd3q2xOdW08nTkYwMD hZLwYJExobFpCsfwBwhT+/34FQO0OuV6X5pCaMNQ7PBy97/6onI1oQE8kkg57lyqewIdDB meuVYtfsSkLzP9YoInV0vHPYtDKxdr6g3V/X4oN8Y6bU8i7xruhUEYGMDctfFpls5o/+J0 bxdgDOi5MwKn5d49X3uYCpUkws5bIncSIdoYy6UzJWHXtMNYnX4NOJ/FrERETQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686069364; a=rsa-sha256; cv=none; b=nnOV1Yg2Z6vUvQ3cMg9k7NhRmHmBGNahMTz27u08yi8hW3MxPd25rZhuzrB/E1/wgbt1Z7 qJEQvAm77oW8bDZ2f77P5tnN/IJ2pyGqu/0hskXMd5Xx7ETAR8VUTsO0hGHSU3nWlMpAKv EnEBIz+NW5PcIEsdCkbMMDC7YgXqmINy6ho09FK1wWYCnazpaoAvkS6e6vY5Irf8vPQkE/ NztEDj2wrKe7/UHvv1701+4FJzJTK1vhCjMa0Oepdp0/Bp8aBB9juxXIE1QztbNNJ7wTG/ MCSzV8GtI2Qv1FW/OcljY+2YsCEP/xC+PAHXJFzNpM0kJPV8nWhyyN5ZOM2jzA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QbGLr0Lk5zchH for ; Tue, 6 Jun 2023 16:36:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 356Ga36f061046 for ; Tue, 6 Jun 2023 16:36:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 356Ga38d061045 for bugs@FreeBSD.org; Tue, 6 Jun 2023 16:36:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 271869] bridge interface keeps disappearing when adding tap interface as member Date: Tue, 06 Jun 2023 16:36:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ronald.heggenberger@docoscope.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271869 Bug ID: 271869 Summary: bridge interface keeps disappearing when adding tap interface as member Product: Base System Version: 13.2-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: ronald.heggenberger@docoscope.com Created attachment 242638 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D242638&action= =3Dedit uname -a I am having a weird situation and after a conversation on #FreeBSD IRC chan= nel I got the advice to post it here. I have the following entries for networking within my rc.conf... --- background_dhclient=3D"YES" wlans_iwm0=3D"wlan0" ifconfig_wlan0=3D"WPA up" # MAC address redacted ifconfig_em0=3D"ether xx:xx:xx:xx:xx:xx up" cloned_interfaces=3D"lagg0 bridge0 tap0" ifconfig_lagg0=3D"laggproto failover laggport em0 laggport wlan0 DHCP" ifconfig_bridge0=3D"addm tap0 up" ifconfig_bridge0_alias0=3D"inet 10.0.0.1 netmask 255.255.255.0" pf_enable=3D"yes" --- ... with the intent of having a link-aggregation of my ethernet port and wi= fi and having bridged tap interfaces (which will be NATed v=C3=ADa pf to serve= internet to VMs). But after a system start the bridge0 interface isn't available (using 'ifconfig', it does not show up). With the same configuration, executing the following commands don't work ->= the bridge disappears after the last statement: 'ifconfig bridge0 create; ifconfig bridge0 addm tap0" while the following command works and the bridge interface keeps existing: 'ifconfig bridge1 create; ifconfig bridge1 addm tap0" --- What I've tried so far is: - switching bridge0 in rc.conf to bridge1 Which made me discover the following: - when defining bridgeN in rc.conf manually setting up (addm tap) bridgeN d= oes not work, but bridgeM does (where M is not equal to N) What have I screwed up in my config? To be honest: I don't know how to reproduce this on other systems - as I am fairly new to FreeBSD. But I can supply whatever information is needed abou= t my system. --=20 You are receiving this mail because: You are the assignee for the bug.=