a simple networking problem
Lennart Sorensen
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Tue Apr 13 21:19:47 UTC 2004
On Tue, Apr 13, 2004 at 05:18:54PM -0400, Zbigniew Koziol wrote:
> Please forgive my ignorance in this subject and alziness to solve the problem
> myself. I would prefer rather to go ahead with my urgent project than to
> spend hours to find the solution myself.
>
> There are 3 computers in this place.
>
> (1). A connected to the internet openBSD working as a gateway. Its local IP
> address is 10.1.1.1
>
> (2). A linux (RH 7.2) working as a workstation used by me in everyday life
> for work and fun. Its local IP is 10.1.1.11
>
> (3). A new box with Windows 2000 Pro (sorry, had no choice but to use it for
> my temporary work). I have problem to connect this one.
>
> Computer (1) has a place for one ethernet card only.
> Computer (2) has already two ethernet cards inside.
>
> Hence, I want to put traffic between (3) and (1) through (2).
>
> At this moment, /sbin/route on computer (2) shows this:
>
> 10.0.0.0 * 255.0.0.0 U 0 0 0 eth0
> 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
> default gate 0.0.0.0 UG 0 0 0 eth0
>
> I know that ethernet cards work properly on all computers and configuring (3)
> to that extend I need is not a problem either.
>
> The question is:
>
> How to manipulate by /sbin/ifconfig and /sbin/route, etc, on computer (2) in
> order to be able, at least, to have a working connection between (2) and (3) ?
Well you could make computer 2 the gateway for 3 and then setup a
seperate domain for the network that 2 and 3 share and setup ip
masquarading on 2. or you can use proxy arp on 2 to make it appear as 1
to 3 and as 3 to 1 and let it forward packets between the two network
cards as needed (essentially bridging).
The simple solution is to get a hub or switch that you can connect all
the computers to, which is not expensive, and the right way to do it.
Lennart Sorensen
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list