Some times my users complain that the internet is slow or the website being access is not possible. The issue turns out to be the MSS/MTU issue.
what is the difference between MSS and MTU?
DP= Data packet
PL=Packet length=MTU= Maximum Transmission Unit
IPHL= IP header length
DP=PL - IPHL
DP= MTU-IPHL-----------------------> equation 1
Also, DP=TCPHL + MSS -------------------->equation 2
where TCPHL= TCP header length
MSS= Maximum Segment Size
Combining eq 1 and eq2 we have
MSS+TCPHL=MTU- IPHL
MSS= MTU-IPHL-TCPHL
But the minimum header size of the ip header and the tcp header if 40 Bytes.
Therefore,
MSS=MTU-20-20
Finally we go
MSS=MTU-40
To check the MSS value of a segment in the Cyberoam check step 1 from below link:
http://cyberoamexpert.blogspot.in/2012/02/traffic-for-virtual-host-explained.html
what is the difference between MSS and MTU?
DP= Data packet
PL=Packet length=MTU= Maximum Transmission Unit
IPHL= IP header length
DP=PL - IPHL
DP= MTU-IPHL-----------------------> equation 1
Also, DP=TCPHL + MSS -------------------->equation 2
where TCPHL= TCP header length
MSS= Maximum Segment Size
Combining eq 1 and eq2 we have
MSS+TCPHL=MTU- IPHL
MSS= MTU-IPHL-TCPHL
But the minimum header size of the ip header and the tcp header if 40 Bytes.
Therefore,
MSS=MTU-20-20
Finally we go
MSS=MTU-40
To check the MSS value of a segment in the Cyberoam check step 1 from below link:
http://cyberoamexpert.blogspot.in/2012/02/traffic-for-virtual-host-explained.html
No comments:
Post a Comment