Hi Jim,

There is no need to setup a GATEWAY or GATEWAYDEV as when you connect via
PPP, an active gateway route is set after you connect.

What you have probably missed is to make sure IP Forwarding is enabled.
(Redhat disables it by default)

do ;
cat /proc/sys/net/ipv4/ip_forward
if its 0, then its disabled.

to enable, do ;
echo "1" > /proc/sys/net/ipv4/ip_forward

Alternatively you can change the flag in /etc/sysconfig/network from 'no' to
'yes' on FORWARD_IPV4=

--Stephen

-----Original Message-----
From: Jim Lund <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, December 14, 1998 10:45 AM
Subject: [masq] masq setup


>Hi,
>
>I've read (and re-read) the ip_masq howto and also the resources that I
>could find online, but still can't get masq running on my machine.  I had
>it running last year, but under a slightly different setup.
>
>Here's what I'm doing.  I've got my linux box connecting to the net via
>ppp.  This works.  I can connect, and the system functions.  I've got my
>win95 box netwroked to my linux box and want to use ip_masq to make the
>win95 box on the net.  I've configured ifcfg-eth0 with an IP of
>192.168.133.1, netmask=255.255.255.0, network=192.168.133.0 and
>broadcast=192.168.133.255.  Win95 box is setup to use 192.168.133.1 as
>gateway.  It's ip is 192.168.133.2 with same netmask as above.
>
>I can connect from the win95 box to the linux box with no problems.  From
>the linux box, I can connect to the net work no problems.  Just can't get
>the win95 box to talk to the net.
>
>Where I'm having trouble figuring out what's what is the
>/etc/sysconfig/network file.  I don't know what to put for GATEWAY= and
>GATEWAYDEV=.
>
>To start ip_masq, I connect to the net and then do the following:
>/sbin/depmod -a
>/sbin/modprobe ip_masq_<all the modules I want>
>/sbin/ipfwadm -F -p deny
>/sbin/ipfwadm -F -a m -S 192.168.133.0/24 -D 0.0.0.0/0
>
>
>Could someone with this setup tell me (or email me their config files) how
>to do the network file or anythign else that I might have gotten wrong?
>
>I'm using RedHat5.0 with kernel 2.0.31 and pppd 2.2.0 and modules 2.0.31.
>ipfwadm 2.3.0
>
>thanks for all your help!!
>
>
>jim
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>For daily digest info, email [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to