increasing Networkspeed

Gabriel Dragffy dragffy at yandex.ru
Mon Aug 28 01:11:21 UTC 2006


On Sun, 2006-08-27 at 19:45 +0200, Thilo Six wrote:
> So lets check our config:
> 
> 2a.
> with direct pppoe /etc/ppp/ip-up.d/0clampmss
> with dhcp and router over pppoe /etc/network/if-up.d/0clampmss
> <-----------------------------------------------
> #!/bin/sh
> # Enable MSS clamping (autogenerated by pppoeconf)
> 
> iptables -o "$PPP_IFACE" --insert FORWARD 1 -p tcp --tcp-flags SYN,RST
> SYN -m tcpmss --mss 1452 -j TCPMSS --clamp-mss-to-pmtu
> - ----------------------------------------------->
> (this must go on one line, the important part here is 1452)
> 

Hi,
I've got:
$ more /etc/ppp/ip-up.d/0clampmss
#!/bin/sh
# Enable MSS clamping (autogenerated by pppoeconf)

iptables -o "$PPP_IFACE" --insert FORWARD 1 -p tcp --tcp-flags SYN,RST
SYN -m tcpmss --mss 1400:1536 -j TCPMSS --clamp-mss-to-pmtu

What should I do with this? I configured my pppoe with pppoeconf and
told it to clamp my mss at 1452 or something. I don't fully understand
all this though so I'm a little in the dark.







More information about the ubuntu-users mailing list