On Tue, 18 Dec 2001, Shannon Doyle wrote:
> Hi People,
>
> Here is a situation that was presented to me today that I need to sort out
> tonight.
>
> Client has two buildings, separated by a road - so no ethernet :)
>
> The client has setup a windows 2000 network on one side of the road, while
> on the other side there are 6 windows clients and one linux box.
>
> The linux box has a wireless network card installed and communicating with a
> wireless access point across the road, so far so good. (I didn't choose to
> do it this way, its just what they have)
>
> Now......I need to setup the linux box as a gateway to the network on the
> other side so that the 6 windows clients can access a permanent share on the
> Windows 2000 Server. ie using the linux box's wireless access card to gain
> access to the ethernet on the other side.
OK, once you've got the linux box able to ping something on the other side
of the road the rest is just general network issues (and security issues
as Simon pointed out). You're probably going to plan for a subnet to be
allocated for the side of the road the 6 windows users are on. This will
simplify routing and everybody's happy.
If you have 192.168.1.0 on the server's side perhaps pick 192.168.2.0 for
the side accross the road. Then on the server's side you'll need to add a
route to 192.168.2.0 and on the linux box set your default route back to
the server (or whatever your real router is).
[ws] 192.168.1.21
|
192.168.1.254 | 192.168.1.2
internet--[router & firewall]--[hub]----[server]
(need not exist) |
[access point] (passive device?)
|
[wireless] 192.168.1.5 eth1
[linux] 192.168.2.1 eth0
|
[ws]-----[hub]----[ws]
192.168.2.21 192.168.2.22
On the linux box you'll also need to enable routing
echo 1 >/proc/sys/net/ipv4/ip_forward
is one way.
Now some router that the server can see must be told to route packets for
the 192.168.2.0 network. Whether that be your internet router, some other
router or the server itself depends on the network hierachy present.
--
---<GRiP>---
Web: www.arcadia.au.com/gripz
Phone/fax: 02 4950 1194
Mobile: 0408 686 201
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug