I am using RedHat 5.1 with pppd-2.3.3-4
I think you are absolutely right about the routing.
I am trying to configure a lan (very simple 3 computers including the one
with ppp) to connect to an ppp internet web server.
My default route does NOT point to the internet. How do I make it do that ?
I am using the defaultroute option but it does not seem to work.
My ppp-on has the following options:
exec /usr/sbin/pppd debug modem crtscts defaultroute /dev/cua1 38400 \
$LOCAL_IP:$REMOTE_IP \
connect $DIALER_SCRIPT
Thanks very much for responding.
----- Original Message -----
From: Jeffrey T. West <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: Sanjiv Bawa <[EMAIL PROTECTED]>
Sent: Tuesday, April 20, 1999 3:48 PM
Subject: Re: PPP setup problem
> Sanjiv,
>
> I'm new at Linux and just starting to get my feet wet with routing, but I
> just went through the same thing you're going through now. I can provide
> you with basic information, hopefully others can provide more detailed
> info. You should post the versions of Linux and ppp you're using. Your
> log files could also help identify a/the problem.
>
> 1. I've heard of default routes and I've heard of gateways, but never a
> default gateway.
>
> 2. ppp runs on both your machine and the machine you connect to. When you
> refer to 'server', do you mean your machine, or the machine you're
> connecting to?
>
> 3. I'll assume you're using ppp to connect to the Internet. If your
> default route doesn't point to the Internet after you've establised a ppp
> connection, packets destined for the Internet don't know where to go.
This
> includes packets from ping if you're tring to ping an Internet address.
>
> 4. Do you have muliple networks on your LAN (is routing taking place on
> your LAN)? If so, you may have a default route pointing to something
> (host, router) on your LAN, which you may need when you don't have a ppp
> session running. If so, leave that configuration alone and configure ppp
> so it becomes the default route only when there's a ppp connection. If
you
> do this, and you still want full access to your LAN while you're connected
> via ppp, you may need to setup static routes on your machine pointing to
> your LAN.
>
> Hope this helps, good luck,
> Jeff
>
>
>
> At 01:19 PM 4/20/99 -0500, you wrote:
> >I am using ppp on a machine that has an ethernet card hooked up to a
local
> >network. The default gateway is setup as the same IP address of the
server
> >the PPP is running on.
> >
> >When I run ppp-on it dials and seems to open a stable connection that
shows
> >up when I run ifconfig. I am almost certain that the PAP/CHAP
> >authentication also works (How can I be sure ??)
> >
> >For some reason I can't even do a ping.
> >
> >I used the defaultroute option.So, I looked at the log. It says
defaultroute
> >NOT turned on. Why ??? I can't even ping the outside world even though
the
> >connection seems to be successful.
> >
> >Please help !!!
> >
> >Thanks
> >
> >
> >-
> >To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> >the body of a message to [EMAIL PROTECTED]
> >
> >
> >
>
> Astronautics Corporation of America
> P.O. Box 523
> Milwaukee, Wisconsin 53201-0523 USA
> Phone: (414) 447-8200 x254
> E-mail 1: [EMAIL PROTECTED]
> E-mail 2: [EMAIL PROTECTED]
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]