Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Determine ideal MTU without ping?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
grant123
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1080

PostPosted: Sun Aug 25, 2013 10:15 am    Post subject: Determine ideal MTU without ping? Reply with quote

I'm currently connecting to the internet by tethering to my cell phone. I'd like to determine my ideal MTU but from what I understand this is done via pings and I get 100% packet loss when pinging so my ISP must be dropping them. Is there anything else I can do to figure this out?
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sun Aug 25, 2013 2:06 pm    Post subject: Reply with quote

You didn't mention who you're trying to ping. Try e.g.:
Code:
ping -s 1464 -M do www.dslreports.com
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21431

PostPosted: Sun Aug 25, 2013 2:51 pm    Post subject: Reply with quote

With the right configuration, PMTUD should handle this for you. Have you disabled PMTUD?
Back to top
View user's profile Send private message
grant123
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1080

PostPosted: Sun Aug 25, 2013 3:08 pm    Post subject: Reply with quote

PaulBredbury, I lose all of those pings unfortunately.

Hu, how is PMTUD enabled/disabled on Gentoo?
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Wed Aug 28, 2013 5:53 am    Post subject: Reply with quote

grant123 wrote:
PaulBredbury, I lose all of those pings unfortunately.

Hu, how is PMTUD enabled/disabled on Gentoo?


disable pmtu discovery
Code:
sysctl -w ip_no_pmtu_disc=1

enable pmtu discovery
Code:
sysctl -w ip_no_pmtu_disc=0

_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
grant123
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1080

PostPosted: Sun Sep 01, 2013 7:40 am    Post subject: Reply with quote

Thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum