Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I have a home LAN cannect to the internet via an ADSL connection. My lan consists of two computers(let's pcA and pcB) and an ADSL router.

here's the IPs


of course both computer use the router's IP as the default gateway. Now i reconfigured pcA to use pcB as his default gateway(due to a need) but it is not working when I request a web page with my browser!!

can anyone tell me why?

Thank you very much in advance

share|improve this question

migrated from Jul 11 '11 at 15:38

This question came from our site for professional and enthusiast programmers.

any more details? OS & how did you configure your interfaces would be a great start – Samuele Mattiuzzo Jul 11 '11 at 15:27
This is probably better suited at Superuser or Serverfault. Before anyone can help you, you're going to need to give more details. What operating system? How are the machines connected to each other? – developmentalinsanity Jul 11 '11 at 15:28
You should try to write your question in proper English, but most of all give more details. How did you do the (re)configuration? Also this is probably not the right forum to address this problem, because here it's all about programming. – AudioDroid Jul 11 '11 at 15:30
both run windows XP, note here that when I use the router as the default gateway everything works normally, only when I reconfigure pcA to use pcB as gateway( while pcB using the router as gateway) my work dumbs down – user29565 Jul 11 '11 at 15:31

Depending on your system you may want to :

But a computer does not act as a router if you don't ask him to do so.

share|improve this answer
ok, now if I have a proxy server listening on pcB:80...can pcB works as gateway now? – user29565 Jul 11 '11 at 15:35
@user29565, it can work as a gateway now, but you need to configure it correctly. The proxy is not relevant. Proxy is not the same thing as router. You need to configure pcB to be a router. Try the links M'vy gave you. – CarlF Jul 11 '11 at 15:55

Your pcB is not a router, and it won't route anyway since they are on the same subnet and it has only one interface. If it routed it would redirect pcA to the DSL router anyway, since it's the better path.

What exactly are you trying to do? What is the need?

If you want pcB to be a proxy, you don't configure pcA routing, but configure it's proxy settings to use pcB as it's proxy.

share|improve this answer
I tried to configure my browser to use pcB as a proxy on port 80 ( because my proxy is listening on port 80) and it worked perfectly, but now I want to know why it does not work when I configure my proxy as a default gateway to pcA instead of manually configuring the browser – user29565 Jul 11 '11 at 16:30
A proxy works at the application layer and is the endpoint of two TCP connections, your local connection and an outgoing connection. A router is a layer 3, IP network layer, forwarder and requires a complete routing table or a default route. A proxy requires a working network layer to function, but is not required to be in the networks shortest path. – Keith Jul 11 '11 at 17:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.