Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Paul Tomblin <ptomblin@xcski.com>
To: axp-list@redhat.com
Subject: Re: help on IP masquerading on AS4/200 w RH5.0 kernal v2.0.34
Date: Tue, 23 Jun 1998 08:11:54 -0400	[thread overview]
Message-ID: <19980623081154.O19844@xcski.com> (raw)
In-Reply-To: <Pine.SUN.3.96.980622212438.28386A-100000@waltz>; from Darren Kruger on Mon, Jun 22, 1998 at 09:40:10PM -0700

Quoting Darren Kruger (darrenk@rahul.net):
> I have been for some time trying to get IP masquerading working on my
> alphastation.  I started playing with v4.2, but have upgraded in an effort
> to recompile the kernal with all the correct options.  When i bring up a
> ppp connection, I can not ping throught it, nor anything else.  I'm pretty
> sure it's somewhere in my config, though i know not where.  
> 
> can anyone give me some hints on where I'm going wrong?  thanks in
> advance. 
> 
> my local network is 10.0.0.0/24, the alpha's eth0 interface has an ip
> address of 10.0.0.113 (which i'm using as the gateway for my windoze 95
> machine.)
> 
> to enable masquerading, i'm running the following commands:
> ipfwadm -F -p deny
> ipfwadm -F -a -m -S 10.0.0.0/24 -D 0.0.0.0/0 -V 10.0.0.113
> 
> in /etc/sysconfig/network i have the following line:
> FORWARD_IPV4=true
> 
> in my .config file, i have the following options:
> CONFIG_FIREWALL=Y
> CONFIG_NET_ALIAS=Y
> CONFIG_INET=Y
> CONFIG_IP_FORWARD=Y
> CONFIG_IP_MULTICAST=Y
> CONFIG_SYN_COOKIES=Y
> CONFIG_IP_FIREWALL=Y
> CONFIG_IP_FIREWALL_VERBOSE=Y
> CONFIG_IP_MASQUERADE=Y
>  
> CONFIG_IP_MASQUERADE_ICMP=Y
> CONFIG_IP_ALWAYS_DEFRAG=Y
> CONFIG_IP_ACCT=Y
> # CONFIG_IP_ROUTER is not set
> CONFIG_NET_IPIP=M
> CONFIG_IP_ALIAS=M

This looks pretty much what I've got (except I'm using 192.168.1.0/24 as my
source).

You also need to set up your other machine so that it uses your linux box's
ethernet ip (NOT the PPP ip, because it doesn't know it) as the default
gateway.

You said you can't ping through it.  Do you mean you can't ping from the other
computer out through the linux box?  Have you tried pinging by number instead
of by name?  It's quite probable that you don't have DNS set up right, that's
what kills most people.  I run a named on my linux box so that the other
machines on the network can get name service within the local network even
when not connected.  So I have my other boxes list that as their primary DNS,
and then list the DNSes that my ISP provides as secondaries.  Works pretty
well - I just added a Windows 95 machine to the local network at home, and it
worked pretty much right away.  (I had two linux boxen and a Mac on it before,
and I'm adding another Mac as soon as the ethernet card comes)  The youngest
daughter was thrilled when she started whining "I need to look up something on
the web" when her mother was using the Mac and I was using the Linux box, and
I just pointed to the Windows box and said "Internet Exploder".

-- 
Paul Tomblin, ptomblin@xcski.com.
"It's just a cardboard model.  Fake security"
"Jeez, that's a first for Microsoft"
   - User Friendly


      parent reply	other threads:[~1998-06-23 13:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-23  4:40 help on IP masquerading on AS4/200 w RH5.0 kernal v2.0.34 Darren Kruger
1998-06-23  5:10 ` B. James Phillippe
1998-06-23  5:59   ` help on IP masquerading on AS4/200 w RH5.0 kernal v2.0.34y Harry Mangalam
1998-06-24  2:18   ` help on IP masquerading on AS4/200 w RH5.0 kernal v2.0.34 Darren Kruger
1998-06-23 12:11 ` Paul Tomblin [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox