On Fri, 5 Nov 1999, Micah wrote:
> Hi I've got an interesting setup:
>
> A----B--hub--C and D---hub--E
>
> A) DSL line
> B) Linux firewall/masq host
> C) internal LAN with "fake" IPs (192.168.1.x)
>
> D) DSL line
> E) LAN with "real" IPs (216.231.62.x)
>
> What I want to be able to do is allow LAN E to get to the internal
> network and printers on LAN C. If I jam another NIC card into B, set it
> up with a "real" IP, plug it into the hub on D---E so it looks like
> this:
>
> A----B--hub--C
> |
> D--hub--E
>
> How then can the machines on network E (with the "real" IPs) know to go to
> B if they want to get to the 192.168.1 network on C? Do I have to somehow
> set up a static route on the PCs on LAN E? There has got to be a better
Static routes are your friends, once set up(and documented) they don't
turn around and stab you in the back the way the dynamic algorithms can
do when confused by garbage on the net.
> way... Can someone please advise me what to do? Would this cause all
> traffic that is supposed to go out to the LAN with "real" IPs to be
> diverted through the internet instead of just going the shorter route? I
> am doing this for a non-profit and not making any money off of it, and
> they really need it!
On the machines on net E, default gateway should still be D, the netmask
should only cover your 'real' IP's, and a route for the 192.168.1 should
be set up with B as gateway.
On B you'll also need a route for the network on E, so that traffic from C
don't have to go through A and D to get to E, but that should be an
automatic part of binding an ip address on the E net to the new netcard.
This way, traffic internal to E will stay local (the masked part of the
addresses match), traffic to C will go through B, and everything else will
go through D to the 'net.
Routing isn't really that difficult, but you do have to keep track of who
knows what.
>
> Thanks!
--
Henrik Olsen, Dawn Solutions I/S URL=http://www.iaeste.dk/~henrik/
ZOOLOGY, n.
The science and history of the animal kingdom, including its king, the
House Fly (Musca maledicta). The Devil's Dictionary, Ambrose Bierce.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]