Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I am connecting directly to my neighbour next door who is using the same broadband provider, will my traffic go directly to him or will it go through the ISP?

Could you explain how this routing works?

share|improve this question
"Connecting directly to my neighbour"... What does this mean? You're connecting to Intenet through his router? – m0skit0 Feb 10 '12 at 8:06
I assumed that it meant that his neighbor had some web server or something like that he was connected to, but I might be wrong – soandos Feb 10 '12 at 9:11
up vote 4 down vote accepted

It will minimally go to some ISP's server, though it may not go to its central hub (there may be a closer substation that will reroute it).

Generally speaking, if you are running the traffic over wires that go to the ISP, there is no way for it to go directly to your neighbor. How far into your ISP your packets go depends on the ISP, and the way that they have the routing set up. There is nothing that you can do to control this.

share|improve this answer
Most likely it will go through the first device in the line that can do IP routing. This is usually the first thing you see in a traceroute after your own router. – David Schwartz Feb 10 '12 at 10:09

For any node on the Internet, there are three critical pieces of information for routing: the IP address of the node, the subnet mask for that IP address, and the gateway router address. For instance, you might have the IP address, with the subnet mask The subnet mask distinguishes between the network portion of your IP address and the host portion; another node with an IP address of to is on the same subnet. If the two nodes are on the same subnet, messages can be passed directly, or through the nearest network switch. If the two nodes are not on the same subnet, messages for the other node will be passed on to a router, by default the gateway router. The router will check whether the IP address is on any subnet for which it knows the route; if not, it will pass the message on to its gateway router, and so on.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .