LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-24-2011, 06:28 PM   #1
dot_txt
Member
 
Registered: May 2003
Location: Chicago
Distribution: Slackware 10
Posts: 45

Rep: Reputation: 15
Linux router MTU between 2 interfaces


Gotta question. Have a linux rotuter with 2 physical interfaces and a ipip tunnel. The one interface is connected to my isp, and the other is connected to my LAN. Routing is set up over the ipip tunnel to my office so I can route information between my office and my home.

The tunnel has an MTU of 1480 and connects via eth0, eth1 has an mtu of 1500.. Everything communicates fine, except when a packet is transfered that has a greater mtu than 1480 (unless I set all my machines at my house to have an mtu of 1480).. Any way to set the routers so they auto-fragment the packets if above 1480 and reconstruct them on the other side of the tunnel?

Thanks all
 
Old 03-25-2011, 05:51 AM   #2
TimothyEBaldwin
Member
 
Registered: Mar 2009
Posts: 249

Rep: Reputation: 27
You could do that by increasing the tunnel MTU and and setting the nopmtudisc flag on the tunnel, but that is a bad solution to the problem.

What should happen if the packet is too large is that router should fragment the packet if the don't fragment flag is not set, and the end host should reassemble it. If the don't fragment flag is set, the router should send an ICMP error packet to the sender which should retry with a smaller packet.

I suggest you look for firewalls blocking ICMP.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with linux router with 2 interfaces arty Linux - Networking 6 07-01-2009 05:49 AM
Setting MTU for router dgermann Linux - Networking 20 03-05-2009 07:08 PM
xbox failing mtu test at linux router rbees Linux - Networking 1 11-02-2008 06:26 AM
Pings, MTU, Router candyman123 Linux - Networking 2 08-01-2006 10:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration