SlideShare une entreprise Scribd logo
1  sur  18
MTU AND MRU
www.netprotocolxpert.in
• MTU or Maximum transmission unit is a topic that pops up every once in a
while in different discussions.
• MTU typically becomes an issue of concern during network changes, like
adding new vendors equipment or upgrading to a new software.
• One reason for that is the difference in implementations used by different
vendors or even between different OS versions or equipment from the same
vendor.
What is a data packet?
• A packet is the single unit of data that is routed between a source and a
destination on the network. Each packet contains information to help devices
or switch the packet to its destination and actual data known as payload.
What is MTU?
• A maximum transmission unit (MTU) is the largest length of a packet that can be
transmitted out of an interface toward a destination. When the word MTU is used
plainly, we are typically referring to the interface MTU, but when talking about a
protocol MTU (e.g IP MTU, MPLS MTU) we are typically referring to the maximum
payload of the protocol itself.
• Whether the headers are included or not is an implementation that can vary from box
to another and from OS to another, so it should always be tested out specially when
operating on a multivendor environment.
• We can’t really understand how MTU is playing a part in network operations, without
understanding the concept of path MTU.
• Path MTU: is to the lowest MTU of an interface on the path between the source and
destination. Path MTU is a very important aspect because it has a huge impact on the
overall performance of the network and end user experience.
• The topology below presents an analogy to clarify the path MTU concept. As we can see in the
topology the yellow rectangles height represents the exit interface MTU of the router (don’t confuse
this with bandwidth). The packet in the topology can easily fit the MTU of the interfaces in the first
segment connecting routers A and B; in the second segment, the MTU is smaller and such big
packet doesn’t fit the yellow rectangle (interface MTU) in one chunk. Therefore the path MTU is
actually the MTU of the second exist interface (The smallest), because the whole path will only be
able to pass packets that fits this MTU.
DEFAULT INTERFACE MTU VALUES: SOURCE WIKIPEDIA
Media Maximum Transmission Unit (bytes) Notes
Internet IPv4 Path MTU At least 68, max of 64KB
Practical path MTUs are generally
higher. Systems may use Path MTU
Discovery to find the actual path
MTU.
Internet IPv6 Path MTU
At least 1280,max of 64KB, but up to
4GB with optional jumbogram
Practical path MTUs are generally
higher. Systems must use Path
MTU Discovery to find the actual
path MTU.
Ethernet v2 1500
Nearly all IP over Ethernet
implementations use the
Ethernet V2 frame format.
Ethernet Jumbo Frames 1501 – 9198
The limit varies by vendor. For
correct interoperation, the
Ethernet network must have the
same MTU.Jumbo frames are
usually only seen in special-
purpose networks.
PPPoE over Ethernet v2 1492
= Ethernet v2 MTU (1500) –
PPPoE Header (8)
PPPoE over Ethernet Jumbo
Frames
1493 – 9190
= Ethernet Jumbo Frame MTU
(1501 – 9198) – PPPoE Header
(8)
WHAT HAPPENS IF A PACKET SIZE IS BIGGER THAN PATH MTU?
• If one host is sending packets that are having a bigger length than the path MTU and IPv4 is in
play, these packets will be fragmented if Don’t Fragment (DF) bit is not set. If they can’t be
fragmented they will be dropped by the device processing them and an ICMP message with code
“fragmentation needed” will be sent to the source to warn it about the problem. Fragmentation is
generally a bad thing; it increases network overhead, consumes routers resources and results in
many unwanted side effects.
• When the source receives “fragmentation needed” ICMP packets, it needs to lower it’s packet size
to match to avoid packets being dropped by middle routers.
• If IPv6 is in play, we know that it doesn’t support fragmentation, such large packets will be
dropped and ICMPv6 message “Packet too big” will be sent to the source to inform it that it needs
to lower the packet size to avoid the drops.
• There are some mechanism that are used solely to avoid these problems in the first place. Two of
them are PMTUD and TCP MSS adjust.
WHAT IS PATH MTU DISCOVERY (PMTUD) ?
• Path MTU discovery is a standardized mechanism that is used by end hosts to avoid
fragmentation or packet drops. The basic idea is that the source host will assume that the path
MTU is equal to it’s exit interface MTU and will send all packets on the path with (DF bit) set. If
any of the packets is bigger than the path MTU, it will be dropped by the middle routers and
an ICMP message will be sent to the source to inform it that it needs to lower the packet size.
• The process will continue by the host until it determines the suitable packet size and to detect
any changes in the paths or it will remove the DF bit and allow the packets to be fragmented.
• The process is pretty similar when using IPv6, with the difference that fragmentation is not
allowed in IPv6 and there is No DF bit to set.
WHAT IS TCP
MSS?
• TCP MSS is an option in the TCP header that is used by
the two ends of the connection independently to
determine the maximum segment size that can be
accepted by each host on this connection. The
maximum segment size is simply the maximum data
payload that a TCP packet can accommodate on the
connection.
• This option can be manipulated by network operators
using a feature known as TCP MSS adjust. The feature
allows middle routers to intercept and alter this value if
configured to do so as a technique to avoid MTU
problems mentioned above.
MRU
• On the other hand maximum receive unit (MRU) is the largest packet size that an interface
can receive, so it’s an ingress interface parameter. In most of the cases MRU equals MTU but
it’s not a requirement. You can configure different values for both MTU and MRU to achieve
some benefits.
What if packets received are bigger than interface MRU?
• If a device is receiving packets that are bigger in length than interface MRU due to some
reason, the packets will be considered “Too big” or oversized. Usually there will be a counter
incrementing on the interface and those packets will likely be dropped by the router’s
forwarding plane.
MTU AND PING SIZE CONFUSION
• Cisco IOS when you specify the size with ping you are actually specifying the
datagram size (IP header + Transport header + Application Data), this means that
Cisco includes the IP header (20 bytes) and the ICMP header (8 bytes) and thus you’ll
have a total packet size of what you have specified in the size option of a ping.
• Cisco’s method more appealing, since what you choose is what you get, with zero
confusion, but still it seems that the general common behaviour is not Cisco’s, and
thus you need to take care.
Description of MTU
OUTPUTS FROM DEVICE
Cisco IOS
• Router#ping 10.10.1.1 size 1500 df-bit
• Type escape sequence to abort.
Sending 5, 1500-byte ICMP Echos to 10.10.1.1, timeout is 2 seconds:
Packet sent with the DF bit set
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
• Router#ping 10.10.1.1 size 1501 df-bit
• Type escape sequence to abort.
Sending 5, 1501-byte ICMP Echos to 10.10.1.1, timeout is 2 seconds:
Packet sent with the DF bit set
…..
Success rate is 0 percent (0/5)
Cisco IOS XR
• Router#ping 20.20.20.1 size 1500 donnotfrag
Type escape sequence to abort.
Sending 5, 1500-byte ICMP Echos to 20.20.20.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
• Router#ping 20.20.20.1 size 1501 donnotfrag
Type escape sequence to abort.
Sending 5, 1501-byte ICMP Echos to 20.20.20.1, timeout is 2 seconds:
M.M.M
Success rate is 0 percent (0/5)
• Cisco IOS excludes the Layer 2 header from the interface MTU, while IOS XR includes the
Layer 2 header in the interface MTU. For example the default MTU for Ethernet interface is:
IOS:1500byte / IOS XR:1514bytes
• We must take care when changing the default MTU setting, the whole point is to always
remember whether the header is included or not – The second thing, Cisco accommodates
the extra 4 bytes of dot1q (Cisco IOS doesn’t include the header anyway, while IOS XR
accommodates the extra 3 bytes for the dot1q sub interfaces)
Cisco IOS
• Router#sh interfaces g0/1 | i MTU
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
router#sh ip interface g0/1.1 | i MTU
MTU is 1500 bytes
After Changing the MTU to 1600:
• Router#sh interfaces g0/1 | i MTU
MTU 1600 bytes, BW 1000000 Kbit, DLY 10 usec,
router#sh ip interface g0/1 | i MTU
MTU is 1600 bytes
Cisco IOS XR
• Router#sh int Gi0/1/0/9 | i MTU
MTU 1514 bytes, BW 1000000 Kbit
Router#sh ip int g0/1/0/9 | i MTU
MTU is 1514 (1500 is available to IP)
After Changing the MTU to 1614:
• Router#sh int g0/1/0/1 | i MTU
MTU 1614 bytes, BW 1000000 Kbit
Router#sh ip int g0/1/0/1 | i MTU
MTU is 1614 (1600 is available to IP)
After Changing the MTU to 1614 with dot1q:
• Router#sh int g0/1/0/9 | i MTU
MTU 1614 bytes, BW 1000000 Kbit
Router#sh ip int g0/1/0/9 | i MTU
MTU is 1614 (1600 is available to IP)
Router#sh ip int g0/1/0/9.1 | i MTU
MTU is 1618 (1600 is available to IP)

