RE: NAT and MTU

2003-07-09 Thread Brent Wiese
> In the last episode (Jul 08), Brent Wiese said:
> > I have a machine that is being double-NAT'd.
> > 
> > Would it make sense to set the MTU lower to account for the NAT 
> > overhead?
> > 
> > It makes sense to me as I know MTU, but I like to check in case my 
> > thinking isn't right. :)
> 
> There is no overhead; all NAT does is rewrite IP addresses in 
> the header (and in some data packets of certain protocols 
> like FTP).  It adds no extra data.
> 

I never messed w/ NAT enough to have learned this. There's always something
to learn!

Thanks to all who responded.

Brent

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NAT and MTU

2003-07-08 Thread Dan Nelson
In the last episode (Jul 08), Brent Wiese said:
> I have a machine that is being double-NAT'd.
> 
> Would it make sense to set the MTU lower to account for the NAT
> overhead?
> 
> It makes sense to me as I know MTU, but I like to check in case my
> thinking isn't right. :)

There is no overhead; all NAT does is rewrite IP addresses in the
header (and in some data packets of certain protocols like FTP).  It
adds no extra data.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: NAT and MTU

2003-07-08 Thread Will Saxon
> -Original Message-
> From: Brent Wiese [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 08, 2003 8:45 PM
> To: [EMAIL PROTECTED]
> Subject: NAT and MTU
> 
> 
> I have a machine that is being double-NAT'd.
> 
> Would it make sense to set the MTU lower to account for the 
> NAT overhead?
> 
> It makes sense to me as I know MTU, but I like to check in 
> case my thinking
> isn't right. :)


Why would it matter? Does NAT increase the overall datagram size? I thought it just 
changed addresses and stored connection information in a table somewhere. If this is 
the case, just having NAT, even 2x, isn't going to make it any more likely that your 
traffic will fragment.

-Will
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"