[766] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: IP masquerade problem

daemon@ATHENA.MIT.EDU (Walter B Kulecz PhD)
Thu Oct 24 14:35:35 1996

Date: Thu, 24 Oct 1996 13:24:30 -0500 (CDT)
From: Walter B Kulecz PhD <wally@wahine.jsc.nasa.gov>
To: redhat-list@redhat.com
cc: ray@bigdog.fred.net
In-Reply-To: <199610241556.LAA19882@redhat.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

From what you've posted the problem is you have machine1 as its own 
gateway.  Set this to "none" and let pppd setup a default route to your 
ISP which *is* the gateway for machine1 and the masqueraded machine2.

I found the netconfig box a bit confusing, the gateway variable is as the
destination in the "route add default gw".  Since you have a default 
route pppd writes an error message to a log somewhere and ignores your 
defaultroute option in the pppd command.  You did rebuild te kernel with 
all the firewall/forwarding/masquerading options as shown in the HOWTO, 
correct?

If the gateway address you get on the otherend when connected to fred.net 
via ppp is always the same you could enter its IP number into the 
gateway box on machine1.

Hope this helps get you going.

--wally.



--
  PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-HOWTO 
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post