From nobody Tue Oct 25 11:57:44 2022 X-Original-To: freebsd-arm@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 4MxVnD46kQz4gFqd for ; Tue, 25 Oct 2022 11:57:52 +0000 (UTC) (envelope-from SRS0=dp/f=22=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (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 4MxVnC4G8Xz3dcJ for ; Tue, 25 Oct 2022 11:57:51 +0000 (UTC) (envelope-from SRS0=dp/f=22=klop.ws=ronald-lists@realworks.nl) Date: Tue, 25 Oct 2022 13:57:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1666699064; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=19NEi4K2WkVnwi8JRiiOcpRXpxzXA8OLHAW0aNWGw7U=; b=G7MgmeuPv0kLZMHHVqbvQuwuCA4fliMSbiGLBPhq4s2q4YfDGQYvWiO6dfBPRfCAQ46Xlr Gwq0yuT9PH4ZOuqKrh0jOQMiCtIItFXdqY/319WEpGSNSCpfgbUohhpqNpCphfUgGVU5qH SIHlzxns3NKEMlIk6/5VhtnFqAlrkgAL3L1dJImLGNl27JL0x13RV5F7dsU9TeOWIyOC8X yjUZQZLQFFO9YybIoVhcKxHvxtep9nOAzEqPWsEDvcgyxrMdoEb1OlxrYzNTQIcLO0uPrZ oK1vXGS1TC84pU1tRGwUqP+nOJ2Q6EFyNViqG+WC5/0tsWTetC7UCRPtyNP8Hw== From: Ronald Klop To: freebsd-arm@freebsd.org Message-ID: <108673236.151493.1666699064016@localhost> Subject: wake-on-lan lost from rpi4 (works on rpi3) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_151491_151081165.1666699063932" X-Mailer: Realworks (628.35) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 4MxVnC4G8Xz3dcJ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=G7MgmeuP; dmarc=pass (policy=quarantine) header.from=klop.ws; spf=pass (mx1.freebsd.org: domain of "SRS0=dp/f=22=klop.ws=ronald-lists@realworks.nl" designates 194.109.157.24 as permitted sender) smtp.mailfrom="SRS0=dp/f=22=klop.ws=ronald-lists@realworks.nl" X-Spamd-Result: default: False [-3.20 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,quarantine]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER(0.30)[ronald-lists@klop.ws,SRS0=dp/f=22=klop.ws=ronald-lists@realworks.nl]; R_DKIM_ALLOW(-0.20)[klop.ws:s=rw2]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ZERO(0.00)[0]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[klop.ws:+]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; FROM_HAS_DN(0.00)[]; HAS_X_PRIO_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; FROM_NEQ_ENVFROM(0.00)[ronald-lists@klop.ws,SRS0=dp/f=22=klop.ws=ronald-lists@realworks.nl] X-ThisMailContainsUnwantedMimeParts: N ------=_Part_151491_151081165.1666699063932 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, When I do "wake ue0 `cat /home/ronald/freenas.ethernet `" on my RPI3B+ my NAS boots and tcpdump shows the following line on my rpi3 as well as on my router. 13:39:44.344111 IPX 00217046.6c:da:00:21:70:46.6cda > 00217046.6c:da:00:21:70:46.6cda: ipx-#6cda 65505 When I do "wake genet0 `cat /home/ronald/freenas.ethernet `" on my RPI4 my NAS does not boot and tcpdump only show this on my rpi4 and *not* on my router. 13:37:26.448251 IPX 00217046.6c:da:00:21:70:46.6cda > 00217046.6c:da:00:21:70:46.6cda: ipx-#6cda 65505 Firewall ipfw does not indicate that it blocks anything. RPI4 runs: FreeBSD rpi4 14.0-CURRENT FreeBSD 14.0-CURRENT #11 main-4f0c9b76cf: Sat Aug 13 23:59:19 CEST 2022 ronald@rpi4:/home/ronald/dev/obj/home/ronald/dev/freebsd/arm64.aarch64/sys/GENERIC-NODEBUG arm64 genet0: flags=8943 metric 0 mtu 1500 options=68000b RPI3 runs: FreeBSD rpi3 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 GENERIC arm64 ue0: flags=8943 metric 0 mtu 1500 options=80009 Does genet0 not support these packages? What can prevent this packet to go on the ethernet while tcpdump still shows it is outgoing on the interface? genet0 does have a vlan configured connected to a bridge0 for some jails vlan3: flags=8943 metric 0 mtu 1500 options=80000 groups: vlan vlan: 3 vlanproto: 802.1q vlanpcp: 0 parent interface: genet0 ue0 is itself connected to a bridge0 Regards, Ronald. ------=_Part_151491_151081165.1666699063932 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi,

When I do "wake ue0 `cat /home/ronald/freenas.ethernet `" on my RPI3B+ my NAS boots and tcpdump shows the following line on my rpi3 as well as on my router.
13:39:44.344111 IPX 00217046.6c:da:00:21:70:46.6cda > 00217046.6c:da:00:21:70:46.6cda: ipx-#6cda 65505

When I do "wake genet0 `cat /home/ronald/freenas.ethernet `" on my RPI4 my NAS does not boot and tcpdump only show this on my rpi4 and *not* on my router.
13:37:26.448251 IPX 00217046.6c:da:00:21:70:46.6cda > 00217046.6c:da:00:21:70:46.6cda: ipx-#6cda 65505

Firewall ipfw does not indicate that it blocks anything.

RPI4 runs:
FreeBSD rpi4 14.0-CURRENT FreeBSD 14.0-CURRENT #11 main-4f0c9b76cf: Sat Aug 13 23:59:19 CEST 2022     ronald@rpi4:/home/ronald/dev/obj/home/ronald/dev/freebsd/arm64.aarch64/sys/GENERIC-NODEBUG arm64

genet0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=68000b<RXCSUM,TXCSUM,VLAN_MTU,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>


RPI3 runs:
FreeBSD rpi3 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 GENERIC arm64

ue0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=80009<RXCSUM,VLAN_MTU,LINKSTATE>


Does genet0 not support these packages?
What can prevent this packet to go on the ethernet while tcpdump still shows it is outgoing on the interface?
genet0 does have a vlan configured connected to a bridge0 for some jails
vlan3: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=80000<LINKSTATE>
    groups: vlan
    vlan: 3 vlanproto: 802.1q vlanpcp: 0 parent interface: genet0

ue0 is itself connected to a bridge0

Regards,
Ronald.
  ------=_Part_151491_151081165.1666699063932--