[Bug 271456] SR-IOV: mce(4) with bhyve: can't ping the vm
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 271456] srv-io mce(4) with bhyve: can't ping the vm"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 May 2023 17:57:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271456 --- 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 = 13; enforce_statfs = 2; exec.clean; exec.consolelog = /var/log/bastille/testing_console.log; exec.start = '/bin/sh /etc/rc'; exec.stop = '/bin/sh /etc/rc.shutdown'; host.hostname = testing; mount.devfs; mount.fstab = /usr/local/bastille/jails/testing/fstab; path = /usr/local/bastille/jails/testing/root; securelevel = 2; vnet; vnet.interface = e0b_bastille0; exec.prestart += "jib addm bastille0 mce2"; exec.prestart += "ifconfig e0a_bastille0 description \"vnet host interface for Bastille jail testing\""; exec.poststop += "jib destroy bastille0"; } ``` /etc/rc.conf: ``` syslogd_flags="-ss" sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" cron_flags="-J 60" ifconfig_e0b_bastille0_name="vnet0" ifconfig_vnet0="inet6 XXXX:XXXX:XXXX:102::20/64" defaultrouter="XXXX:XXXX:XXXX:102::1" ``` On the host network s configured like this: ``` ce2: flags=8963<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 9000 options=7ead00b9<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWFILTER,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,HWRXTSTMP,NOMAP,TXTLS4,TXTLS6,VXLAN_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=21<PERFORMNUD,AUTO_LINKLOCAL> mce2bridge: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 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=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 8 priority 128 path cost 2000 member: mce2 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 6 priority 128 path cost 800 groups: bridge nd6 options=9<PERFORMNUD,IFDISABLED> e0a_bastille0: flags=8963<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 9000 description: vnet host interface for Bastille jail testing options=8<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=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> ``` -- You are receiving this mail because: You are the assignee for the bug.