LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-03-2014, 04:49 AM   #1
akiuni
Member
 
Registered: Sep 2012
Location: France
Distribution: debian
Posts: 56

Rep: Reputation: Disabled
MTU behavior with bridged devices


Hi all

I'm wondering what is the behavior on a bridge with different MTU sizes on its devices. For example, let's assume the following configuration :
eth1 : mtu = 1200
eth2 : mtu = 1500

if I set br0 as a bridge of eth1 (inbound) and eth2 (outbound), then br0 will take the lower mtu :
bd0: mtu=1200
eth1 : mtu = 1200
eth2 : mtu = 1500

So I'm wondering why eth2's mtu isn't automatically reduced to 1200 by the system ? and above all, if this 1500 mtu is used somewhere during the packets communications or if the system will force all the packets incoming and outgoing on that device to mtu 1200 ?

Thank you in advance
Best regards
julien
 
Old 02-03-2014, 06:29 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,333

Rep: Reputation: Disabled
Reducing the MTU of eth2 locally does not affect the size of incoming frames (the network architecture still supports an MTU of 1500 bytes), so you may as well leave it unchanged.

Packets larger than 1200 bytes will be dropped by the bridge, and it's up to the upper layers of the stack of the transmitting host to detect this and adjust the path MTU accordingly.
 
1 members found this post helpful.
Old 02-03-2014, 06:52 AM   #3
akiuni
Member
 
Registered: Sep 2012
Location: France
Distribution: debian
Posts: 56

Original Poster
Rep: Reputation: Disabled
Thank you for your answer.
In addition, I've found that all devices share the same mtu size. The bridge doesn't fragment packets.
Also, it seems that this code has only been implemented since kernel 2.6 :
http://lists.linuxfoundation.org/pip...ly/004054.html

Thanks
Julien
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Bridged Network Sniffing thebusymind Linux - Networking 1 01-19-2013 08:24 PM
Bridged Interfaces in CentOS snq Linux - Networking 1 11-21-2010 12:24 AM
Bridged network, devices using bridge fail until pinged. exodist Linux - Networking 7 02-18-2010 02:50 PM
bridged ethernet+suse? lazychris2000 Linux - Hardware 2 04-17-2004 01:39 PM
vmware bridged network homestead1000 Linux - Networking 1 01-21-2004 04:00 PM

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

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