Networks Training

  • About
  • My Books
  • SUGGESTED TRAINING
  • HOME
  • Cisco Networking
    • Cisco General
    • Cisco IOS
    • Cisco VPN
    • Cisco Wireless
  • Cisco ASA
    • Cisco ASA General
    • Cisco ASA Firewall Configuration
  • Certifications Training
    • CCNA Training
    • Cisco Certifications
    • I.T Training
  • General
    • General Networking
    • IP Telephony
    • Network Security
    • Product Reviews
    • Software
  • Cisco Routers
  • Cisco Switches
You are here: Home / Cisco Routers / Adjusting MSS and MTU on Cisco 800 routers for PPPoE over DSL

Adjusting MSS and MTU on Cisco 800 routers for PPPoE over DSL

Written By Harris Andrea

One of the most frequent problems encountered from users of DSL internet connectivity (especially PPPoE DSL service) is when they experience incomplete connections or unreliable data transfers when they communicate with internet servers.

A prominent example is when a user accesses a web site and some times it works and some times it does not.

All these problems occur mainly because of MTU (Maximum Transmission Unit) and MSS (Maximum Segment Size) values that need to be adjusted on the customer’s broadband DSL router connecting the office to the ISP.

Note that MTU is the maximum frame size at Layer 2 and MSS is the maximum segment size of TCP packets at Layer 4 of the OSI model.

In this example we will consider a Cisco 800 series broadband router (e.g 850, 870 etc) connected with a DSL line using PPPoE protocol (you can find out if you are using such a connectivity method from your ISP. It is a very common DSL access method in USA and the rest of the world also).  

MORE READING:  Blocking peer-to-peer using Cisco IOS NBAR - Configuration Example

Before going any further, let’s put down some numbers regarding packet sizes:

  • Normal Ethernet packets have an MTU value of 1500
  • PPP protocol uses 8 bytes header size
  • IP Header is 20 bytes
  • TCP Header is 20 bytes

So, an Ethernet connected device (PC computer, Web Server etc) by default will send traffic with maximum 1500 bytes (1500 includes all headers plus data).

A broadband Cisco 800 router working with PPPoE DSL connectivity has two interfaces connected: One virtual WAN “Dialer” interface facing the ISP (attached on the physical FastEthernet 4 port) and one internal “Vlan 1” interface facing the LAN network (see the post here for an example how to configure PPPoE).

We need to adjust two values (one for MTU and one for MSS) on each router interface (dialer and vlan1).

On the Dialer interface (WAN interface) we need to adjust the MTU value to 1500-8 = 1492 in order to accommodate the 8-bytes PPP header size.

MORE READING:  WAN Redundancy with two ISPs using static floating default routes

On the Vlan1 interface we need to adjust the MSS value to 1500-8-20-20 = 1452 bytes (this is 1500 minus the PPP, TCP, and IP headers).

So, always remember that to obtain the MSS value you need to subtract the TCP and IP headers as well. Let’s see a configuration snapshot below:

Cisco800(config)# interface dialer 1
Cisco800(config-if)# ip mtu 1492
Cisco800(config-if)# exit

Cisco800(config)# interface vlan 1
Cisco800(config-if)# ip tcp adjust-mss 1452

If you still experience problems with web traffic access, then you can still reduce the MSS value lower than 1452 (some people suggest lowering this value to 1412).

Related Posts

  • How to Configure a Loopback Interface on Cisco Router & Switch
  • Comparison of Static vs Dynamic Routing in TCP/IP Networks
  • Cisco OSPF DR-BDR Election in Broadcast Networks – Configuration Example
  • How to Configure Port Forwarding on Cisco Router (With Examples)
  • The Most Important Cisco Show Commands You Must Know (Cheat Sheet)

Filed Under: Cisco Routers

Download Free Cisco Commands Cheat Sheets

Enter your Email below to Download our Free Cisco Commands Cheat Sheets for Routers, Switches and ASA Firewalls.

We use Elastic Email as our marketing automation service. By submitting this form, you agree that the information you provide will be transferred to Elastic Email for processing in accordance with their Terms of Use and Privacy Policy. Also, you allow me to send you informational and marketing emails from time-to-time.

About Harris Andrea

Harris Andrea is an Engineer with more than two decades of professional experience in the fields of TCP/IP Networks, Information Security and I.T. Over the years he has acquired several professional certifications such as CCNA, CCNP, CEH, ECSA etc.

He is a self-published author of two books ("Cisco ASA Firewall Fundamentals" and "Cisco VPN Configuration Guide") which are available at Amazon and on this website as well.

Comments

  1. Sanjee says

    February 15, 2017 at 12:28 am

    Excellent article. Solved my long term issue. Thanks a lot.

  2. Harris Andrea says

    February 15, 2017 at 6:14 am

    Sanjee I’m glad my article helped you. Have a nice day.

    Harris

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search this site

About Networks Training

We Provide Technical Tutorials and Configuration Examples about TCP/IP Networks with focus on Cisco Products and Technologies. This blog entails my own thoughts and ideas, which may not represent the thoughts of Cisco Systems Inc. This blog is NOT affiliated or endorsed by Cisco Systems Inc. All product names, logos and artwork are copyrights/trademarks of their respective owners.

Amazon Disclosure

As an Amazon Associate I earn from qualifying purchases.
Amazon and the Amazon logo are trademarks of Amazon.com, Inc. or its affiliates.

Search

BLOGROLL

Tech21Century
Firewall.cx

Copyright © 2023 | Privacy Policy | Terms and Conditions | Hire Me | Contact | Amazon Disclaimer | Delivery Policy

0 shares