Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 1997 20:54:54 -0500 (EST)
From:      "Joshua T. Hogle" <hogle@ecn.purdue.edu>
To:        questions@freebsd.org
Subject:   PPP Routing Problems
Message-ID:  <3.0.32.19970714205726.0092fc50@ce.ecn.purdue.edu>

Next in thread | Raw E-Mail | Index | Archive | Help
OK, I've searched and searched and am really stumped on this one.

=====

SERVER - Personal FreeBSD 2.2.2 machine with a 3c509 net card connected to
the internet
running pppd.  Below are my /etc/ppp/options and /etc/ppp/options.ttyd1 files:

/etc/ppp/options:
crtscts
passive
modem
proxyarp
+pap

/etc/ppp/options.ttyd1:
domain ecn.purdue.edu
128.46.139.212:128.46.139.213

GATEWAY=YES option in /etc/rc.conf enabled

======

CLIENT #1 - Windows NT Workstation 4.0
   I can setup NT and dial into my FreeBSD box and connect to the net via
PPP with
no problems at all.  Routing and everything seems to be okay as I can FTP,
telnet,
etc.

CLIENT #2 - FreeBSD 2.2.2
   This is where I run into a problem.  I'm using iijppp to connect to my
FreeBSD
machine running pppd.  I dial and connect, and the prompt changes from ppp
to PPP,
so it looks as if I have connected with PPP.  Now, if I'm running "routed"
on the
server (NOT THE CLIENT), I see a message like "punt:  RTM_ADD_GATEWAY
unable to add"
or something.  Figuring there may be a problem, I disabled routed (I've
tried gated too)
on the server.  Neither routed or gated are running on the client.  If I
have a 
route like:
   128.46.139.213   127.0.0.1   BLAH BLAH BLAH
I can ping 128.46.129.213 which makes sense.  Without it, I can't ping it
which also
makes sense.  The default route is setup to be 128.46.139.212.  In
addition, there is
a route from 128.46.139.213 to 128.46.139.212.  Everything makes since to
me as far
as that goes.  The problem is that I cannot connect to anything outside of
my machine.
I try pinging 128.46.139.212 and no response.  In addition, I try pinging a
server
such as 128.46.139.7 (a server where I work which I know is up) and also
get no response.
Below are my ppp.conf and ppp.linkup files.  I really have no idea what's
going on
and have spent quite a few hours on this one.  Any help or suggestions
would be greatly
appreciated!

/etc/ppp/ppp.conf:
default:
   set device /dev/ttyd1
   set speed 19200
   disable lqr
   deny lqr
   set dial "......"

dulles:
   set openmode active
   enable proxy
   set phone ...
   accept pap
   set authname hogle
   set authkey ...
   set ifaddr 10.1.1.1/0 10.2.2.2/0 255.255.255.0
   add 0 0 10.2.2.2

/etc/ppp/ppp.linkup:
MYADDR:
   delete ALL
   add 0 0 HISADDR


Thanks!




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?3.0.32.19970714205726.0092fc50>