Max MTU when masquerading a LAN over a modem

Networking, Wireless Routers (802.11 a/b/g/n/ac/ax WiFi), NAT, LAN configuration, equipment, cabling, hubs, switches, and general network discussion
Post Reply
zakalwe

Max MTU when masquerading a LAN over a modem

Post by zakalwe »

Hi,

I have a LAN at home which I masquerade over a dial-up connection, using a linux box. I am using an MTU of 1500 for the LAN. When the linux box masquerades my packets, will it also change the MTU to 576 for them or will they be sent fragmented (does that even work?)?

So basically, should I change the LAN to using an MTU of 576 so that the packets will fit the dial-up connection, or is this taken care of by the linux box?

Thanks,

zakalwe
User avatar
Noir Pouvoir
Regular Member
Posts: 125
Joined: Thu Dec 02, 1999 12:00 am
Location: Toronto,Ontario

Post by Noir Pouvoir »

Your internal lan should be set to a max MTU of 1500 and set your modem to whatever you find better 576 or whatever there will be no fragmented packets..I,ll assume you know what files to edit..
bdog

Post by bdog »

Add this line to your ipchains script to have your linux box reassemble packets before transmitting them for you.

echo 1 > /proc/sys/net/ipv4/ip_always_defrag
Post Reply