From owner-freebsd-virtualization@freebsd.org Tue Sep 1 14:20:39 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C730B3C9E0A for ; Tue, 1 Sep 2020 14:20:39 +0000 (UTC) (envelope-from nishida@asusa.net) Received: from asusam.asj-hosting.net (asusa.asj-hosting.net [219.118.222.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.asj-hosting.net", Issuer "JPRS Domain Validation Authority - G3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bgq3p4b7Dz4Zkx for ; Tue, 1 Sep 2020 14:20:38 +0000 (UTC) (envelope-from nishida@asusa.net) Received: (qmail 59270 invoked by uid 89); 1 Sep 2020 23:20:35 +0900 X-ASJ-Track-ID: <20200901142035.59270.qmail@asusam.asj-hosting.net> X-Spam-Checker-Version: ASJ KMsrv Spam Check Process Internal X-Spam-Status: No, hits=0.0 X-Spam-Flag: No X-Virus-Scanned: ASJ KMsrv Virus Check Process 08041001 X-ASJ-SMTP-Authentication: nishida@asusa.net X-ASJ-Arrival-IP: 73.190.120.36 X-ASJ-SPF-Info: auth X-ASJ-Scan-ID: <1598970035.176551.59264@asusam.asj-hosting.net> X-ASJ-Received-SPF: pass (send with smtp authentication by nishida@asusa.net@73.190.120.36) Received: from c-73-190-120-36.hsd1.or.comcast.net (HELO rnci003.ddns.net) (nishida@asusa.net@73.190.120.36) by asusams.asj-hosting.net with ESMTPS (AES128-SHA encrypted); 1 Sep 2020 23:20:35 +0900 Subject: Re: IPv6 Problem with Bhyve From: Hiroshi Nishida To: freebsd-virtualization@freebsd.org References: <53835548-cd6e-6859-c19d-8dd96d3993f3@asusa.net> Message-ID: <0b2304fd-4799-f56e-2271-169a5348d654@asusa.net> Date: Tue, 1 Sep 2020 07:20:33 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <53835548-cd6e-6859-c19d-8dd96d3993f3@asusa.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4Bgq3p4b7Dz4Zkx X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of nishida@asusa.net has no SPF policy when checking 219.118.222.245) smtp.mailfrom=nishida@asusa.net X-Spamd-Result: default: False [2.91 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.21)[0.208]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[asusa.net]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.86)[0.862]; NEURAL_SPAM_LONG(0.94)[0.939]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:55388, ipnet:219.118.192.0/19, country:JP]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-virtualization]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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: Tue, 01 Sep 2020 14:20:39 -0000 I'm sorry but I sent my first e-mail in an HTML format. Hi, I already asked the same question at https://forums.freebsd.org/threads/ipv6-tcp-connection-issue-with-bhyve.76771/ but haven't got any responses yet. I'd like to ask also here to figure out what causes this problem. I could install Windows Server 2019 on FreeBSD 12.1R + bhyve by mostly following https://wiki.freebsd.org/bhyve/Windows but have the following problem swith TCP/IPv6: * All firewalls are turned off on both host FreeBSD and guest Windows. * The guest Windows is assigned to a static IPv6 address and a DHCP'ed IPv4 address. * Accessing the guest Windows using IPv4 is all OK including RDP, telnet, etc and vice versa. * I can ping from the guest Windows to all IPv6 addresses, vice versa. * However, accessing the guest Windows and accessing from the guest Windows through TCP/IPv6 all fail. Please take a look at https://forums.freebsd.org/threads/ipv6-tcp-connection-issue-with-bhyve.76771 for a tcpdump log on a tcp connection trial from host FreeBSD to guest Windows. Briefly speaking, the 3-way connection does not establish because the host FreeBSD ignores (?) the SYN-ACK from the guest Windows. As for the guest Windows -> the host FreeBSD, the guest sends a SYN packet to the host but the host FreeBSD does not respond to it. The connection trial packet from the guest -> Internet goes through tap0, bridge0 and igb0 but does not seem to reach our IPv6 gateway. Interestingly, I have exactly the same problem also with CentOS 8 + KVM/QEMU. I would appreciate it if anybody could tell me how to fix this. Thank you. -- Hiroshi Nishida ASUSA Corporation