Re: PKG bootstrap FreeBSD 11.0 / VBox NAT problem

2016-10-28 Thread Trond Endrestøl
On Fri, 28 Oct 2016 14:15+0200, Tomasz CEDRO wrote:

> Just for the curious. I am testing on VirtualBox (Version 5.1.8
> r111374 (Qt5.5.1), macOS 10.12.1 host). Cannot bootstrap PKG on a host
> with NAT enabled.I have noticed this problem occurs only when NAT is
> enabled in VBox. When I use Bridged interface there is no problem. I
> have noticed that outgoing packet following RST response has invalid
> checksum. That may be VBox NAT problem..? Maybe someone noticed
> similar behavior..
> 
> https://www.virtualbox.org/ticket/16126

Upgrading VBox (the hypervisor software) to 5.1.8 last week made 
"make -C /usr/ports fetchindex" next to impossible on my FreeBSD 
guests.

I was running 5.1.6 of emulators/virtualbox-ose-additions{,-nox11} at 
that time. Luckily, I was able to upgrade the latter to 5.1.8 and all 
network/NAT problems went away.

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: PKG bootstrap FreeBSD 11.0 / VBox NAT problem

2016-10-28 Thread Mark Martinec

On 10/28/16 14:15, Tomasz CEDRO wrote:

Just for the curious. I am testing on VirtualBox (Version 5.1.8
r111374 (Qt5.5.1), macOS 10.12.1 host). Cannot bootstrap PKG on a host
with NAT enabled.I have noticed this problem occurs only when NAT is
enabled in VBox. When I use Bridged interface there is no problem. I
have noticed that outgoing packet following RST response has invalid
checksum. That may be VBox NAT problem..? Maybe someone noticed
similar behavior..

https://www.virtualbox.org/ticket/16126


Same thing here: after upgrading VirtualBox on Windows 10 to 5.0.28,
the 'pkg upgrade' on a FreeBSD 11.0-RELEASE-p2 guest fails with
a 'Connection reset by peer' - either right away, or after downloading
a (random) couple of packages - when using NAT provided by VirtualBox.

This worked well with a previous release of VirtualBox.

Looks like the problem is not specific to FreeBSD:

https://www.virtualbox.org/ticket/16084


  Mark
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: PKG bootstrap FreeBSD 11.0 / VBox NAT problem

2016-10-28 Thread Guido Falsi
On 10/28/16 14:15, Tomasz CEDRO wrote:
> Just for the curious. I am testing on VirtualBox (Version 5.1.8
> r111374 (Qt5.5.1), macOS 10.12.1 host). Cannot bootstrap PKG on a host
> with NAT enabled.I have noticed this problem occurs only when NAT is
> enabled in VBox. When I use Bridged interface there is no problem. I
> have noticed that outgoing packet following RST response has invalid
> checksum. That may be VBox NAT problem..? Maybe someone noticed
> similar behavior..
> 
> https://www.virtualbox.org/ticket/16126
> 

It could be related or unrelated, but have you tested disabling checksum
offloading on both the guest and the host NICs?

BTW what NIC are you using in the guest machine? have you tried changing
NIC type? (for example changing between the emulated one and the
paravirtualized one)

-- 
Guido Falsi 
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: PKG bootstrap FreeBSD 11.0 / VBox NAT problem

2016-10-28 Thread Tomasz CEDRO
Just for the curious. I am testing on VirtualBox (Version 5.1.8
r111374 (Qt5.5.1), macOS 10.12.1 host). Cannot bootstrap PKG on a host
with NAT enabled.I have noticed this problem occurs only when NAT is
enabled in VBox. When I use Bridged interface there is no problem. I
have noticed that outgoing packet following RST response has invalid
checksum. That may be VBox NAT problem..? Maybe someone noticed
similar behavior..

https://www.virtualbox.org/ticket/16126

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"