From owner-freebsd-virtualization@freebsd.org Sat Jun 30 15:07:27 2018 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 037ED1033B03 for ; Sat, 30 Jun 2018 15:07:27 +0000 (UTC) (envelope-from hicks@cgi.cz) Received: from hel.cgi.cz (hel.cgi.cz [178.238.36.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7C03481136 for ; Sat, 30 Jun 2018 15:07:26 +0000 (UTC) (envelope-from hicks@cgi.cz) Received: from hel.cgi.cz (localhost [127.0.0.1]) by hel.cgi.cz (Postfix) with ESMTP id C099A112D0A for ; Sat, 30 Jun 2018 17:07:16 +0200 (CEST) X-Virus-Scanned: amavisd-new at cgi.cz Received: from hel.cgi.cz ([127.0.0.1]) by hel.cgi.cz (hel.cgi.cz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id gVX17kXWh9Ii for ; Sat, 30 Jun 2018 17:07:14 +0200 (CEST) Received: from mail2.cgi.cz (hermes [172.17.174.1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by hel.cgi.cz (Postfix) with ESMTPS id 4BD0A112CDA for ; Sat, 30 Jun 2018 17:07:14 +0200 (CEST) Received: from [192.168.8.152] (unknown [82.100.31.11]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail2.cgi.cz (Postfix) with ESMTPSA id D7DE236F2D for ; Sat, 30 Jun 2018 17:07:13 +0200 (CEST) To: freebsd-virtualization@freebsd.org From: Jakub Chromy Subject: Possible bug: 11.2-RELEASE guest with vtnet and PF Message-ID: <848b6851-89fb-b6c8-b412-d5ed897f63d2@cgi.cz> Date: Sat, 30 Jun 2018 17:07:09 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Language: cs Content-Type: text/plain; charset=iso-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jun 2018 15:07:27 -0000 Hello guys, I've just installed a 11.2-RELEASE guest under bhyve (hypervisor is 11.1-RELEASE)... and I cant use Virtio network interface with PF: odine:/boot/kernel# /sbin/pfctl -n -f ~/local/tmp/pf.work *pfctl: pfi_get_ifaces: Bad file descriptor* the file contains the following single line only: pass out quick on vtnet0 proto tcp from any to any keep state these are my interfaces: vtnet0: flags=8943 metric 0 mtu 1500         options=80028         ether 58:9c:fc:04:aa:91         hwaddr 58:9c:fc:04:aa:91         inet *.*.206.214 netmask 0xffffffe0 broadcast *.*.206.223         nd6 options=29         media: Ethernet 10Gbase-T         status: active vtnet1: flags=8902 metric 0 mtu 1500         options=80028         ether 58:9c:fc:08:e0:c7         hwaddr 58:9c:fc:08:e0:c7         nd6 options=29         media: Ethernet 10Gbase-T         status: active lo0: flags=8049 metric 0 mtu 16384         options=600003         inet6 ::1 prefixlen 128         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3         inet 127.0.0.1 netmask 0xff000000         nd6 options=21         groups: lo I haven't noticed any other problems with vtnet0.... it is routing properly, everything works... minus Packet Filter. -- regards Jakub Chromy CGI Systems div. ---------------- CGI CZ s.r.o. sales@cgi.cz 775 144 257 234 697 102 www.cgi.cz