From nobody Fri Oct 10 07:01:54 2025 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 4cjd384Rk1z6BTK7 for ; Fri, 10 Oct 2025 07:02:12 +0000 (UTC) (envelope-from pprocacci@gmail.com) Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cjd370lqGz3TsX for ; Fri, 10 Oct 2025 07:02:11 +0000 (UTC) (envelope-from pprocacci@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=fRp0WUBx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of pprocacci@gmail.com designates 2a00:1450:4864:20::533 as permitted sender) smtp.mailfrom=pprocacci@gmail.com Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-634cef434beso4395474a12.1 for ; Fri, 10 Oct 2025 00:02:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1760079725; x=1760684525; darn=freebsd.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=RVej1NGC5lVPOu0TU8lrSnHnYwlGPOnIRcM4avw92QY=; b=fRp0WUBxhfIjeT+ydyvGIon3D1RoZ8j/NRBBPRViv3no6TzJJsJZw88wNHdY2zi1s1 VK/redMHt+3eI3rSG+lBnt60T1rZyfKnh2yi5HOx5y+3+gvB1Q7pZULi4HynAortRR7k bnS83tMxZ+tL8BrNbzeLLJ5SYVjZYUv20KQWXkBXa2clrkJoMGdohZHeqQ3xNJB0+9nr D4boH5m69ZqbdkNeTdhfwCbAf5U7SJTPF7fOdovppy/2+G/k+IUPjAvBOV+Z7Is3zBFk 3onN/NGvi5CzrNXQhcuWCBwR+8wdQFt5rrIpppcGMbGaqX/J7OUE/U/WYEwl6jTqy1W/ XoJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760079725; x=1760684525; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RVej1NGC5lVPOu0TU8lrSnHnYwlGPOnIRcM4avw92QY=; b=w6qXpUX46A7OSo9B/QtDgCn6uwq1MI9Hu8HpIuorZmcLP8poyFGAzOts/eAZhcs4tB Nje4XAbNkcDN7TSQqsYFHtbHUevgptka0QGmKDXZJSO1rXMdNkDKH6UiZjWcv0OakGXy +sIlLbL0ZjQViMvME6kb1K/3IztsHJIGTmccgyoqViBJPRBhfgrXs9mClG6xoYP6CSsU cuYuzJ+sMK335Ws7VzERwtmJ+NrBQ7BwSsN+lpvls5807VIm2hWmkqZ715TKqLf2WmaM aQVEJTsNqAAJpqNqbp/X8yD+PvP171qAloti9SLze306FC9K+WGkCcMBBK1Vy92KtC+l yJnQ== X-Forwarded-Encrypted: i=1; AJvYcCV1SkVQt4lieyUSa3Q2OuhdK9k96J51wu/R18p1wBg8MV3rCq9PFKY56bXMB/NzS0pHiYKeZpo9oNVgCg==@freebsd.org X-Gm-Message-State: AOJu0Yxt1R3zNeKqMwBu3psDw09GjHS57glCFP21YfmhN7UMTerTXE8L H18biRtv6jyiZZKx1Ku/R4nNQQQH137cdRt1EH9CgEeyabZzfR36sBGn0o02AWeE/w3W/Hi/WWY d5ZLq1R9dRKqvcefqRrMEKjQmv35ZXA== X-Gm-Gg: ASbGncsho45bJSHD+hSfdsr9BhZ1IqzlCd+ZhkWAIBXV4HSo9FQYKbMulcnd3r7OTg7 MC5/y9rBTofxaQFmTHdcui5OUzXywBJlWjwitxaS6sogfVwDrU+W/NhIXM4gbLpY/pY6exgPeS6 6zYSoacZQCSUIcDoTleQe5czlwOLTkA0rZcfn/tJ+lq3QV+4t92VUffHowi4kx8PbA5qVsh7zgy MT8slvt8GgPOdWMsTMFN8sniNJxk13P2g== X-Google-Smtp-Source: AGHT+IGIVwwT9Ru3icIghzB9txuK3bLBSlWgsaUGKQ1Fz3jLX9nMKQrONgxbGyHf7TkID7PJTPBAAf4ZTOeYWO3KbG4= X-Received: by 2002:a17:907:6e86:b0:b04:48b5:6ea5 with SMTP id a640c23a62f3a-b50bedbed80mr1334496666b.17.1760079724191; Fri, 10 Oct 2025 00:02:04 -0700 (PDT) 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 References: In-Reply-To: From: Paul Procacci Date: Fri, 10 Oct 2025 03:01:54 -0400 X-Gm-Features: AS18NWCjJQhnrlFHyVHnnw9vPOW8vhJug9ew3qnKELB9WsGDaqfDjh9kxNUMWKg Message-ID: Subject: Re: FBSD 15 :: if_bridge help needed To: Paul Procacci , "freebsd-net@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.989]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; MISSING_XM_UA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::533:from] X-Rspamd-Queue-Id: 4cjd370lqGz3TsX On Fri, Oct 10, 2025 at 2:51=E2=80=AFAM Lexi Winter wrote= : > > Paul Procacci wrote in : > > Alright, so what's the correct method here for getting the host > > assigned an ip within that 1843 vlan. > > Is it: > > a) create a lagg0.1843 interface and assign an ip > > b) create a bridge0.1843 interface and assign an ip > > option b) is correct. VLAN subinterfaces on bridge(4) is a new feature > in 15.0 and this is now the correct way to connect the host to a VLAN > in a bridge, especially when using VLAN filtering. > > creating a VLAN subinterface on a bridge member was supported, sort of, > but the behaviour was confusing: whether the frame is handled by vlan or > bridge depends on its destination Ethernet address. in 15.0, i changed > this so that if you create a vlan(4) interface on an interface which is > also a member of a bridge, all tagged packets will go the vlan, not the > bridge. this preserves the ability to put the interface in a bridge for > untagged packets and also handle tagged packets via a vlan(4) interface > (which may also be in a bridge, although i don't recommend that). > > > From remote host: tcpdump -n -e -ttt -i igc1 host 192.168.35.154 > > 00:00:01.063499 58:9c:fc:10:6f:fa > 60:be:b4:01:bf:0d, ethertype IPv4 > > (0x0800), length 98: 192.168.35.154 > 192.168.35.1: ICMP echo request, > > id 5948, seq 8, length 64 > > So I'm seeing untagged packets arriving when they should be tagged. > > hm, your configuration looks correct, so i'm not sure what is causing > this. could you please show the tcpdump -ev output for the packet on > bridge0.1843, lagg0, and whichever external interface(s) in the lagg > are handling the packet? i'd like to see whether the tag is being > removed somewhere, or if it's not being added at all. > > could you also include the output of "ifconfig -a" on the system with > the bridge? > > note, there is an outstanding issue where if you create bridge0.N, then > destroy the bridge, then recreate the bridge, the bridge0.N interface > will still exist but it won't be associated with the correct device. > this doesn't seem to be the case in your situation, but it can come up > when you're deleting/recreating bridges for testing, so i thought it was > worth mentioning. Everything is ok. I swear it is. It was a setting on a switch forcing the id to 1. This is another 3:00am special from me trying to get this thing setup. This machine was serving a different purpose until 2 nights ago so there were some old configs still being applied. Ugh! Well on the bright side, through all my testing I can tell ya'll everything appears to working except for one thing: me Jesus H. You guys are awesome. 2 Beers now. Oh and Mark (I know you're watching) ... stop laughing. This is embarrassing. ;) Thanks again .. ~Paul --=20 __________________ :(){ :|:& };: