From nobody Fri Dec 08 04:22:44 2023 X-Original-To: questions@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 4SmdKS6PVDz53FW6 for ; Fri, 8 Dec 2023 04:22:52 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4SmdKQ21M9z4bTq for ; Fri, 8 Dec 2023 04:22:49 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cs.ait.ac.th header.s=selector1 header.b=Axs6Xjrz; spf=pass (mx1.freebsd.org: domain of Olivier.Nicole@cs.ait.ac.th designates 192.41.170.16 as permitted sender) smtp.mailfrom=Olivier.Nicole@cs.ait.ac.th; dmarc=pass (policy=none) header.from=cs.ait.ac.th Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 4027C3AB06 for ; Fri, 8 Dec 2023 11:22:45 +0700 (+07) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= content-type:content-type:mime-version:message-id:date:date :in-reply-to:subject:subject:from:from:received:received :received; s=selector1; t=1702009365; x=1703823766; bh=eNDqNDWdQ hIdtRA7J4cjzd7TO+GY901GyEaS3/zMpcY=; b=Axs6XjrzfffdwGAP2XF81d7/b Lo9L6TpIJ987pqOxshsdsXdmZzLchKE7hGK67RrovxqxNxb7XVt2ed45IJd3yHGm AH3i8hjIjEJGuyL7AozdI1paDKgFXwaJcJjt7BYtMySo9dhxaZlX4i/LSSqydF1h jQ1RFWP3b5Egn0MjH4= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 70qEURozY3Rf for ; Fri, 8 Dec 2023 11:22:45 +0700 (+07) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 24AC43AB01 for ; Fri, 8 Dec 2023 11:22:45 +0700 (+07) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.15.2/8.15.2/Submit) id 3B84Mivg003314; Fri, 8 Dec 2023 11:22:44 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) From: Olivier To: questions@freebsd.org Subject: Re: tap interface forcing a permanent ARP association In-Reply-To: (message from Paul Procacci on Fri, 1 Dec 2023 01:01:54 -0500) Date: Fri, 08 Dec 2023 11:22:44 +0700 Message-ID: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-Spamd-Result: default: False [-4.70 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[cs.ait.ac.th,none]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_DKIM_ALLOW(-0.20)[cs.ait.ac.th:s=selector1]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_IN_DNSWL_MED(-0.20)[192.41.170.16:from]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; DKIM_TRACE(0.00)[cs.ait.ac.th:+]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; ASN(0.00)[asn:4767, ipnet:192.41.170.0/24, country:TH] X-Rspamd-Queue-Id: 4SmdKQ21M9z4bTq X-Spamd-Bar: ---- Paul Procacci writes: > The difference is shown in the flags: > > tap0: flags=8843 metric 0 > mtu 1500 > vs > tap0: flags=8803 > > UP is the administrative state indicator, or what you have configured the NIC > to do. > RUNNING is the operational state indicator, or what the NIC has actually been > able to do. > > UP without RUNNING means the NIC is not detecting a link. > > So what does this mean to me? I'd interpret this to mean the first tap0 you > provided is connected to something while the second one isn't. It is all more simple and more stupid than that: "up" lower case is interpreted as the paraameter to mark the interface "up"; while "UP" in upper case is interpreted as the FDQN that should be associated to the interface (even if it is not really FDQ). Thank you, Olivier --