AVS Forum banner
1 - 20 of 34 Posts

· Registered
Joined
·
2,803 Posts
Discussion Starter · #1 ·
Based on HULU's website, I need to have a connection that makes fewer than 12 hops to get to their server.


According to my traceroute, I used tracert it's taking something around 14 hops and some of those hops have a high 200+ms latency.


Interestingly when I ran the tracert multiple times, I got different results each time. Sometimes it ran the trace in 8 hops with 30ms or less hops, while other times it was much longer with more hops.


I'm guessing this contributes to the stuttering nature of the video. I don't know why it would change the route once your connected, I need to better understand how this affects my video stream.


Anyone have an idea of how I can fix this issue? Or could provide insight on what I'm seeing?


Regards,


Mike
 

· Registered
Joined
·
967 Posts
Unfortunately once the traffic leaves your network, you're at the mercy of your provider at to where it goes next. Route tables are often built dynamically, although I'm also surprised your route is changing mid stream. My only guess would be due to redundant connections in your providers network.


As far as Hulu stating you must get to their servers within 12 hops, that seems a little iffy to me. Inside larger corporations a user may have 5+ hops before they even reach the internet.


One thing I did notice however when doing tracerts to www.hulu.com - I was being sent to a different IP address each time, with number of hops ranging from 5 to 19. So what you could do is add an entry into your local hosts file (c:\\windows\\system32\\drivers\\etc\\hosts) for www.hulu.com and give it the IP address that gives you the least # of hops - that should enable you to hit that same server each time.
 

· Registered
Joined
·
2,890 Posts

Quote:
Originally Posted by brianley /forum/post/16834748


Unfortunately once the traffic leaves your network, you're at the mercy of your provider at to where it goes next. Route tables are often built dynamically, although I'm also surprised your route is changing mid stream. My only guess would be due to redundant connections in your providers network.


As far as Hulu stating you must get to their servers within 12 hops, that seems a little iffy to me. Inside larger corporations a user may have 5+ hops before they even reach the internet.


One thing I did notice however when doing tracerts to www.hulu.com - I was being sent to a different IP address each time, with number of hops ranging from 5 to 19. So what you could do is add an entry into your local hosts file (c:\\windows\\system32\\drivers\\etc\\hosts) for www.hulu.com and give it the IP address that gives you the least # of hops - that should enable you to hit that same server each time.

That's an interesting idea. Mike are you getting smooth hulu at all? If so can you determine which IP you are connecting to that gives you the smooth hulu.


it may help determine if its a hops issue or a hulu server issue.
 

· Registered
Joined
·
2,803 Posts
Discussion Starter · #5 ·

Quote:
Originally Posted by brianley /forum/post/16834748


Unfortunately once the traffic leaves your network, you're at the mercy of your provider at to where it goes next. Route tables are often built dynamically, although I'm also surprised your route is changing mid stream. My only guess would be due to redundant connections in your providers network.


As far as Hulu stating you must get to their servers within 12 hops, that seems a little iffy to me. Inside larger corporations a user may have 5+ hops before they even reach the internet.


One thing I did notice however when doing tracerts to www.hulu.com - I was being sent to a different IP address each time, with number of hops ranging from 5 to 19. So what you could do is add an entry into your local hosts file (c:\\windows\\system32\\drivers\\etc\\hosts) for www.hulu.com and give it the IP address that gives you the least # of hops - that should enable you to hit that same server each time.

How do I know which IP to use?


Mike
 

· Registered
Joined
·
2,803 Posts
Discussion Starter · #6 ·

Quote:
Originally Posted by mike_311 /forum/post/16835169


That's an interesting idea. Mike are you getting smooth hulu at all? If so can you determine which IP you are connecting to that gives you the smooth hulu.


it may help determine if its a hops issue or a hulu server issue.

That's what I'm trying to figure out. I'm not sure how to do this and how to verify it.


Note there is more than one problem here. My video stream can be smooth for a period of time, and then become jumpy. I noticed that when I connect to a video multiple time, there are times it will run smoother than others. I'm not sure why this is the case.


Is the route with an open video connection constantly changing? Does it stay open once a connection is made? Does the fact that hulu chops up the video in segments change the way the "open" connection works? Is encryption forcing rerouting?


Mike
 

· Registered
Joined
·
2,890 Posts

Quote:
Originally Posted by PanamaMike /forum/post/16835261


How do I know which IP to use?


Mike

just a guess, but how about the one that gives the least number of hops?
 

· Registered
Joined
·
2,890 Posts

Quote:
Originally Posted by PanamaMike /forum/post/16835271


That's what I'm trying to figure out. I'm not sure how to do this and how to verify it.


Mike

well its trial and error. try setting the local hosts file to a server with few hops. and see if it helps, if it does, i'd leave it at that.


if you CAN get smooth hulu sometimes try different ips and document which get smooth playback.


pm am with the ip that have smooth playback, and don't tell anyone else. I hate for you to do all this hardwork and and have everyone connect to the same server and screws things up.
 

· Registered
Joined
·
967 Posts

Quote:
Originally Posted by PanamaMike /forum/post/16835271


That's what I'm trying to figure out. I'm not sure how to do this and how to verify it.


Note there is more than one problem here. My video stream can be smooth for a period of time, and then become jumpy. I noticed that when I connect to a video multiple time, there are times it will run smoother than others. I'm not sure why this is the case.


Is the route with an open video connection constantly changing? Does it stay open once a connection is made? Does the fact that hulu chops up the video in segments change the way the "open" connection works? Is encryption forcing rerouting?


Mike

Just in case the "I'm not sure how to do this" was in reference to determining which IP to use and how to add it to your host file:


From a command prompt type tracert www.hulu.com

You should get back something like this:

C:\\Users\\Brian>tracert www.hulu.com


Tracing route to a1700.g.akamai.net [76.7.66.82]

over a maximum of 30 hops:


1 10 ms 10 ms 10 ms nc-71-50-116-1.dyn.embarqhsd.net [71.50.116.1]

2 10 ms 10 ms 10 ms nc-65-41-232-213.sta.embarqhsd.net [65.41.232.2

3]

3 26 ms 10 ms 27 ms host61.sprintnetops.net [206.107.116.61]

4 10 ms 10 ms 10 ms host82.embarqservices.net [76.7.66.82]


Trace complete.

(the red highlight was added to show you what IP address I'm referring to)


So that attempt only took me 4 hops - (pretty sweet actually...)


Repeat that process a few times and see what IP address comes back with the fewest # of hops. If it keeps resolving to the same IP address each time, type "Ipconfig /flushdns" at the command prompt (without the quotes) and then try the tracert again.


Once you've determined the IP address that is giving you the least # of hops, click Start, Run and enter the following: notepad c:\\windows\\system32\\drivers\\etc\\hosts


Notepad should launch with your hosts file loaded (NOTE: the hosts file has NO file extension). Move to the bottom of the file (last line is probably 127.0.0.1 localhost) and add the IP address you determined above, press the tab key, then enter www.hulu.com


Press enter, click File, save and then exit notepad.


Then try hulu again...
 

· Registered
Joined
·
2,803 Posts
Discussion Starter · #10 ·

Quote:
Originally Posted by brianley /forum/post/16835766


Just in case the "I'm not sure how to do this" was in reference to determining which IP to use and how to add it to your host file:


From a command prompt type tracert www.hulu.com

You should get back something like this:

C:\\Users\\Brian>tracert www.hulu.com


Tracing route to a1700.g.akamai.net [76.7.66.82]

over a maximum of 30 hops:


1 10 ms 10 ms 10 ms nc-71-50-116-1.dyn.embarqhsd.net [71.50.116.1]

2 10 ms 10 ms 10 ms nc-65-41-232-213.sta.embarqhsd.net [65.41.232.2

3]

3 26 ms 10 ms 27 ms host61.sprintnetops.net [206.107.116.61]

4 10 ms 10 ms 10 ms host82.embarqservices.net [76.7.66.82]


Trace complete.

(the red highlight was added to show you what IP address I'm referring to)


So that attempt only took me 4 hops - (pretty sweet actually...)


Repeat that process a few times and see what IP address comes back with the fewest # of hops. If it keeps resolving to the same IP address each time, type "Ipconfig /flushdns" at the command prompt (without the quotes) and then try the tracert again.


Once you've determined the IP address that is giving you the least # of hops, click Start, Run and enter the following: notepad c:\\windows\\system32\\drivers\\etc\\hosts


Notepad should launch with your hosts file loaded (NOTE: the hosts file has NO file extension). Move to the bottom of the file (last line is probably 127.0.0.1 localhost) and add the IP address you determined above, press the tab key, then enter www.hulu.com


Press enter, click File, save and then exit notepad.


Then try hulu again...

Cool, thx for taking the time to explain. I'm going to take a look at the tracert output again. I don't remember seeing that first ip address. Actually, if I'm remembering right, it's the IP of my router.


Mike
 

· Registered
Joined
·
112 Posts

Quote:
Originally Posted by brianley /forum/post/16835766


Just in case the "I'm not sure how to do this" was in reference to determining which IP to use and how to add it to your host file:


From a command prompt type tracert www.hulu.com

You should get back something like this:

C:\\Users\\Brian>tracert www.hulu.com


Tracing route to a1700.g.akamai.net [76.7.66.82]

over a maximum of 30 hops:


1 10 ms 10 ms 10 ms nc-71-50-116-1.dyn.embarqhsd.net [71.50.116.1]

2 10 ms 10 ms 10 ms nc-65-41-232-213.sta.embarqhsd.net [65.41.232.2

3]

3 26 ms 10 ms 27 ms host61.sprintnetops.net [206.107.116.61]

4 10 ms 10 ms 10 ms host82.embarqservices.net [76.7.66.82]


Trace complete.

(the red highlight was added to show you what IP address I'm referring to)


So that attempt only took me 4 hops - (pretty sweet actually...)


Repeat that process a few times and see what IP address comes back with the fewest # of hops. If it keeps resolving to the same IP address each time, type "Ipconfig /flushdns" at the command prompt (without the quotes) and then try the tracert again.


Once you've determined the IP address that is giving you the least # of hops, click Start, Run and enter the following: notepad c:\\windows\\system32\\drivers\\etc\\hosts


Notepad should launch with your hosts file loaded (NOTE: the hosts file has NO file extension). Move to the bottom of the file (last line is probably 127.0.0.1 localhost) and add the IP address you determined above, press the tab key, then enter www.hulu.com


Press enter, click File, save and then exit notepad.


Then try hulu again...


I was having the same problems as mentioned, so I did what you suggested.


When I did the tracert I was getting the same 2 different ip's no matter how many times I flushed the dns, with a result of 9 jumps, but 3 of them timed out each time.


So I tried that IP you added in red with a result of 19 jumps. But at least that ip was faster because it did not have any time outs.


I am going to keep trying, but it looks like my local Cox cable provider only gives out 2 ip addresses to hulu from here.
 

· Registered
Joined
·
967 Posts

Quote:
Originally Posted by paratwa /forum/post/16836121


I was having the same problems as mentioned, so I did what you suggested.


When I did the tracert I was getting the same 2 different ip's no matter how many times I flushed the dns, with a result of 9 jumps, but 3 of them timed out each time.


So I tried that IP you added in red with a result of 19 jumps. But at least that ip was faster because it did not have any time outs.


I am going to keep trying, but it looks like my local Cox cable provider only gives out 2 ip addresses to hulu from here.

One of the features of Akamai is they have multiple servers in different geographic locations. The server(s) physically closest to you should be the ones that respond the quickest (and with the lowest # of hops) but the number of users hitting a particular server could certainly affect that.


Here are all the IP addresses I received for hulu.com (actually for a1700.g.akamai.net - are your requests resolving to that same name?)


Coming from Raleigh, NC

76.7.66.75

76.7.66.82


Coming from Dayton, OH

8.21.194.120

8.21.194.139


Obviously still a distance from Arizona - perhaps another that is closer to you will post theirs.


NOTE: Hardcoding IPs like this may not always work, particularly if Hulu / Akamai change servers or perform maintenance from time to time.
 

· Registered
Joined
·
2,803 Posts
Discussion Starter · #13 ·

Quote:
Originally Posted by paratwa /forum/post/16836121


I was having the same problems as mentioned, so I did what you suggested.


When I did the tracert I was getting the same 2 different ip's no matter how many times I flushed the dns, with a result of 9 jumps, but 3 of them timed out each time.


So I tried that IP you added in red with a result of 19 jumps. But at least that ip was faster because it did not have any time outs.


I am going to keep trying, but it looks like my local Cox cable provider only gives out 2 ip addresses to hulu from here.

The good news is that it helped.


Mike
 

· Registered
Joined
·
112 Posts
using an external dns lookup service I was able to find a dns that only had 5 jumps. I then did the notepad edit like you said and now everything is smooth!


Thank you very much brianley!


The longest jump was to LA, so it was not that far
 

· Registered
Joined
·
967 Posts

Quote:
Originally Posted by paratwa /forum/post/16836236


using an external dns lookup service I was able to find a dns that only had 5 jumps. I then did the notepad edit like you said and now everything is smooth!


Thank you very much brianley!


The longest jump was to LA, so it was not that far

cool - perhaps you can share which external dns site you used to find the closest server? I'm sure it will help others.
 

· Registered
Joined
·
112 Posts

Quote:
Originally Posted by brianley /forum/post/16836337


cool - perhaps you can share which external dns site you used to find the closest server? I'm sure it will help others.


I just did a search on google and found a site. I typed in the url for hulu and it gave me an IP, I then did a cmd prompt tracert on that IP to see if it was faster, It was so I used it.

http://www.lookupserver.com/



And after using Hulu for a couple of hours I have to say it has less hiccups and stutters than it did before, it's almost perfect.


Thanks again for your help!
 

· Registered
Joined
·
1,028 Posts
Your hops have nothing to do with DNS and have nothing to do with host files. It has everything to do with your ISP routing tables... You can change the routing tables within your machine but honestly is very very complex which will override your routers / ISPs routers - again I dont recommend this.


I would recommend if you have QoS on your router that you configure QoS. QoS will not only prioritize the packets but also may optimize your routes . As each packet with the extra payload of its purpose and prioritiy go through each hop the router will establish a contract of guaranteed service. Typically hops don't necessarily dictate latency or jitter. Usually what affects traffic is quality of the link and inbetween. Ideally the lower number of hops the better quality but sometimes depending on the type of traffic and the priority of those packets will dictate the latency (delay of packet arrival) and jitter (variation in the delay of the packet arrival). Jitter is typically your biggest issue when it comes to media streaming and gaming - which is why there are routers out there with "anti jitter" or "jitter reducers" like the Dlink Gamer routers. They employ at the end of the day QoS (hidden by some fancy name like GameFuel Mode or something like that). This helps significantly.


Dont waste your time with your host file that is just like hard coding an IP to a DNS name.. Once your DNS has been established your using DNS cache... And as the previous poster stated Akamai is uses complex algorithms to drive you to the least used route to their services - much better then you could hard code (which is why I dont recommend you muck up your routing tables).


QoS is your best bet... if you have a Dlink router then enable GameFuel.. the newer models actually can easily prioritize based on media type (Games, Video, VOIP, etc.)
 

· Registered
Joined
·
999 Posts
The DNS TTL on the hulu.com DNS entries is 20sec, so your machine only caches the entries for 20sec, if a subsequent connection to hulu.com is made after 20sec, you may get a different ip, and therefore a different route. Routes to a specific ip generally don't change that often, so hardcoding a hosts entry to an ip with least amount of hops may help. Of course if hulu.com every changes ip's you won't be able to connect and will have to go through the exercise again.


Does QoS work beyond your router? I highly doubt it, your ISP would have to configure their infrastructure to accept QoS from all their customers, something I'm pretty sure none do.
 

· Registered
Joined
·
1,028 Posts
I see dont know much about network architecture..


There is Packet TTL and DNS TTL both have nothing to do with the local cache of your machine.


Packet TTL has to do with how long the packet traverses the internet before it finds its destination. It focus is to ensure that the packet in the event it doesnt cant find its destination it doesnt traverse for infinity.


DNS TTL is how long after the authoritative name server makes a change that the change propegates to other DNS servers. authoritiative name service providers typically have low TTL as they want their DNS entries to propagate very timely BUT the downfall is that this also increase load to that server. Most smaller companies for example mine has a much high TTL. Since we own and host our own DNS names/servers we dont care how long it takes (well we do but not like network solutions for example).


And again.. DNS HAS NOTHING TO DO WITH ROUTES!!!!!!!!!!!!!!!!!!!


And yes QoS is dependent on the routers passing on the payload information about the packet but any router installed after 1999 has this and will pass along that packet information... Some will block but MOST do not as it benefits the ISPs under MOST conditions.


Please give accurate information rather then fud or dont answer at all..

Quote:
Originally Posted by stoked /forum/post/16838262


The DNS TTL on the hulu.com DNS entries is 20sec, so your machine only caches the entries for 20sec, if a subsequent connection to hulu.com is made after 20sec, you may get a different ip, and therefore a different route. Routes to a specific ip generally don't change that often, so hardcoding a hosts entry to an ip with least amount of hops may help. Of course if hulu.com every changes ip's you won't be able to connect and will have to go through the exercise again.


Does QoS work beyond your router? I highly doubt it, your ISP would have to configure their infrastructure to accept QoS from all their customers, something I'm pretty sure none do.
 

· Registered
Joined
·
999 Posts

Quote:
Originally Posted by stanglx /forum/post/16838411


I see dont know much about network architecture..


There is Packet TTL and DNS TTL both have nothing to do with the local cache of your machine.


Packet TTL has to do with how long the packet traverses the internet before it finds its destination. It focus is to ensure that the packet in the event it doesnt cant find its destination it doesnt traverse for infinity.


DNS TTL is how long after the authoritative name server makes a change that the change propegates to other DNS servers. authoritiative name service providers typically have low TTL as they want their DNS entries to propagate very timely BUT the downfall is that this also increase load to that server. Most smaller companies for example mine has a much high TTL. Since we own and host our own DNS names/servers we dont care how long it takes (well we do but not like network solutions for example).

I was obviously referring to DNS TTL and it does affect the DNS client on Windows machines as they cache records as per the TTL of the DNS record. http://support.microsoft.com/kb/318803 (specifically the paragraph above "Using the Registry to Control the Caching Time".


You're absolutely right about propagation to non-authoritative DNS servers, but many OS's have a resolver cache as well. Don't believe me? Ping a hostname, and run ipconfig /displaydns , the TTL is obeyed and shown as per the RFC.

Quote:
Originally Posted by stanglx /forum/post/16838411


And again.. DNS HAS NOTHING TO DO WITH ROUTES!!!!!!!!!!!!!!!!!!!

True, but indirectly routes are affected since whatever ip gets resolved will likely have a different route.

Quote:
Originally Posted by stanglx /forum/post/16838411


Please give accurate information rather then fud or dont answer at all..
Go read the RFC for DNS http://www.ietf.org/rfc/rfc1035.txt


This is getting off topic, I'll stop responding to this "fud".
 
1 - 20 of 34 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top