Understanding path MTU discovery
- From: David Brown <david.brown@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 01 Feb 2007 23:36:27 +0100
Can someone confirm or correct my understanding of path MTU discovery regarding packets passing through a linux router/firewall to a server on a DMZ? As far as I can tell from my reading, if a computer on the internet accesses our web server, but the reply from the server is too big (for example, the client computer is using a PPPoE link with an MTU of 1492), the client's ISP's gateway router will send an ICMP package back to our router. The router will see this as a "related" packet, and pass it on to the web server in the DMZ, and the web server will use the smaller packet size for the rest of the connection.
Will the web server machine remember that lower MTU as being connected to the client's IP address, so that future connections by the client will avoid the overhead of the path MTU discovery, or will the discovery be needed for each new connection? I presume the lower MTU will not be needed for connections to/from other IP addresses.
What will happen if our router has more than one route back to the client (i.e., two DSL links)? I understand that I could mark incoming packets from clients so that replies are sent out through the same interface they came in, but I would prefer to balance the output packets (downstream ADSL has more than enough bandwidth for web server requests, but it would be best to take advantage of two upstream links for replies). Suppose the client's original request comes in via eth0, gets passed on to the server on eth2, and the reply happens to go out on eth1 via the other ADSL line. The ICMP packet complaining about the MTU size is going to be sent back to the eth1 address - will that still count as "related" and therefore be passed on to the web server?
Thanks,
David
.
- Follow-Ups:
- Re: Understanding path MTU discovery
- From: Rick Jones
- Re: Understanding path MTU discovery
- Prev by Date: Data Transfer: No ACK from Receiver
- Next by Date: Multiple Virtual Ethernet Interfaces
- Previous by thread: Data Transfer: No ACK from Receiver
- Next by thread: Re: Understanding path MTU discovery
- Index(es):
Relevant Pages
|