Contenu connexe

Tendances

Label Distribution Protocol
Label Distribution ProtocolLabel Distribution Protocol
Label Distribution Protocol
Kashif Latif
 
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocol
Muuluu
 

Tendances (20)

Label Distribution Protocol
Label Distribution ProtocolLabel Distribution Protocol
Label Distribution Protocol
 
Cisco Live! :: Introduction to IOS XR for Enterprises and Service Providers
Cisco Live! :: Introduction to IOS XR for Enterprises and Service ProvidersCisco Live! :: Introduction to IOS XR for Enterprises and Service Providers
Cisco Live! :: Introduction to IOS XR for Enterprises and Service Providers
 
Ospf
 Ospf Ospf
Ospf
 
MPLS + BGP Presentation
MPLS + BGP PresentationMPLS + BGP Presentation
MPLS + BGP Presentation
 
Vxlan deep dive session rev0.5 final
Vxlan deep dive session rev0.5   finalVxlan deep dive session rev0.5   final
Vxlan deep dive session rev0.5 final
 
Troubleshooting BGP
Troubleshooting BGPTroubleshooting BGP
Troubleshooting BGP
 
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocol
 
Mikrotik Tutorial
Mikrotik TutorialMikrotik Tutorial
Mikrotik Tutorial
 
