Community discussions

MikroTik App
 
network99
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 89
Joined: Wed Nov 22, 2017 8:47 pm

change mss for PPPoE and IP Route users

Sun Nov 21, 2021 8:31 am

hello guys
good time

I calculated my network MTU size from ping 4.2.2.4 -l 1455 -f and I realized my network MTU is 1455

now, I have a question aboute change mss for my users
what ch-mss size should I set for PPPoE-client users and IP Route Users ?

IP Route : 1455-40 = 1415 is correct ?
PPPoE : 1455-40-6 = 1409 is correct ?
 
network99
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 89
Joined: Wed Nov 22, 2017 8:47 pm

Re: change mss for PPPoE and IP Route users

Sun Nov 21, 2021 10:38 am

my network :
Image
 
network99
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 89
Joined: Wed Nov 22, 2017 8:47 pm

Re: change mss for PPPoE and IP Route users

Sun Nov 21, 2021 5:41 pm

I should set ch-mss on interface (all ppp (my user ppooe)) or set ch-mss on interface connected to internet ??
 
Zacharias
Forum Guru
Forum Guru
Posts: 2819
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: change mss for PPPoE and IP Route users

Sun Nov 21, 2021 6:08 pm

MSS = MTU - TCP Header - IP Header ...
What are those 6 Bytes on your second calculation ?
 
tdw
Forum Guru
Forum Guru
Posts: 1067
Joined: Sat May 05, 2018 11:55 am

Re: change mss for PPPoE and IP Route users

Sun Nov 21, 2021 7:21 pm

I calculated my network MTU size from ping 4.2.2.4 -l 1455 -f and I realized my network MTU is 1455
Some ping programs the length option specifies just the payload data, others the entire packet.

For Windows it is the payload, so from that if -l 1455 works and -l 1456 fails the MTU is 20 (IP header) + 8 (ICMP header) + 1455 (payload) = 1483, and correspoding MSS is 1483 (MTU) - 20 (IP header) - 20 (TCP header) = 1443.
 
network99
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 89
Joined: Wed Nov 22, 2017 8:47 pm

Re: change mss for PPPoE and IP Route users

Thu Nov 25, 2021 10:10 am

What are those 6 Bytes on your second calculation ?
PPPoE overhead = 8 Byte / its incorrect and not should calculated ?
 
network99
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 89
Joined: Wed Nov 22, 2017 8:47 pm

Re: change mss for PPPoE and IP Route users

Thu Nov 25, 2021 10:15 am

I calculated my network MTU size from ping 4.2.2.4 -l 1455 -f and I realized my network MTU is 1455
Some ping programs the length option specifies just the payload data, others the entire packet.

For Windows it is the payload, so from that if -l 1455 works and -l 1456 fails the MTU is 20 (IP header) + 8 (ICMP header) + 1455 (payload) = 1483, and correspoding MSS is 1483 (MTU) - 20 (IP header) - 20 (TCP header) = 1443.
thanks
 
Zacharias
Forum Guru
Forum Guru
Posts: 2819
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: change mss for PPPoE and IP Route users

Fri Nov 26, 2021 8:40 pm

What are those 6 Bytes on your second calculation ?
PPPoE overhead = 8 Byte / its incorrect and not should calculated ?
It is 8 Bytes not 6... yes it should be calculated ...

Who is online

Users browsing this forum: Google [Bot], mrivara and 26 guests