[SLL] Bridging two networks
Jarod Wilson
jarod at wilsonet.com
Fri May 30 14:08:44 PDT 2008
On Fri, 2008-05-30 at 13:51 -0700, Ralph Sims wrote:
> I'd be happy to use whatever works at this point.
>
> I'm using a dynamic dns service to keep the DSL IP mapped to a hostname, so
> that end is taken care of. The computer is 10.0.0.2 and the "other" network
> is (example) 1.2.3.4/26 with a gateway of 1.2.3.254. IP forwarding is on
> (and again, no filters). I "own" the 1.2.3.0/20 network so I can do just
> about anything I want from that end. So, with ip forwarding and routing,
> logging in to the linux box on the DSL line should give me access to the
> 1.2.3.* devices. How can I route between the two? At this point nothing
> goes in or out of eth1.
If I understand correctly, you have:
DSL -- (Public IP foo)
|
DSL -- (Private IP 10.0.0.1)
|
Gateway -- (Private IP 10.0.0.2)
|
Gateway -- (Public IP 1.2.3.254)
|
Stuff -- (Public IPs in 1.2.3.0/20)
...and you want to know why you can't get to Stuff behind the gateway?
Or am I missing something? The above is quite obviously doomed for
failure, since you can't have a private IP hop in the route between two
public IPs, not to mention you'd need routing tables that tell people to
get to 1.2.3.0/20, they have to go through your DSL...
--
Jarod Wilson
jarod at wilsonet.com
More information about the linux-list
mailing list