Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2001 15:24:01 -0400
From:      Normand Leclerc <leclercn@videotron.ca>
To:        "Thomas T. Veldhouse" <veldy@veldy.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: natd blues
Message-ID:  <3B096B51.1000309@videotron.ca>
References:  <3B0914BC.201@videotron.ca> <004601c0e1ff$b0ffd440$3028680a@tgt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Thomas,

   All the tests were conducted from the nat machine...

Normand Leclerc
leclercn@videotron.ca


Thomas T. Veldhouse wrote:

> Did you set the receive window high on the client machine?  If so, you might
> try doing it on the NAT machine as will.
> 
> Create /etc/sysctl.conf with the following in it:
> 
> # begin /etc/sysctl.conf
> net.inet.tcp.recvspace=64240
> net.inet.tcp.recvspace=32120
> # end /etc/sysctl.conf
> 
> This is probably a rather large receive window and you might try lowering it
> to 32120 if you have latency or packet loss problems on your cable network.
> After you have created this file, run:
> 
> # sh /etc/rc.sysctl
> 
> These changes will persist after a reboot.  See how it goes for you.
> 
> Tom Veldhouse
> veldy@veldy.net
> 
> 
> 
> ----- Original Message -----
> From: "Normand Leclerc" <leclercn@videotron.ca>
> To: <freebsd-stable@freebsd.org>
> Sent: Monday, May 21, 2001 8:14 AM
> Subject: natd blues
> 
> 
>>      It looks like my natd is slowing down my cable internet transfers.
>> When running, I can't get the speed I get when natd isn't around (tested
>> downloading 20 megs with natd diverting packets from gateway and then
>> tested with an extra ipfw pass all rule before divert).  With divert,
>> ETA is around 30 mins, without: 8 mins!  And I tested it more than once.
>> 
>>    I didn't have this kind of slowdown on 3.4 ...  Is there a kernel
>> option that can slow down ipfw diverts like that?
>> 
>> Normand Leclerc
>> leclercn@videotron.ca
>> 
>> 
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-stable" in the body of the message
>> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B096B51.1000309>