MPLS Presentation
MPLS PresentationMPLS Presentation
MPLS Presentation
 
Bgp protocol
Bgp protocolBgp protocol
Bgp protocol
 
EIGRP (enhanced interior gateway routing protocol)
EIGRP (enhanced interior gateway routing protocol)EIGRP (enhanced interior gateway routing protocol)
EIGRP (enhanced interior gateway routing protocol)
 
MPLS (Multi-Protocol Label Switching)
MPLS (Multi-Protocol Label Switching)MPLS (Multi-Protocol Label Switching)
MPLS (Multi-Protocol Label Switching)
 
IIJmio meeting 7 MVNOとSIMフリー端末の問題について
IIJmio meeting 7 MVNOとSIMフリー端末の問題についてIIJmio meeting 7 MVNOとSIMフリー端末の問題について
IIJmio meeting 7 MVNOとSIMフリー端末の問題について
 
EVPN Introduction
EVPN IntroductionEVPN Introduction
EVPN Introduction
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basics
 
Mobile Transport Evolution with Unified MPLS
Mobile Transport Evolution with Unified MPLSMobile Transport Evolution with Unified MPLS
Mobile Transport Evolution with Unified MPLS
 
Overview of Spanning Tree Protocol
Overview of Spanning Tree ProtocolOverview of Spanning Tree Protocol
Overview of Spanning Tree Protocol
 
Packet Tracer: Cisco, Spanning tree protocol
Packet Tracer: Cisco, Spanning tree protocolPacket Tracer: Cisco, Spanning tree protocol
Packet Tracer: Cisco, Spanning tree protocol
 
CCNA Routing Fundamentals - EIGRP, OSPF and RIP
CCNA  Routing Fundamentals -  EIGRP, OSPF and RIPCCNA  Routing Fundamentals -  EIGRP, OSPF and RIP
CCNA Routing Fundamentals - EIGRP, OSPF and RIP
 
