From nobody Tue May 23 17:57:38 2023 X-Original-To: virtualization@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 4QQhqQ1CzMz4ClMN for ; Tue, 23 May 2023 17:57:38 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QQhqP6lxSz4lPf for ; Tue, 23 May 2023 17:57:37 +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=1684864657; 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: in-reply-to:in-reply-to:references:references; bh=sGzPQjb5cQ90nRth1SEfGDsQMUjGV3t5tfMhuaqM08Y=; b=eD1yEcokJlHf2LyO3qAhPk5JynuPgdyjpG/yfGugxyq48VjphatNzF/lshm2y/DdhRzmFM 7qDsa+iBGk1CnuOrtxwNENijhd7l5C/hd55fL9YyfIFOEUVu3FWPlvJW6QHFOpS8Pjph2T 87KYrLWAVACuEhS62q818jYY4c0w420ZR9U27dkL3xbHhJIddGWQZuFkDairaO8DPvYddn I60sNFy6/Bf0HMyTgf5p3lcII7ZEBGIqKUKfxH+GfJ1ABdnXxZMO6DXa2zkHSIUDgxWC78 0xY8wGCYQQpfXBvNEV8Ld5+soMpL6ynI8nAzVgsypQ7FKSCKGeYBCyAjXuY0Bw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684864657; a=rsa-sha256; cv=none; b=sin3KiuIx9pd2qYQEFaonVK2PjcWLMEknINVLOmxxNNnNs4TaifjDhSfjTsk2yYWPXcD69 GPbu+wVToud3y3QnnznNLQnztCbuvXBzoWKgL9DvGlCGjQdB+WuaKT76plCHHhPJLRCXn2 cHsvG66N8Ex3U/gjMTkuuGuydotWxKD0RMNCXWubl8TdZXKmlP29rMwIMx3HWEDbXVBdOu UbqwoAyGZoOhIpv4/tktZx4SSjC041tI7J52/xBJOWWtFpIg/+XG3lE8KtXiJbq2kupNzY rQ+twrNLC2muv5wpsPVMx8i2jSpNLMYNsGF6J5aK22rImE2Mb7FsB8W3xfAdSA== 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 4QQhqP5r0Dz18WF for ; Tue, 23 May 2023 17:57:37 +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 34NHvbRY091734 for ; Tue, 23 May 2023 17:57:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34NHvb4m091733 for virtualization@FreeBSD.org; Tue, 23 May 2023 17:57:37 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: virtualization@FreeBSD.org Subject: [Bug 271456] SR-IOV: mce(4) with bhyve: can't ping the vm Date: Tue, 23 May 2023 17:57:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: benoitc@enki-multimedia.eu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271456 --- Comment #4 from benoitc --- same result with jails. Are virtual devices created with srv-io working in a bridge? I can set the ip of the interface, but once I put it in the bridge = it doesn't work. With jail, here is the bastille configuration: ``` testing { devfs_ruleset =3D 13; enforce_statfs =3D 2; exec.clean; exec.consolelog =3D /var/log/bastille/testing_console.log; exec.start =3D '/bin/sh /etc/rc'; exec.stop =3D '/bin/sh /etc/rc.shutdown'; host.hostname =3D testing; mount.devfs; mount.fstab =3D /usr/local/bastille/jails/testing/fstab; path =3D /usr/local/bastille/jails/testing/root; securelevel =3D 2; vnet; vnet.interface =3D e0b_bastille0; exec.prestart +=3D "jib addm bastille0 mce2"; exec.prestart +=3D "ifconfig e0a_bastille0 description \"vnet host interf= ace for Bastille jail testing\""; exec.poststop +=3D "jib destroy bastille0"; } ``` /etc/rc.conf: ``` syslogd_flags=3D"-ss" sendmail_enable=3D"NO" sendmail_submit_enable=3D"NO" sendmail_outbound_enable=3D"NO" sendmail_msp_queue_enable=3D"NO" cron_flags=3D"-J 60" ifconfig_e0b_bastille0_name=3D"vnet0" ifconfig_vnet0=3D"inet6 XXXX:XXXX:XXXX:102::20/64" defaultrouter=3D"XXXX:XXXX:XXXX:102::1" ``` On the host network s configured like this: ``` ce2: flags=3D8963 metric 0 = mtu 9000 =20=20=20=20=20=20=20 options=3D7ead00b9 ether a2:5b:2e:82:9f:09 inet 0.0.5.220 netmask 0xff000000 broadcast 0.255.255.255 inet6 fe80::a05b:2eff:fe82:9f09%mce2 prefixlen 64 tentative scopeid= 0x6 media: Ethernet 25GBase-SR status: active nd6 options=3D21 mce2bridge: flags=3D8843 metric 0 m= tu 9000 ether 58:9c:fc:10:fc:41 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: e0a_bastille0 flags=3D143 ifmaxaddr 0 port 8 priority 128 path cost 2000 member: mce2 flags=3D143 ifmaxaddr 0 port 6 priority 128 path cost 800 groups: bridge nd6 options=3D9 e0a_bastille0: flags=3D8963 metric 0 mtu 9000 description: vnet host interface for Bastille jail testing options=3D8 ether 0a:20:98:82:9f:09 hwaddr 02:00:91:24:1e:0a groups: epair media: Ethernet 10Gbase-T (10Gbase-T ) status: active nd6 options=3D29 ``` --=20 You are receiving this mail because: You are the assignee for the bug.=