MTU/MRU/VPN - arggg
I've been struggling for a long time using CVS (within Eclipse) and rdesktop from my Linux box at home over the VPN at work. Everthing goes ok for a while and then the connection just hangs. Then I found this page.
Setting the pppd MRU to 1000 and the MTU to 1000 made in the pptpclient and everthing works nice and smoothly....finally. Maybe now I can do some work?
The following is from the pppd man page installed on my home Fedora Code 4 machine:
mru n Set the MRU [Maximum Receive Unit] value to n. Pppd will ask the peer to send packets of no more than n bytes. The value of n must be between 128 and
16384; the default is 1500. A value of 296 works well on very slow links (40 bytes for TCP/IP header + 256 bytes of data). Note that for the IPv6 proto-
col, the MRU must be at least 1280.
mtu n Set the MTU [Maximum Transmit Unit] value to n. Unless the peer requests a smaller value via MRU negotiation, pppd will request that the kernel network-
ing code send data packets of no more than n bytes through the PPP network interface. Note that for the IPv6 protocol, the MTU must be at least 1280.
Labels: misc

