From owner-freebsd-net@freebsd.org Mon Jul 8 19:42:41 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BFECB15E815C for ; Mon, 8 Jul 2019 19:42:41 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B4F91889C4 for ; Mon, 8 Jul 2019 19:42:40 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-qt1-x829.google.com with SMTP id d17so17846996qtj.8 for ; Mon, 08 Jul 2019 12:42:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8aeIJ7hFmoZusnwc/gB7qoX64Q9o2NFZkxvzB1wttfQ=; b=rdYskcT6lew7dJpv6IOBCUYWljCZhMVutBn1ixoFaxfFkgdNiRjMeTYKond2c92bP+ LiC+A2e4irj4+O2YNlv/RLtoUOUvuztbhSdJfdpwtgRZmUygQt061SLFcVX9XxAlBlnA EHFoOWTPyHqozuOETi1oU6fW8owaoYaS2UUl/sH1IjveohBNwRfShEEWv9qa30P0hkOY In+WgXVKKn0/iu372IOJIWJlwuThJVEpTkeSTLmVBc9jhnq3k5o5vfZXiLLuYGiuVthA +uyxkKz0pT9Lu152DbjwYxFNX4CTlbCmdIPoyADFo8cxxiCLTzh/A1AELBNQSgF7qtH+ SmNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8aeIJ7hFmoZusnwc/gB7qoX64Q9o2NFZkxvzB1wttfQ=; b=SUlM4Nz7M0rbCEkK34ShDfTNQxsApTO45JIL2Ma9xybz6PBEtQ8hHLPoZ3BaVaI4TJ P4u6cc4qwj3HhrJBWQHvhvs26WLVyy4aFMyvvBq+kQFT6iVDnvsgN9ali3K3ZbIKjKlB WUeOHPbpHf2WEnqRZ8VOOsZRG/Zb+Y68aoqRg60Rh4lEwS/bbMjYqeWw2yvJgHmZumMr DBWLScm/ONEZGNJIS9TvpIOyyPk05U8OtmwSljj3lx2075svsgvHt7DEZftXrXHj1DxY z21ID9BCmVotbI3Nfnt3gc+WXIfff2xDhikeCc/bOlT2ipfBqWkeC8KyOQ7Ie7ay+16n DiRw== X-Gm-Message-State: APjAAAVIqUVxxYiJcCBTCLLyGGuus6vvpN3JDwbqqLWRZj2DNlwzXpYT z6/uQziqIxxSaO/vArlyuvOHlR2cjcSa2pO5z8y5XQ== X-Google-Smtp-Source: APXvYqxGArriVxVw2GEMuDCMUKX/AO7SGCe9YQuc/5uCQkGmkhH+kroYPETsAjwmzA4XknRlI2OhgpTCvUKogNsoNYo= X-Received: by 2002:ac8:27d4:: with SMTP id x20mr15064631qtx.138.1562614959847; Mon, 08 Jul 2019 12:42:39 -0700 (PDT) MIME-Version: 1.0 References: <9e33c592-bd64-277e-6c21-fdeba7e44a94@grosbein.net> In-Reply-To: From: Michael Sierchio Date: Mon, 8 Jul 2019 12:42:04 -0700 Message-ID: Subject: Re: Bridge Not Forwarding ARP To: Eugene Grosbein Cc: "freebsd-net@freebsd.org" , Dan Lists X-Rspamd-Queue-Id: B4F91889C4 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tenebras-com.20150623.gappssmtp.com header.s=20150623 header.b=rdYskcT6 X-Spamd-Result: default: False [-6.18 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[tenebras-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; DMARC_NA(0.00)[tenebras.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: alt1.aspmx.l.google.com]; DKIM_TRACE(0.00)[tenebras-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[9.2.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.86)[-0.864,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-3.01)[ip: (-9.41), ipnet: 2607:f8b0::/32(-3.16), asn: 15169(-2.41), country: US(-0.06)] 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, 08 Jul 2019 19:42:42 -0000 On Mon, Jul 8, 2019 at 11:22 AM Eugene Grosbein wrote: > 09.07.2019 0:43, Michael Sierchio wrote: > > > On Mon, Jul 8, 2019 at 10:33 AM Eugene Grosbein > wrote: > > > > 09.07.2019 0:19, Dan Lists wrote: > >> > >>> On Mon, Jul 8, 2019 at 11:55 AM Michael Sierchio > >> wrote: > >>> > >>>> What's your firewall ruleset look like? (show, don't tell) > >>> The firewall is off for testing (the machine is only on a private > >> network). > >>> # ipfw list > >>> 65535 allow ip from any to any > >>>> What does sysctl report on the interfaces and on arp? > >>> I have not changed any settings. > >> > >> Show output of ifconfig for the bridge and for its members, too. > >> I suppose some misconfiguration like IP address assigned to member > >> interfaces that is wrong. > >> All IP addresses need to be moved to the bridge interface itself. > >> > >> > > Does 'ip' in ipfw match arp packets? > > We have net.link.bridge.ipfw_arp that defaults to 0 (false): > > $ sysctl -d net.link.bridge.ipfw_arp > net.link.bridge.ipfw_arp: Filter ARP packets through IPFW layer2 > > If one changes it to 1 so ipfw would get bridged ARP frames, > then answer to your question should depend on value of net.link.ether.ipf= w > (0 by default) > as ARP packets have no IP header. So if you change so many sysctls, you > will be able > to filter ARP frames with "ip" keyword as "ip" equals to "all" in ipfw. > > Right, thanks, and Dan's sysctl output has net.link.bridge.ipfw_arp: 0 --=20 "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is = no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata