From owner-freebsd-questions Mon Jul 14 18:54:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA28099 for questions-outgoing; Mon, 14 Jul 1997 18:54:59 -0700 (PDT) Received: from ce.ecn.purdue.edu (root@ce.ecn.purdue.edu [128.46.139.7]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA28094 for ; Mon, 14 Jul 1997 18:54:57 -0700 (PDT) Received: from laguardia (laguardia.ecn.purdue.edu [128.46.174.142]) by ce.ecn.purdue.edu (8.8.5/3.8.2moyman) with SMTP for delivery to "" id UAA08943; Mon, 14 Jul 1997 20:54:54 -0500 (EST) Date: Mon, 14 Jul 1997 20:54:54 -0500 (EST) Message-Id: <3.0.32.19970714205726.0092fc50@ce.ecn.purdue.edu> X-Sender: hogle@ce.ecn.purdue.edu X-Mailer: Windows Eudora Pro Version 3.0 (32) To: questions@freebsd.org From: "Joshua T. Hogle" Subject: PPP Routing Problems Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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!