[Bug 203630] [Hyper-V] [nat] [tcp] 10.2 NAT bug in TCP stack or hyperv netsvc driver

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Oct 16 08:03:16 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203630

--- Comment #9 from Wei Hu <weh at microsoft.com> ---
(In reply to Eddy from comment #8)

> This is what I did:
>
> - Create a clean new VM with FreeBSD 10.2 on the Hyper-V server.
> - Activated IP forwarding: sysctl net.inet.ip.forarding=1
> - On another computer (same LAN, running Windows 10): set the default gateway to the new FreeBSD test VM. Ping/tracert to the internet work. TCP doesn't work.

In above setting, how can pinging from Windows 10 machine to internet work? The
machine in the internet doesn't have routing knowledge to send the packet back
to Windows 10 client which is inside LAN. 

Are you using NAT on the FreeBSD 10.2 server? When I enabled the NAT,
everything seems working in on 10.2 as a gateway. 

So overall, I think the r285236 is the cause of the problem. However, since I
still cannot reproduce and r285236 is a big change, I cannot narrow down to
smaller part for sure. 

We come up with a suspecting code path. Attached is another patch which you can
test for us. Please apply this directly on clean 10.2 code (not on the patch I
attached earlier.) This new patch just disabled the checksum offloading. See if
this one can help solve the issue you are seeing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-net mailing list