Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Feb 2000 12:16:02 -0500
From:      "Fisch, Eric" <efisch@kpmg.com>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        freebsd-net@freebsd.org
Subject:   RE: PPP Gateway Routing Problem 
Message-ID:  <8389C74A65EFD111B03800805FA7658F06D71F6A@USDALEXC01>

next in thread | raw e-mail | index | archive | help
Yes.. Eye-openers..

As it turns out, DHCP was (a big part of) the problem.  Before starting ppp,
a 'netstat -nr' would indicate the gateway IP address as the "default"
route.  This worked great for all dhcp requests.  When ppp started, however,
it changed the default route to the ISP's IP address.  So, network clients
would properly get an IP address from their dhcp-requesting broadcast, but
then they would see a default route to an IP address they could never reach.
By using my dhcpd.conf to force clients to have the gateway be the default
route, all of the routing problems worked out.  The clients route everything
to the gateway and the gateway's default route to the ISP picks it up from
there. 

Now my problem is that some service is preventing my ppp from timing out
properly.  When the system boots, it connects to the ISP (I don't know why).
The ppp.conf file is set to timeout at 10 minutes, but it never does.  I
have to pick up the phone receiver to disrupt traffic and force a
disconnect.  Interestingly, it does NOT reconnect until I manually force an
out-bound packet (ftp, telent, ping, etc.), and when it does connect, it
stays connected until I pick up the receiver again.  The hunt goes on...

Thanks for all your suggestions,
Eric

-----Original Message-----
From: Brian Somers [mailto:brian@Awfulhak.org]
Sent: Friday, February 11, 2000 3:23 PM
To: Fisch, Eric
Cc: freebsd-net@FreeBSD.ORG; brian@hak.lan.Awfulhak.org
Subject: Re: PPP Gateway Routing Problem 


> I am having what appears to be a routing problem with a PPP gateway and am
> hoping someone can shed some light on the issue.  I have a small network
of
> windows/UNIX systems behind a FreeBSD gateway box.  The gateway box is
> providing DNS and DHCP services to the other systems without any problem.
I
> have tried to set up the gateway box to do PPP-on-demand for the entire
> network with limited success.  PPP works flawlessly on the gateway box.
> When I am on the "inside", however, I get nothing.  I am able to connect
to
> the gateway, but no further.  Interestingly enough, when I "ping" a system
> from the inside box, I get proper name resolution, but "Host is
Unreachable"
> errors as well.  This leads me to believe that I have a routing issue from
> the gateway to the inside boxes.  I think I am missing something in my
> rc.conf settings.  Heck, if I had any clue what was wrong I would not be
> posting.
[.....]
>    gateway_enable="YES"

Aww, that was my first suggestion !

Your best bet is probably to run tcpdump on your internal interface 
to ensure the packets are getting that far.  If they're not, you need 
to add a default route to your dhcpd config.

If packets are getting that far, enable tcp/ip logging in ppp and see 
if the packets are getting that far - proving that you're acting as a 
gateway.  If the packets get that far, enable physical logging to 
ensure that they're being written to the link.

Any eye-openers ?
-- 
Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
*****************************************************************************
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. 

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. When addressed to our clients any opinions or advice
contained in this email are subject to the terms and conditions expressed in
the governing KPMG client engagement letter.         
*****************************************************************************


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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