changing TCP Window Size

changing TCP Window Size

Post by George Ranki » Wed, 17 Apr 2002 04:49:06



After try with a lot of different numbers, it seems that
the best way to use the net is to use the command:

route del default
route add default gw 67.193.160.21 mss 512 window 2048 dev ppp0

is there a way to do this automatically (without using a script)? (if
it can be useful I am using RedHat)

thanks in advance!

 
 
 

changing TCP Window Size

Post by Karl Heye » Wed, 17 Apr 2002 08:52:16



> After try with a lot of different numbers, it seems that
> the best way to use the net is to use the command:

> route del default
> route add default gw 67.193.160.21 mss 512 window 2048 dev ppp0

> is there a way to do this automatically (without using a script)? (if
> it can be useful I am using RedHat)

Well if you really want to then check the /etc/rc.d/rc.local file.

but I would ask why do you want to do this.

karl.

 
 
 

changing TCP Window Size

Post by David M » Wed, 17 Apr 2002 15:23:16


<snip>

Quote:> route del default
> route add default gw 67.193.160.21 mss 512 window 2048 dev ppp0

> is there a way to do this automatically (without using a script)? (if
> it can be useful I am using RedHat)

<snip>

I don't think so. Perhaps this is different on Redhat (maybe someone with
Redhat experience can comment on this), but pppd normally runs
'/etc/ppp/ip-up' after it establishes a PPP connection. You can put your
route commands in that script, e.g. ...

route del default
route add default gw "$5" mss 512 window 2048 dev "$1"

see the manual page for pppd for more information.

--
Registered Slackware Linux user #246340
http://counter.li.org./