Bidirectional Forwarding Detection (BFD)
Bidirectional Forwarding Detection (BFD) Bidirectional Forwarding Detection (BFD)
Bidirectional Forwarding Detection (BFD)
 

En vedette

Citrix virtual computing
Citrix virtual computingCitrix virtual computing
Citrix virtual computing
gadi_fe
 
Microsoft_Transcript_Matthew_Bulat
Microsoft_Transcript_Matthew_BulatMicrosoft_Transcript_Matthew_Bulat
Microsoft_Transcript_Matthew_Bulat
Matthew Bulat
 
Multi-tiered Node Architectures - JSConf 2011
Multi-tiered Node Architectures - JSConf 2011Multi-tiered Node Architectures - JSConf 2011
Multi-tiered Node Architectures - JSConf 2011
Tom Croucher
 
A Streaming Media Primer
A Streaming Media PrimerA Streaming Media Primer
A Streaming Media Primer
Videoguy
 

En vedette (20)

Private VLANs
Private VLANsPrivate VLANs
Private VLANs
 
Application & Data Center
Application & Data CenterApplication & Data Center
Application & Data Center
 
TCLSH and Macro Ping Test on Cisco Routers and Switches
TCLSH and Macro Ping Test on Cisco Routers and SwitchesTCLSH and Macro Ping Test on Cisco Routers and Switches
TCLSH and Macro Ping Test on Cisco Routers and Switches
 
Citrix virtual computing
Citrix virtual computingCitrix virtual computing
Citrix virtual computing
 
Microsoft_Transcript_Matthew_Bulat
Microsoft_Transcript_Matthew_BulatMicrosoft_Transcript_Matthew_Bulat
Microsoft_Transcript_Matthew_Bulat
 
SNAP
SNAPSNAP
SNAP
 
High Scalability Network Performance Management for Enterprises
High Scalability Network Performance Management for EnterprisesHigh Scalability Network Performance Management for Enterprises
High Scalability Network Performance Management for Enterprises
 
OTV Configuration
OTV ConfigurationOTV Configuration
OTV Configuration
 
3rd Generation Virtual Computing
3rd Generation Virtual Computing3rd Generation Virtual Computing
3rd Generation Virtual Computing
 
Virtual Desktop Architecture
Virtual Desktop ArchitectureVirtual Desktop Architecture
Virtual Desktop Architecture
 
Multi-tiered Node Architectures - JSConf 2011
Multi-tiered Node Architectures - JSConf 2011Multi-tiered Node Architectures - JSConf 2011
Multi-tiered Node Architectures - JSConf 2011
 
A Streaming Media Primer
A Streaming Media PrimerA Streaming Media Primer
A Streaming Media Primer
 
MPLS Layer 3 VPN
MPLS Layer 3 VPN MPLS Layer 3 VPN
MPLS Layer 3 VPN
 
Point to-point protocol (ppp), PAP & CHAP
Point to-point protocol (ppp), PAP & CHAPPoint to-point protocol (ppp), PAP & CHAP
Point to-point protocol (ppp), PAP & CHAP
 
Presentation smart computing starts with a virtual desktop strategy
Presentation   smart computing starts with a virtual desktop strategyPresentation   smart computing starts with a virtual desktop strategy
Presentation smart computing starts with a virtual desktop strategy
 
Communications is distributed systems
Communications is distributed systemsCommunications is distributed systems
Communications is distributed systems
 
Osi model
Osi modelOsi model
Osi model
 
Multicast Routing Protocols
Multicast Routing ProtocolsMulticast Routing Protocols
Multicast Routing Protocols
 
Internet protocol (ip) ppt
Internet protocol (ip) pptInternet protocol (ip) ppt
Internet protocol (ip) ppt
 
Ipv4 vs Ipv6 comparison
Ipv4 vs Ipv6 comparisonIpv4 vs Ipv6 comparison
Ipv4 vs Ipv6 comparison
 

Similaire à MTU (maximum transmission unit) & MRU (maximum receive unit)

Michelle davies cis-180 -maximum transmission unit
Michelle davies   cis-180 -maximum transmission unitMichelle davies   cis-180 -maximum transmission unit
Michelle davies cis-180 -maximum transmission unit
Michelle Davies (Hryvnak)
 
