LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-09-2013, 04:17 PM   #1
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Rep: Reputation: Disabled
would it be possible to selectively control MTU based on destination subnet?


so here's my idea: i would like to enable jumbo frames on my local network. as far as i know, if i do that, traffic that exits my network would need to be fragmented, so it's my presumption that if i could control all traffic leaving my client machine and destined to exit the local network and set all of that traffic to 1500 byte MTU, this would not occur. then, the local traffic would still use jumbo frames and internet traffic would not.

is this even possible? it seems logical enough to me...
 
Old 09-09-2013, 10:09 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Use two nics?
 
Old 09-09-2013, 10:15 PM   #3
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Original Poster
Rep: Reputation: Disabled
eh but then presumably every client would need these, and a few are laptops... ideally i'd like to do it through software on the clients or on the router...

i'm looking into setting the MSS value via iptables, but this wouldn't apply to UDP traffic so...
 
Old 09-10-2013, 04:11 AM   #4
akiuni
Member
 
Registered: Sep 2012
Location: France
Distribution: debian
Posts: 56

Rep: Reputation: Disabled
Hi

I'm afraid but I don't think you can do that even with an alias on the device because the mtu is stored in a single file (/sys/class/net/eth*/mtu) so you can't affect multiples values here.
As far as I can see the only solution would be to use another device, as jefro said.
 
Old 09-10-2013, 06:29 PM   #5
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Original Poster
Rep: Reputation: Disabled
word. thanks anyways folks.
 
  


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
Routing based on destination port rvo Linux - Networking 9 01-11-2011 09:48 AM
selectively tar based on date just the innermost directories of a single directory rsiazon Linux - Newbie 5 07-29-2009 12:15 AM
Incorrect destination addy on subnet traffic af_dave Linux - Security 5 08-29-2004 02:43 AM
Installed 2nd BCM5700 NIC, when Pinging on this subnet receive destination host unrea timhe Linux - Networking 2 05-12-2004 09:52 AM
vpn only when destination matches given subnet colin.mca Linux - Networking 0 03-18-2004 03:29 AM

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

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