On Mon, 07 Jun 2004 19:03:40 +0200, pipo <(E-Mail Removed)> wrote:
> Hi all,
>
> I'm new to linux and to this group, so if I'm posting
> off topic I apoligize.
>
> The problem is this:
>
> I have a suse8.2 machine with two network cards.
> 192.168.0.3 is in connection with a apache router,
> which has a intenet connection via a cable modem
> (I share internet with a house-mate).
> 192.168.1.1 is in connection with my windowsXP machine.
> Obviously I want a internet connection on my windowsXP
> machine, but I can't get it working (It's working fine
> on the suse8.2 machine).
>
> On the suse8.2 machine I've made the following config. with YaST2:
>
> subnetmask for 192.168.0.3: 255.255.255.0
> subnetmask for 192.168.1.1: 255.255.0.0
> default gateway : 192.168.0.1 (the apache router)
> ip-forwarding: enabled
>
> windowsXP config.:
>
> ip adress: 192.168.1.2
> subnetmask: 255.255.0.0
> default gateway: 192.168.1.1
>
> Now the strange thing is (to me, as a layman), that, from the
> windowsXP machine, I can ping 192.168.1.1 and 192.168.0.3 but
> not 192.168.0.1!
>
> Can anyone help me?
Does the apache router know anything about the 192.168.1.0/24 network or
how to route to it via 192.168.0.3 as gateway? If not, or you have no
control over that, you will need to configure SuSEfirewall2 so your
192.168.0.3 interface will masquerade and answer for your 192.168.1.0/24
subnet.
Read through and edit /etc/sysconfig/SuSEfirewall2 and set:
FW_DEV_EXT="eth0" (assuming that is 192.168.0.0/24 net)
FW_DEV_INT="eth1" (assuming that is 192.168.1.0/24 net)
FW_ROUTE="yes"
FW_MASQUERADE="yes"
FW_MASQ_NETS="192.168.1.0/24"
and read through the rest.
--
David Efflandt - All spam ignored
http://www.de-srv.com/