Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Sep 1997 23:12:00 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        Lanny Baron <beef@tht.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: serious ppp problems 
Message-ID:  <199709272212.XAA05561@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Fri, 26 Sep 1997 19:29:16 EDT." <Pine.BSF.3.96.970926191921.256A-700000@beef.tht.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
>   Hello, the files attached are all my ppp related files renamed so as not
> to interfere with your system.
> 
>  The problem is this. For over 3 weeks, I constantly have problems getting
> out on the net. I do not have any problem connecting to my ISP. The ISP
> has 2 portmasters with the ip's of 209.47.145.10 and 209.47.145.11
> respectivley. I have a static IP of 209.47.145.213. If I happen to
> connect to 206.47.145.10, the only thing I must do each time is: route add
> default 209.47.145.10. But if I connect to 209.47.145.11 even though I
> would do: route add default 209.47.145.11, I am unable to go out to the
> network.
> 
>  I can ping the isp's machines and that is it, on 209.47.145.11. My ISP
> can't help me. I have spent a fortune calling FreeBSD tech support (3000
> miles away) and have been told my them, that I should email here. 
> 
>  The actual gateway for the ISP is 209.47.145.1 

This info is bogus - you only care about who you connect to :-)

> I would be very grateful if someone who reads this can figure out what the
> problem is. 
> 
>  Sincerely,
> 
>  Lanny Baron
>  beef@tht.net
[.....]
defaultrouter="209.47.145.1"		# Set to default gateway (or NO)."		# Set to default

This is bogus.  It's not required (assuming the other problem is 
fixed below).

[.....]
 setifaddr 209.47.145.213/0 127.2.2.1/0 255.255.255.0
 add 0 0 127.2.2.1/0
[.....]

You should have "set ifaddr" (missing space).  Without this, your 
source/target IP addresses aren't set.  This means that -auto, -ddial 
and -background will break.

The second line fails 'cos you've already got a default (from 
/etc/rc.conf).  You also shouldn't have the "bit" specification on 
this line.

I'm not sure why things aren't corrected from your /etc/ppp.linkup 
file - this should delete the default route and make a default 
pointing at whatever you negotiated.

I would suggest changing defaultrouter= so that it's blank in rc.conf 
and making ppp.conf say:

 set ifaddr 209.47.145.213/0 127.2.2.1/0 255.255.255.0
 delete ALL
 add 0 0 127.2.2.1

You may also want to

 disable pred1

It's possible that the non-working portmaster tries to negotiate a 
CCP.  There was a recent bug where this would cause a standoff and 
ppp would send PRED1 packets even though the other side said it 
didn't want them.

If this doesn't help, have a look at http://www.awfulhak.org/ppp.html.  
There are links to all the current docs, along with the latest copy 
of ppp.  Check out the FAQ for suggestions on how to diagnose any 
problems.

Cheers.
-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <bri@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....





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