On Sun, 4 Jul 2004 16:35:23 +0000 (UTC), Guenter Riker <(E-Mail Removed)> wrote:
> Hi there,
>
> I need some help.
>
> I've got a server/webserver running Suse 9.0. I've just installed a Zoom X4
> Adsl modem/router, which I'm trying to use as a replacement for a SpeedTouch
> modem on my BT Internet connection.
>
> I've managed to set it up and am able to get onto the Internet on the
> server, but I can't get my Windows XP workstations to get onto the net. I
> don't know what I'm doing wrong.
>
> I've got a network setup with static IP addresses. My IP setup is as
> follows:
>
> Adsl router 10.0.0.2 - 255.255.255.0 connected to an external interface
> Ethernet card 192.168.0.2 - 255.255.255.0 with Gateway 10.0.0.2. The
> internal interface Ethernet card has 192.168.0.1 - 255.255.255.0
>
> In the route table on the router I put 192.168.0.2 - 255.255.255.0 - Gateway
> 10.0.0.2, which enables me to get onto the net with the server.
>
> What do I have to do on the server so my workstation get onto the net, too?
You have conflicting networks (and probably routing) on your Linux box.
Since it would have 2 routes for 192.168.0.0/24, it would only use the
first one in the routing table. There is a way to get around that by
using a different netmask and possibly proxy_arp, but not even sure why
you are using 192.168.0.x IP on a 10.0.0.x network anyway.
Depending upon where Windows comes into the picture, if it is on the
router, Windows may have trouble using a gateway that is not in its
network. Or if behind the Linux box, the adsl router is not going to know
how to reach it (would not know to use 192.168.0.2 as gateway to Win box).
One possiblility:
eth0 use 10.0.0.x IP netmask 255.255.255.255, proxy_arp enabled
host route to 10.0.0.2 on eth0 and as default gateway
eth1 use 10.0.0.x IP netmask 255.255.255.0
Other possibility:
eth0 use 10.0.0.x IP netmask 255.255.255.0
use any other network on eth1 masqueraded as eth0 IP
Adsl router would not need any internal gateway to reach LAN in either
case.
--
David Efflandt - All spam ignored
http://www.de-srv.com/