Custom_IP_Network_Protocol_and_Router
Custom_IP_Network_Protocol_and_RouterCustom_IP_Network_Protocol_and_Router
Custom_IP_Network_Protocol_and_Router
Vishal Vasudev
 
Implementation of IPSec VPN on Cisco routers and Configuring it on ISP. (1)
Implementation of IPSec VPN on Cisco routers and Configuring it on ISP. (1)Implementation of IPSec VPN on Cisco routers and Configuring it on ISP. (1)
Implementation of IPSec VPN on Cisco routers and Configuring it on ISP. (1)
Vanitha Joshi
 

Similaire à MTU (maximum transmission unit) & MRU (maximum receive unit) (20)

IP Datagram Structure
IP Datagram StructureIP Datagram Structure
IP Datagram Structure
 
TCP/IP 3RD SEM.2012 AUG.ASSIGNMENT
TCP/IP 3RD SEM.2012 AUG.ASSIGNMENTTCP/IP 3RD SEM.2012 AUG.ASSIGNMENT
TCP/IP 3RD SEM.2012 AUG.ASSIGNMENT
 
Ipv4
Ipv4Ipv4
Ipv4
 
Michelle davies cis-180 -maximum transmission unit
Michelle davies   cis-180 -maximum transmission unitMichelle davies   cis-180 -maximum transmission unit
Michelle davies cis-180 -maximum transmission unit
 
Internetworking - IP
Internetworking - IPInternetworking - IP
Internetworking - IP
 
Internet Protocol Version 4
Internet Protocol Version 4Internet Protocol Version 4
Internet Protocol Version 4
 
The Case Against Jumbo Frames
The Case Against Jumbo FramesThe Case Against Jumbo Frames
The Case Against Jumbo Frames
 
Custom_IP_Network_Protocol_and_Router
Custom_IP_Network_Protocol_and_RouterCustom_IP_Network_Protocol_and_Router
Custom_IP_Network_Protocol_and_Router
 
Jumbo Mumbo in OpenStack
Jumbo Mumbo in OpenStackJumbo Mumbo in OpenStack
Jumbo Mumbo in OpenStack
 
MTU and the impact on the effects of MTU to your Network 1.pdf
MTU and the impact on the effects of MTU to your Network 1.pdfMTU and the impact on the effects of MTU to your Network 1.pdf
MTU and the impact on the effects of MTU to your Network 1.pdf
 
MTU and the impact on the effects of MTU to your Network 2.pdf
MTU and the impact on the effects of MTU to your Network 2.pdfMTU and the impact on the effects of MTU to your Network 2.pdf
MTU and the impact on the effects of MTU to your Network 2.pdf
 
Implementation of IPSec VPN on Cisco routers and Configuring it on ISP. (1)
Implementation of IPSec VPN on Cisco routers and Configuring it on ISP. (1)Implementation of IPSec VPN on Cisco routers and Configuring it on ISP. (1)
Implementation of IPSec VPN on Cisco routers and Configuring it on ISP. (1)
 
Troubleshooting basic networks
Troubleshooting basic networksTroubleshooting basic networks
Troubleshooting basic networks
 
10 coms 525 tcpip - internet protocol - ip
10   coms 525 tcpip -  internet protocol - ip10   coms 525 tcpip -  internet protocol - ip
10 coms 525 tcpip - internet protocol - ip
 
Advanced TCP IP
Advanced TCP IPAdvanced TCP IP
Advanced TCP IP
 
The Internet Protocol version 4 (IPv4)
The Internet Protocol version 4 (IPv4)The Internet Protocol version 4 (IPv4)
The Internet Protocol version 4 (IPv4)
 
Communication Performance Over A Gigabit Ethernet Network
Communication Performance Over A Gigabit Ethernet NetworkCommunication Performance Over A Gigabit Ethernet Network
Communication Performance Over A Gigabit Ethernet Network
 
Ipspk1
Ipspk1Ipspk1
Ipspk1
 
Introduction to IP
Introduction to IPIntroduction to IP
Introduction to IP
 
VERIFICATION OF FOUR PORT ROUTER FOR NETWORK ON CHIP
VERIFICATION OF FOUR PORT ROUTER FOR NETWORK ON CHIPVERIFICATION OF FOUR PORT ROUTER FOR NETWORK ON CHIP
VERIFICATION OF FOUR PORT ROUTER FOR NETWORK ON CHIP
 

Plus de NetProtocol Xpert

Plus de NetProtocol Xpert (20)

Basic Cisco ASA 5506-x Configuration (Firepower)
Basic Cisco ASA 5506-x Configuration (Firepower)Basic Cisco ASA 5506-x Configuration (Firepower)
Basic Cisco ASA 5506-x Configuration (Firepower)
 
Common Layer 2 Threats, Attacks & Mitigation
Common Layer 2 Threats, Attacks & MitigationCommon Layer 2 Threats, Attacks & Mitigation
Common Layer 2 Threats, Attacks & Mitigation
 
Storm-Control
Storm-ControlStorm-Control
Storm-Control
 
Dynamic ARP Inspection (DAI)
Dynamic ARP Inspection (DAI)Dynamic ARP Inspection (DAI)
Dynamic ARP Inspection (DAI)
 
IP Source Guard
IP Source Guard IP Source Guard
IP Source Guard
 
DHCP Snooping
DHCP SnoopingDHCP Snooping
DHCP Snooping
 
Password Recovery
Password RecoveryPassword Recovery
Password Recovery
 
Cisco ISR 4351 Router
Cisco ISR 4351 RouterCisco ISR 4351 Router
Cisco ISR 4351 Router
 
Cisco ASR 1001-X Router
Cisco ASR 1001-X RouterCisco ASR 1001-X Router
Cisco ASR 1001-X Router
 
Securing management, control & data plane
Securing management, control & data planeSecuring management, control & data plane
Securing management, control & data plane
 
Avoid DNS lookup when mistyping a command
Avoid DNS lookup when mistyping a commandAvoid DNS lookup when mistyping a command
Avoid DNS lookup when mistyping a command
 
Cisco OTV 
Cisco OTV Cisco OTV 
Cisco OTV 
 
OTV(Overlay Transport Virtualization)
OTV(Overlay  Transport  Virtualization)OTV(Overlay  Transport  Virtualization)
OTV(Overlay Transport Virtualization)
 
Regular expression examples
Regular expression examplesRegular expression examples
Regular expression examples
 
Eigrp is restricted to stub connections
Eigrp is restricted to stub connections Eigrp is restricted to stub connections
Eigrp is restricted to stub connections
 
Converting ipv4 to ipv6 and vice versa
Converting ipv4 to ipv6 and vice versaConverting ipv4 to ipv6 and vice versa
Converting ipv4 to ipv6 and vice versa
 
Password recovery cisco catalyst 3850
Password recovery cisco catalyst 3850Password recovery cisco catalyst 3850
Password recovery cisco catalyst 3850
 
Cisco 2960x switch password recovery
Cisco 2960x switch password recoveryCisco 2960x switch password recovery
Cisco 2960x switch password recovery
 
VMware ESXi 6.0 Installation Process
VMware ESXi 6.0 Installation ProcessVMware ESXi 6.0 Installation Process
VMware ESXi 6.0 Installation Process
 
EtherChannel Configuration
EtherChannel ConfigurationEtherChannel Configuration
EtherChannel Configuration
 

Dernier

Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Dernier (20)

BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 

