LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-07-2008, 03:03 PM   #1
Bviper
LQ Newbie
 
Registered: Dec 2006
Distribution: Debian 5.0
Posts: 14

Rep: Reputation: 0
Setting MTU breaks WAN communications, LAN works great


I recently got a gigabit switch with support for jumbo frames, so I enabled them on the switch, and set both my vista workstation and my Debian server to a MTU of 7000.

Everything was peachy keen for a couple of days until recently I tried to access my server from the internet as opposed to over the LAN. Nothing would work. I finally narrowed it down to the recent change I made to the MTU. When I set it back to the default on the server, I could then access my webpage over the internet as well as LAN. But with it enabled I only have LAN communication. After finding this out it really was not all that surprising, but LAN worked so I assumed WAN would work as well.

My windows machine seems to be able to seamlessly transition from one to the other when it needs to. So my question is, is there any way to have this same effect in linux, where it uses jumbo frames for the LAN and regular frames for WAN requests? Or will I be forced to use two separate Ethernet cards?
 
Old 06-09-2008, 01:08 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Can your switch be configured so that the WAN side of the switch has a lower MTU? It sounds like there is defective software somewhere on the WAN side and instead of breaking up packets (as per the standards), the software gets very confused and simply drops the large packets. If your switch is intelligent and can handle breaking up the large packets as it sends data over the WAN, you should be fine. Otherwise you will need an intermediate router to do this job. I suspect some modem/routers (and definitely most routers) can do this breaking up for you.
 
Old 06-10-2008, 04:51 PM   #3
Bviper
LQ Newbie
 
Registered: Dec 2006
Distribution: Debian 5.0
Posts: 14

Original Poster
Rep: Reputation: 0
Well I took your advice and thought that perhaps letting the router interfere (the server was on the DMZ) might actually help. So I forwarded port 80 and took the server off the DMZ and put the MTU back up to 7000, no dice. Although I did notice something interesting, I tried putting the MTU back down while all the static settings were set and the WAN side would still not load. So I'm now looking into that perhaps its not the MTU, but one of the static IP settings which breaks it. (Apparently you can only adjust the MTU with a static IP I've tried letting it grab the IP from the router's DHCP, but it won't keep the MTU I set, it reverts to 1500)
 
Old 06-11-2008, 01:30 AM   #4
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
"but it won't keep the MTU I set, it reverts to 1500"

Perhaps the MTU is set in the DHCP negotiations? It's been years since I've read up on DHCP and I can't remember much at all.
 
  


Reply



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
ssh works good from LAN but can't login from WAN akrawiec Linux - Security 4 01-10-2007 02:03 PM
10.2 upgrade; lan works, wan doesn't Nd4Spd Slackware - Installation 18 11-20-2005 09:00 AM
SuSE 9.2 Pro, Centrino Card, Wireless works in LAN, not on WAN davidm_86 Linux - Wireless Networking 3 01-25-2005 04:09 AM
SSL works on LAN, not WAN? belorion Linux - Software 2 08-08-2004 04:33 PM
LAN works, WAN doesn't ? BrianK Linux - Networking 2 06-16-2003 07:11 PM

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

All times are GMT -5. The time now is 02: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