Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Question: How does changing the MTU affect the use of rsync?
Background: I have an old PC that I use as a simple ftp server that uses rsync as its backup. Each night it simply syncs it data with my backup server. It currently has an old copy of Mandrake 9.0, before it was Mandriva. I had a friend that had difficulty ftp'ing to my server unless I set the MTU from 1500 to 1443. I believe there is a firewall between us that is complicating the issue. When I changed the MTU he was able to ftp quite well but now my rsync doesn't work. I get the error
"rsync: read error: Connection reset by peer
rsync error: error in rsync protocol data stream (code 12) at io.c"
If I set the MTU back to 1500 rsync works quite happily.
I would have understood if I got less than optimal communication between the ftp and backup server but not nothing. All other means of communication between the two seem just fine. I can ftp, ssh, telnet, rsh, etc. The change in MTU does not seem to have had any great effect on anything but the ftp between my friends system and the ftp server and the rsync between the ftp server and the backup server.
Unfortunately, some equipment will drop packets that exceed an MTU rather than fragment. It sounds like this is the case for you. Keep your MTU at 1500, and have your friend fix his problem.
"Unfortunately, some equipment will drop packets that exceed an MTU rather than fragment. It sounds like this is the case for you. Keep your MTU at 1500, and have your friend fix his problem."
I thought that might be a problem but was hoping that any switch or router would do the proper fragmenting. Bummer
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.