From owner-freebsd-questions Sat Sep 27 15:48:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA17622 for questions-outgoing; Sat, 27 Sep 1997 15:48:11 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA17573 for ; Sat, 27 Sep 1997 15:47:58 -0700 (PDT) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id XAA05561; Sat, 27 Sep 1997 23:12:00 +0100 (BST) Message-Id: <199709272212.XAA05561@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: Lanny Baron cc: questions@FreeBSD.ORG Subject: Re: serious ppp problems In-reply-to: Your message of "Fri, 26 Sep 1997 19:29:16 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 27 Sep 1997 23:12:00 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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 , , Don't _EVER_ lose your sense of humour....