Date: Tue, 23 May 2023 17:57:38 +0000 From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 271456] SR-IOV: mce(4) with bhyve: can't ping the vm Message-ID: <bug-271456-27103-UD6RqtRqYX@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-271456-27103@https.bugs.freebsd.org/bugzilla/> References: <bug-271456-27103@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271456 --- Comment #4 from benoitc <benoitc@enki-multimedia.eu> --- 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<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 = mtu 9000 =20=20=20=20=20=20=20 options=3D7ead00b9<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLA= N_HWFILTER,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,HWRXTSTMP,NOMAP,TXTLS4,TXTLS6,V= XLAN_HWCSUM,VXLAN_HWTSO> 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 <full-duplex,rxpause,txpause> status: active nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL> mce2bridge: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<LEARNING,DISCOVER,AUTOEDGE,AUTOPT= P> ifmaxaddr 0 port 8 priority 128 path cost 2000 member: mce2 flags=3D143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 6 priority 128 path cost 800 groups: bridge nd6 options=3D9<PERFORMNUD,IFDISABLED> e0a_bastille0: flags=3D8963<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 9000 description: vnet host interface for Bastille jail testing options=3D8<VLAN_MTU> ether 0a:20:98:82:9f:09 hwaddr 02:00:91:24:1e:0a groups: epair media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> ``` --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271456-27103-UD6RqtRqYX>