MTU (maximum transmission unit) & MRU (maximum receive unit)

  • 2. • MTU or Maximum transmission unit is a topic that pops up every once in a while in different discussions. • MTU typically becomes an issue of concern during network changes, like adding new vendors equipment or upgrading to a new software. • One reason for that is the difference in implementations used by different vendors or even between different OS versions or equipment from the same vendor.
  • 3. What is a data packet? • A packet is the single unit of data that is routed between a source and a destination on the network. Each packet contains information to help devices or switch the packet to its destination and actual data known as payload. What is MTU?
  • 4. • A maximum transmission unit (MTU) is the largest length of a packet that can be transmitted out of an interface toward a destination. When the word MTU is used plainly, we are typically referring to the interface MTU, but when talking about a protocol MTU (e.g IP MTU, MPLS MTU) we are typically referring to the maximum payload of the protocol itself. • Whether the headers are included or not is an implementation that can vary from box to another and from OS to another, so it should always be tested out specially when operating on a multivendor environment. • We can’t really understand how MTU is playing a part in network operations, without understanding the concept of path MTU. • Path MTU: is to the lowest MTU of an interface on the path between the source and destination. Path MTU is a very important aspect because it has a huge impact on the overall performance of the network and end user experience.
  • 5. • The topology below presents an analogy to clarify the path MTU concept. As we can see in the topology the yellow rectangles height represents the exit interface MTU of the router (don’t confuse this with bandwidth). The packet in the topology can easily fit the MTU of the interfaces in the first segment connecting routers A and B; in the second segment, the MTU is smaller and such big packet doesn’t fit the yellow rectangle (interface MTU) in one chunk. Therefore the path MTU is actually the MTU of the second exist interface (The smallest), because the whole path will only be able to pass packets that fits this MTU.
  • 6. DEFAULT INTERFACE MTU VALUES: SOURCE WIKIPEDIA Media Maximum Transmission Unit (bytes) Notes Internet IPv4 Path MTU At least 68, max of 64KB Practical path MTUs are generally higher. Systems may use Path MTU Discovery to find the actual path MTU. Internet IPv6 Path MTU At least 1280,max of 64KB, but up to 4GB with optional jumbogram Practical path MTUs are generally higher. Systems must use Path MTU Discovery to find the actual path MTU.
  • 7. Ethernet v2 1500 Nearly all IP over Ethernet implementations use the Ethernet V2 frame format. Ethernet Jumbo Frames 1501 – 9198 The limit varies by vendor. For correct interoperation, the Ethernet network must have the same MTU.Jumbo frames are usually only seen in special- purpose networks. PPPoE over Ethernet v2 1492 = Ethernet v2 MTU (1500) – PPPoE Header (8) PPPoE over Ethernet Jumbo Frames 1493 – 9190 = Ethernet Jumbo Frame MTU (1501 – 9198) – PPPoE Header (8)
  • 8. WHAT HAPPENS IF A PACKET SIZE IS BIGGER THAN PATH MTU? • If one host is sending packets that are having a bigger length than the path MTU and IPv4 is in play, these packets will be fragmented if Don’t Fragment (DF) bit is not set. If they can’t be fragmented they will be dropped by the device processing them and an ICMP message with code “fragmentation needed” will be sent to the source to warn it about the problem. Fragmentation is generally a bad thing; it increases network overhead, consumes routers resources and results in many unwanted side effects. • When the source receives “fragmentation needed” ICMP packets, it needs to lower it’s packet size to match to avoid packets being dropped by middle routers. • If IPv6 is in play, we know that it doesn’t support fragmentation, such large packets will be dropped and ICMPv6 message “Packet too big” will be sent to the source to inform it that it needs to lower the packet size to avoid the drops. • There are some mechanism that are used solely to avoid these problems in the first place. Two of them are PMTUD and TCP MSS adjust.
  • 9. WHAT IS PATH MTU DISCOVERY (PMTUD) ? • Path MTU discovery is a standardized mechanism that is used by end hosts to avoid fragmentation or packet drops. The basic idea is that the source host will assume that the path MTU is equal to it’s exit interface MTU and will send all packets on the path with (DF bit) set. If any of the packets is bigger than the path MTU, it will be dropped by the middle routers and an ICMP message will be sent to the source to inform it that it needs to lower the packet size. • The process will continue by the host until it determines the suitable packet size and to detect any changes in the paths or it will remove the DF bit and allow the packets to be fragmented. • The process is pretty similar when using IPv6, with the difference that fragmentation is not allowed in IPv6 and there is No DF bit to set.
  • 10. WHAT IS TCP MSS? • TCP MSS is an option in the TCP header that is used by the two ends of the connection independently to determine the maximum segment size that can be accepted by each host on this connection. The maximum segment size is simply the maximum data payload that a TCP packet can accommodate on the connection. • This option can be manipulated by network operators using a feature known as TCP MSS adjust. The feature allows middle routers to intercept and alter this value if configured to do so as a technique to avoid MTU problems mentioned above.
  • 11. MRU • On the other hand maximum receive unit (MRU) is the largest packet size that an interface can receive, so it’s an ingress interface parameter. In most of the cases MRU equals MTU but it’s not a requirement. You can configure different values for both MTU and MRU to achieve some benefits. What if packets received are bigger than interface MRU? • If a device is receiving packets that are bigger in length than interface MRU due to some reason, the packets will be considered “Too big” or oversized. Usually there will be a counter incrementing on the interface and those packets will likely be dropped by the router’s forwarding plane.
  • 12. MTU AND PING SIZE CONFUSION • Cisco IOS when you specify the size with ping you are actually specifying the datagram size (IP header + Transport header + Application Data), this means that Cisco includes the IP header (20 bytes) and the ICMP header (8 bytes) and thus you’ll have a total packet size of what you have specified in the size option of a ping. • Cisco’s method more appealing, since what you choose is what you get, with zero confusion, but still it seems that the general common behaviour is not Cisco’s, and thus you need to take care.
  • 14. OUTPUTS FROM DEVICE Cisco IOS • Router#ping 10.10.1.1 size 1500 df-bit • Type escape sequence to abort. Sending 5, 1500-byte ICMP Echos to 10.10.1.1, timeout is 2 seconds: Packet sent with the DF bit set !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms • Router#ping 10.10.1.1 size 1501 df-bit • Type escape sequence to abort. Sending 5, 1501-byte ICMP Echos to 10.10.1.1, timeout is 2 seconds: Packet sent with the DF bit set ….. Success rate is 0 percent (0/5)
  • 15. Cisco IOS XR • Router#ping 20.20.20.1 size 1500 donnotfrag Type escape sequence to abort. Sending 5, 1500-byte ICMP Echos to 20.20.20.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms • Router#ping 20.20.20.1 size 1501 donnotfrag Type escape sequence to abort. Sending 5, 1501-byte ICMP Echos to 20.20.20.1, timeout is 2 seconds: M.M.M Success rate is 0 percent (0/5) • Cisco IOS excludes the Layer 2 header from the interface MTU, while IOS XR includes the Layer 2 header in the interface MTU. For example the default MTU for Ethernet interface is: IOS:1500byte / IOS XR:1514bytes
  • 16. • We must take care when changing the default MTU setting, the whole point is to always remember whether the header is included or not – The second thing, Cisco accommodates the extra 4 bytes of dot1q (Cisco IOS doesn’t include the header anyway, while IOS XR accommodates the extra 3 bytes for the dot1q sub interfaces) Cisco IOS • Router#sh interfaces g0/1 | i MTU MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, router#sh ip interface g0/1.1 | i MTU MTU is 1500 bytes After Changing the MTU to 1600: • Router#sh interfaces g0/1 | i MTU MTU 1600 bytes, BW 1000000 Kbit, DLY 10 usec, router#sh ip interface g0/1 | i MTU MTU is 1600 bytes
  • 17. Cisco IOS XR • Router#sh int Gi0/1/0/9 | i MTU MTU 1514 bytes, BW 1000000 Kbit Router#sh ip int g0/1/0/9 | i MTU MTU is 1514 (1500 is available to IP) After Changing the MTU to 1614: • Router#sh int g0/1/0/1 | i MTU MTU 1614 bytes, BW 1000000 Kbit Router#sh ip int g0/1/0/1 | i MTU MTU is 1614 (1600 is available to IP)
  • 18. After Changing the MTU to 1614 with dot1q: • Router#sh int g0/1/0/9 | i MTU MTU 1614 bytes, BW 1000000 Kbit Router#sh ip int g0/1/0/9 | i MTU MTU is 1614 (1600 is available to IP) Router#sh ip int g0/1/0/9.1 | i MTU MTU is 1618 (1600 is available to IP)