How to set tcp buffer size for NATService

This is for discussing general topics about how to use VirtualBox.
Post Reply
eebssk1
Posts: 15
Joined: 14. Sep 2021, 14:12
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Debian 10

How to set tcp buffer size for NATService

Post by eebssk1 »

The '9.8.3. Tuning TCP/IP Buffers for NAT' part only sets buffer size for the default 'NAT' net mode,which goes under the 'DisabledModes' in vm's xml when using 'NATService' custome network.

I don't find any doc on how to set the buffer for NATService type.
I thinks this is possible? Since it's still NAT and both goes through vboxnat.exe
fth0
Volunteer
Posts: 5678
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: How to set tcp buffer size for NATService

Post by fth0 »

FWIW, the VirtualBox "NAT" and "NAT Network" networking modes are completely separate implementations. When using "NAT Network", VirtualBox uses the underlying mechanisms of the host OS, especially the socket options. Only if the host OS is Windows and the send socket buffer is smaller than 64 kB, it's set to 64 kB.
Post Reply