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

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004601c0e1ff$b0ffd440$3028680a>