From owner-freebsd-questions Thu Jul 20 23:46:53 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id XAA10909 for questions-outgoing; Thu, 20 Jul 1995 23:46:53 -0700 Received: from emerald.oz.net (emerald.oz.net [198.68.184.2]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id XAA10901 for ; Thu, 20 Jul 1995 23:46:51 -0700 Received: from wsantee.oz.net by emerald.oz.net via ESMTP (8.6.12/930416.SGI) id GAA20768; Fri, 21 Jul 1995 06:44:12 GMT Received: (from wsantee@localhost) by wsantee.oz.net (8.6.11/8.6.9) id XAA00559; Thu, 20 Jul 1995 23:44:21 -0700 From: Wes Santee Message-Id: <199507210644.XAA00559@wsantee.oz.net> Subject: Re: Demand dial with IIJ PPP - ANSWER! (LONG) To: rsnow@legend.txdirect.net (Rob Snow) Date: Thu, 20 Jul 1995 23:44:20 -0700 (PDT) Cc: obrien@leonardo.net, freebsd-questions@FreeBSD.org In-Reply-To: from "Rob Snow" at Jul 21, 95 00:32:10 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1925 Sender: questions-owner@FreeBSD.org Precedence: bulk Rob Snow sez: > > On Thu, 20 Jul 1995, Mike O'Brien wrote: > > pmdemand: > > set debug phase chat lcp > > set phone 5551212 > > set login "TIMEOUT 5 ogin:-\\r-ogin: YouWish word: FatChance" > > set timeout 600 > > set ifaddr 198.147.97.0/24 198.147.97.1/24 > > add 0 255.255.255.0 HISADDR > ^^^^^^^ > > I hadn't seen this before so I decided to give it a try. > It starts but with the message: > > No Route to Host I got this too. However, I think I have finally figured it out. The key from Mike's original e-mail was that you needed to have the client address in the same net as the server. My address doesn't conform to this requirement, so it wasn't setting a default route. I had a route from the server to me, but not from me to the server. My final solution, which appears to be working, was to edit the /etc/sysconfig file and do two things: 1) Add a default route entry from me to my server (I got away with using the FQDN because the server IP is stored in my /etc/hosts): # Set to the host you'd like set as your default router, or NO of none. defaultrouter=gateway.oz.net 2) Turn off all routing software since I'm strictly a leaf on the network: # These are the flags you'd like to start the routing daemon with routedflags=NO # Set to YES if you want to run gated gated=NO Those two changes, coupled with the changes that Mike suggested, has so far, worked for me. I have routing going both ways, and since I don't have routed/gated running, the routes never get axed due to lack of incoming RIP packets coming in when the link is down. Hope that helps someone. Cheers, -- ( -Wes Santee | You're never dead 'til you're ) ( wsantee@wsantee.oz.net | out of quarters. --InSoc ) ( http://www.oz.net/~wsantee \------------------------------ ) ( O S / 2 W A R P F r e e B S D )