Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 1995 23:44:20 -0700 (PDT)
From:      Wes Santee <wsantee@wsantee.oz.net>
To:        rsnow@legend.txdirect.net (Rob Snow)
Cc:        obrien@leonardo.net, freebsd-questions@FreeBSD.org
Subject:   Re: Demand dial with IIJ PPP - ANSWER! (LONG)
Message-ID:  <199507210644.XAA00559@wsantee.oz.net>
In-Reply-To: <Pine.BSF.3.91.950721001522.12460A-100000@oasis> from "Rob Snow" at Jul 21, 95 00:32:10 am

next in thread | previous in thread | raw e-mail | index | archive | help
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 )



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507210644.XAA00559>