A lil’ bit nerdy here. So if anyone does not like all that computer stuff skip to the LAST LINE.
The trouble.
It all started when I bought my first wireless router D-Link DIR 320. It looked fine. Started working in seconds and was pretty easy to configure. I was really happy but the I suddenly saw that I can’t reach my favorite finance site. Sites may be down, I thought. the next day I checked out at work and the it revealed to working just fine. But back at home I couldn’t reach it again. I looked as it was downloading it forever..
The struggle
I played with DNS, learned that google’s DNS is todays probably the most reliable one and easy to remember – 8.8.8.8. Pinged the websites but nothing really helped. Even if I was able to reach the main page after numerous pings – it all died just after browser/router reboot.
I asked network administrators and friends but noone could give me a real solution. the best answer I’ve heard – do you really need those sites? Forget ’em – everything else is working just fine 🙂 Marvelous 🙁
The Solution
I posted my problem on one of the network community threads. After standard advises to update firmware and disable the firewall I was recommended to change the MTU. To a value of 1480. Magic number.
I changed it and it worked. **BUT **I will never be satisfied with a short win:) I began digging to understand the “magic”. So the first post I found was http://forums.techguy.org/networking/475606-dsl-download-speed-sucks.html. Using it found out that actually the working setting of 1480 produces next awful things:
C:WINDOWSsystem32>ping yahoo.com -f -l 1480
Pinging yahoo.com [69.147.125.65] with 1480 bytes of data:
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.
Packet needs to be fragmented but DF set.
Ping statistics for 69.147.125.65:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
And following the article’s advice:
C:WINDOWSsystem32>ping yahoo.com -f -l 1452
Pinging yahoo.com [69.147.125.65] with 1452 bytes of data:
Reply from 69.147.125.65: bytes=1452 time=16ms TTL=58
Reply from 69.147.125.65: bytes=1452 time=14ms TTL=58
Reply from 69.147.125.65: bytes=1452 time=16ms TTL=58
Reply from 69.147.125.65: bytes=1452 time=15ms TTL=58
Ping statistics for 69.147.125.65:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 14ms, Maximum = 16ms, Average = 15ms
What is the optimum MTU for YOUR network is still a question – I found mine to be still 1480 :D. But I think this might be worth remembering for the future “practices”
LAST LINE: if you can’t reach some websites after installing the router – try changing MTU in router connection properties to 1500 or 1480.