Networking Forums

Networking Forums > Network Hardware > Network Routers > How does web sites know how to route

Reply
Thread Tools Display Modes

How does web sites know how to route

 
 
Phlippie Smit
Guest
Posts: n/a

 
      04-20-2006, 07:00 PM
Hi there

Could anyone please explain how routing to a website works?

I basically need to know what happens when a site is requested by a web
browser in one country, when the site is hosted in another. For the sake of
the example, say the site is in the United Kingdom and the visitor is in
South Africa.

The way I currently understand it:

1. My browser interrogates my IP settings and finds a DNS server.
2. The DNS server "traverses" until it finds a DNS server with the
requested site name, and converst this to an IP address.
3. My Computer connects to the other IP adddress.

The actual question (excuse the long intro):

Why do some sites first go through the USA and then only to the UK (Is it a
routing or a DNS problem)?

Why do some sites have more and other less "hops" to the actual www server?

any help will be much appreciated.

TYIA

P Smit


 
Reply With Quote
 
 
 
 
f/fgeorge
Guest
Posts: n/a

 
      04-20-2006, 07:35 PM
Easy answer....EVERY web site ahs a unique IP address, yes even
www.yahoo.com is in reality http://216.109.117.106/ and a few others.
A router just sends the info to a central point that then converts the
name into an ip address and then sends it to the correct place.

On Thu, 20 Apr 2006 21:00:44 +0200, "Phlippie Smit"
<(E-Mail Removed)> wrote:

>Hi there
>
>Could anyone please explain how routing to a website works?
>
>I basically need to know what happens when a site is requested by a web
>browser in one country, when the site is hosted in another. For the sake of
>the example, say the site is in the United Kingdom and the visitor is in
>South Africa.
>
>The way I currently understand it:
>
>1. My browser interrogates my IP settings and finds a DNS server.
>2. The DNS server "traverses" until it finds a DNS server with the
>requested site name, and converst this to an IP address.
>3. My Computer connects to the other IP adddress.
>
>The actual question (excuse the long intro):
>
>Why do some sites first go through the USA and then only to the UK (Is it a
>routing or a DNS problem)?
>
>Why do some sites have more and other less "hops" to the actual www server?
>
>any help will be much appreciated.
>
>TYIA
>
>P Smit
>


 
Reply With Quote
 
Harry
Guest
Posts: n/a

 
      04-21-2006, 02:50 PM
Each hop is from one Internet router to another. The "goal" of a
router is to pass on a packet to another router that is "closer" to the
final destination.

The DNS server only translates URLs into IP addresses. Your DNS server
need not be anywhere near your site. A DNS server broadcasts your DNS
information throughout the Internet.

Finding a route involves making trade-offs. Perhaps the logical next
hop from the current router is to a router that currently is busy.
Maybe a closer router (in number of hops, for example) has a slower
link to the current router. The actual algorithm is unimportant
because it may change, and the results will change as traffic patterns
change and as equipment is removed or added. The packets seek a "best"
path to their destination. (I am not an expert on Internet routing
algorithms, anyway.)

Why go from S.Africa to U.K through U.S.? Probably the connections
from S. Africa to U.S. are fast as are those from U.S. to U.K. Compare
to going to Egypt, then to U.K., for example.

You probably already know about traceroute (Windows version = tracert;
run from command prompt window). It tells you the route and the time
per hop so you know how efficiently you can get to a given site.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN client adds wrong route to local route table snowdog_2112 Windows Networking 7 11-01-2005 02:05 PM
Explorer not opening http sites while https sites work Hendrik G. Seliger Windows Networking 0 09-13-2005 09:12 PM
VPN 2 Sites PM Windows Networking 0 07-22-2005 03:08 PM
WiFi Hotspot Directory now includes over 12,000 sites including Intl sites! Riverwalk Mobile Windows Networking 0 09-16-2004 02:49 PM
route and static route to a gateway Sting Linux Networking 2 02-21-2004 03:35 AM



1 2 3 4 5 6 7 8 9 10 11