From nobody Sun Dec 15 19:21:16 2024 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 4YBCbw6BVVz5hCq6 for ; Sun, 15 Dec 2024 19:21:16 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YBCbw2MrPz4S8N for ; Sun, 15 Dec 2024 19:21:16 +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=1734290476; 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=h36EtHjKgHpBRfnPUFkfK7Pukf7QH8wWeAvLf+af85g=; b=whlQlszMbJZqD8SSWd57sVfvvV2ykFOpqXiv82xTfe5b9WiyR7/fTj/iKLeMScwAqjBdrh SsiJIaADhE5QZdvrwkIFbSKb+pdhJl1K2+fDsyKnTND6Us0UnvnWbgc7HwkGi0yEUgsJas mwjATWhVtsT+08vYjI6d75bh+LukjzdMIZMT4lw/hIdw/ganKY8EDuaH9c1ypAM463EgYp IoGotIXrUeQ+geqaHSlrPXTEQN0Bsue8T639QXYC1IQm26tgUKmBnohlPV2fSXSO8zTAjE uVuOis74LAI+NlWBuof9AboBDQ4gMdOUjsLn6GA+QnXk6HeHzvYqhY8MgZkxyA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734290476; a=rsa-sha256; cv=none; b=wPxsa9jdERb4yAIS/0UcZpiWb+kkshL6KPoW2veq/RekOHhcvnRYxnuwyuWeZyucDqLu2O o4YJGLCfq6a81OYoynB0KZD6c8Kx3OSmmjVnp5QmYliCryIHeXXs0YnGj8nvnrFSseU0aH ef84zFuKz3fWMmZk8vXIk5DmEUEn5wDz+qUei0oMk8O96CHnP6FNKmNJtr9ekeQav7r73l c/TfHM9ItKwnDAEu/v8XjhGWpYki0hqcmHaCgWicgMtORts1LPiBLD82YxyYdTTMd7CZzv pMJLBzXUgTmwq0EI9jk7vWjlhc19CtUp77WrrNBtV7IceewLGRndD7OdCKVjUw== 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 4YBCbw1zNKzL83 for ; Sun, 15 Dec 2024 19:21:16 +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 4BFJLG81084127 for ; Sun, 15 Dec 2024 19:21:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BFJLGiO084126 for bugs@FreeBSD.org; Sun, 15 Dec 2024 19:21:16 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 283352] Hyper-V and VLAN dont work Date: Sun, 15 Dec 2024 19:21:16 +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: 14.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: michael.adm@gmail.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 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283352 Bug ID: 283352 Summary: Hyper-V and VLAN dont work Product: Base System Version: 14.2-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: michael.adm@gmail.com A certain bug was found, but it is not clear in what part of the system. Windows server 2022 21H2 (latest updates) Hyper-V and HPE Ethernet 10/25Gb 2-port 640FLR-SFP28 Adapter (firmware version 14.32.1900). Many virtual machines with different FreeBSD OS versions (14.2-STABLE and 15.0-CURRENT). With Mellanox windows driver version 23.x.xxx (HPE Mellanox CX4LX and CX5 Driver W2K22 v23.4.26054.0 Sep 12, 2023 - cp056041, HPE Mellanox CX4LX and = CX5 Driver W2K22 v23.10.26252.0 Apr 8, 2024 - cp059093) --> all works perfectly. With Mellanox windows driver version 24.x.xxx (HPE Mellanox CX4LX and CX5 Driver W2K22 v24.4.26429.0 Jul 15, 2024 - cp061096, HPE Mellanox CX4LX and = CX5 Driver W2K22 v24.7.26520.0 Nov 22, 2024 - cp062823) --> vlans in these VMs = can communicate with each other (only on the same Hyper-V switch), but not with other VMs on other hypervisors and not even from a VM on another virtual sw= itch of the same hypervisor. Networks in all VMs are configured according to this template: ifconfig_hn1=3D"inet 192.168.0.130 netmask 255.255.255.0" vlans_hn1=3D"128 172 ... ..." ifconfig_hn1_128=3D"inet 192.168.168.130 netmask 255.255.255.0" ifconfig_hn1_128_alias0=3D"inet 10.208.128.130 netmask 255.255.255.0" ifconfig_hn1_172=3D"inet 172.22.22.130 netmask 255.255.255.0" ifconfig_hn1_...=3D"..." >ifconfig: hn1: flags=3D1008843 metri= c 0 mtu 1500 options=3D8051b ether 1a:1a:01:28:00:15 inet 192.168.0.130 netmask 0xffffff00 broadcast 192.168.0.255 media: Ethernet autoselect (10Gbase-T ) status: active nd6 options=3D29 hn1.128: flags=3D1008843 m= etric 0 mtu 1500 options=3D80000 ether 1a:1a:01:28:00:15 inet 192.168.168.130 netmask 0xffffff00 broadcast 192.168.168.255 inet 10.208.128.130 netmask 0xffffff00 broadcast 10.208.128.255 groups: vlan vlan: 128 vlanproto: 802.1q vlanpcp: 0 parent interface: hn1 media: Ethernet autoselect (10Gbase-T ) status: active nd6 options=3D29 hn1.172: flags=3D1008843 m= etric 0 mtu 1500 options=3D80000 ether 1a:1a:01:28:00:15 inet 172.22.22.130 netmask 0xffffff00 broadcast 172.22.22.255 groups: vlan vlan: 172 vlanproto: 802.1q vlanpcp: 0 parent interface: hn1 media: Ethernet autoselect (10Gbase-T ) status: active nd6 options=3D29 External Switch is Brocade, configured as usual: ... interface TenGigabitEthernet 60/0/59 fabric isl enable fabric trunk enable switchport switchport mode trunk switchport trunk allowed vlan all switchport trunk tag native-vlan spanning-tree shutdown no shutdown ... VM network cards added like this: Add-VMNetworkAdapter -SwitchName R25G_P2 -VMName "zFRtest14-2" -Name "eth_test_vm_P0" -StaticMacAddress "1A-1A-01-28-00-16" Set-VMNetworkAdaptervlan -VMName "zFRtest14-2" -VMNetworkAdapterName "eth_test_vm_P0" -Trunk -AllowedVlanIdList "128,172" -NativeVlanId 1 If this is a HP bug then someone tell them about it because Hewlett Packard doesn't pay attention to ordinary people like me. Thanks in advance for your help. --=20 You are receiving this mail because: You are the assignee for the bug.=