On Thu, 16 Apr 1998, Paul Breedlove wrote:
> machine either. The ip address that Trumpet see's is correct, as well as
> the netmask, gateway, etc.
> 
> It seems like it is a routing problem. I have tried the proxyarp
> parameter with pppd, to no avail. Currently pppd is being executed with

An alternative is to set up a masqueraded connection. That's probably
safer anyhow (about the only time you DON'T want a masqueraded connection
is if you're doing remote "X", where "X" won't know how to get back to
you). For that, first compile IP masquerading into your kernel. Do the
'insmod' on the IP masq modules (ftp, etc.). Then in /etc/ppp set up an
ip-up.local file and do the appropriate 'ipfwadmin' masquerading commands,
like so: 
 ..................  
# $1 is set to the TTY device of the incoming connection. 

case $1 in
  ttyC0) 
     /sbin/ipfwadm -F -a m -S 192.168.0.10 -D 0.0.0.0/0
  ttyC1)
     /sbin/ipfwadm -F -a m -S 192.168.0.11 -D 0.0.0.0/0
...................etc.........
 where 192.168.0.10..xx are the addresses you assigned to your PPP ports,
and don't touch 0.0.0.0/0 (that's saying "ship stuff from there through
your default route").

Then in your ip-down.local you'll need to do the same thing, except with a
'-d' to delete the IP forwarding rather than an "-a" to add it. This is in
RH 5.0. RH 4.2 may have just had ip-down rather than ip-down.local --
check your /etc/ppp directory if you're still on 4.2. 

Eric Lee Green   [EMAIL PROTECTED]          Executive Consultants
Systems Specialist               Educational Administration Solutions
 "We believe Windows 95 is a walking antitrust violation" -- Bryan Sparks


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to