Reverse Routing Concept??

A

adonis

I have 2 XP Pc's connecting to the outer world through a redhat 9 PC.
Squid is running in the redhat 9 PC. It has two ethernet Interfaces,
one towards backbone and other towards the 2 PC's. I am able to browse
from both the PC's. The packets that go towards backbone are all
having proxy PC mac address and IP address of that interface. So,
irrespective of which XP PC sent the packet, the proxy PC writes its
mac and IP address into it.

Query:
How does the Proxy PC reverse route the packets. All packets coming in
downlink path comes with Redhat PC mac and IP address. How does it
route it to the correct XP Pc?..
 
J

John Wunderlich

I have 2 XP Pc's connecting to the outer world through a redhat 9
PC. Squid is running in the redhat 9 PC. It has two ethernet
Interfaces, one towards backbone and other towards the 2 PC's. I
am able to browse from both the PC's. The packets that go towards
backbone are all having proxy PC mac address and IP address of
that interface. So, irrespective of which XP PC sent the packet,
the proxy PC writes its mac and IP address into it.

Query:
How does the Proxy PC reverse route the packets. All packets
coming in
downlink path comes with Redhat PC mac and IP address. How does it
route it to the correct XP Pc?..

What you are trying to ask is "How does NAT (Network Address
Translation) work"?

There is a wealth of information on this topic on the web. A good
place to start is here:
<http://www.cisco.com/warp/public/556/nat-cisco.shtml>

The short answer to your question is that NAT routers maintain tables
of where packets go.

HTH,
John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top