IP Masq on RH 4.2 works but not on 5.0?

IP Masq on RH 4.2 works but not on 5.0?

Post by Tad » Sat, 23 May 1998 04:00:00



I have been happily using an IP Masq'd RedHat 4.2 box for quite some time. I
got the HOWTO and set it up without a hitch. The other day, I decide to
upgrade to 5.0 and to my surprise I cannot get IP Masq to work. As far as I
can tell, everything is set up exactly the same. I switched back to 4.2 and
it works perfectly. Anybody else experience this problem?

Tad

 
 
 

IP Masq on RH 4.2 works but not on 5.0?

Post by Tad » Sun, 24 May 1998 04:00:00


It turns out FORWARD_IPV4 was set to "false" in my /etc/sysconfig/network
file. I simply changed this to "true" and everything now works.

Tad


t>...

Quote:>I have been happily using an IP Masq'd RedHat 4.2 box for quite some time.
I
>got the HOWTO and set it up without a hitch. The other day, I decide to
>upgrade to 5.0 and to my surprise I cannot get IP Masq to work. As far as I
>can tell, everything is set up exactly the same. I switched back to 4.2 and
>it works perfectly. Anybody else experience this problem?

>Tad


 
 
 

1. Problem with scripts that work on RH 4.2 but not RH 5.2

 I have just recently installed RH 5.2 on my computer at home and
when I try to run script files that work on my computer at work (RH 4.2)
I get error messages.
 For example, the when I run the following script (I have only inclded a
portion of it for brevity) I get an error message that does not like the
then and endif right near the beginning.

#!/bin/csh -f
###
###  LRI C Shell initiatization
###
###     ALL LRI SOFTWARE PEOPLE SHOULD SOURCE THIS!!!
###

###
###  If you get sick of seeing warning messages, just do a
###  "set lri_quiet" before you source this script and it'll shut up.

if ($?did_lri_cshrc_v1) then
        echo Already sourced this LRI init file, skipping
        exit 0
endif
set did_lri_cshrc_v1
if (! $?lri_quiet) set be_verbose

### Set the main project directory; most of the time this will be in AFS
### On nav1, the standalone LRI_ROOT is /home/nomad.  Fill in defaults for
### other systems as appropriate.

set roots = (/afs/cs/project/lri-7 /home/nomad)

 Now it works perfectly fine at work. I am running the tcsh shell in
both places.

 I also get problems when trying to run gmake files, which again work on
RH 4.2 but not 5.2. This one is even more strange since when I get to
the line ifndef LRI_ROOT it always seems to be true, even when I put
a line LRI_ROOT:=/home/sjm right before it.

 If anyone has any suggestions as to what could be wrong or what I
can do to try and narrow the probelem down please let me know. I feel
that it is probably a setup problem since I have just recently installed
RH 5.2 on my computer (note it was a fresh install and not an upgrade).

 Thanks.

Stewart

2. windows -> linux telnet connection problem...

3. RH 5.0 rpms usable under RH 4.2?

4. problem with setup program

5. RH 4.2 -> RH 5.0

6. PPPD Problem - Serial link is not 8-bit clean?

7. RH 5.2 IP Masq Not Working

8. removing ide hd device SCO3.2r4.2

9. RH 5.0 & IP Masq questions

10. Redhat 4.2, IP masq, broke??

11. RedHAt 5.0 doesn't play cd music, but RH 4.2 will

12. easy upgrade RH 4.2 => 5.0?

13. RH 4.2 -> 5.0 = Xdisplay 6 pixels high