From owner-freebsd-doc Sun Jul 21 8:40:21 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 448F937B400 for ; Sun, 21 Jul 2002 08:40:06 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4D6743E67 for ; Sun, 21 Jul 2002 08:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6LFe2JU092919 for ; Sun, 21 Jul 2002 08:40:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6LFe2dR092918; Sun, 21 Jul 2002 08:40:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3796F37B400 for ; Sun, 21 Jul 2002 08:33:33 -0700 (PDT) Received: from mx1.eskimo.com (mx1.eskimo.com [204.122.16.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F59943E64 for ; Sun, 21 Jul 2002 08:33:32 -0700 (PDT) (envelope-from ripper@eskimo.com) Received: from eskimo.com (ripper@eskimo.com [204.122.16.13]) by mx1.eskimo.com (8.9.1a/8.8.8) with ESMTP id IAA03941 for ; Sun, 21 Jul 2002 08:33:30 -0700 Received: (from ripper@localhost) by eskimo.com (8.9.1a/8.9.1) id IAA04751; Sun, 21 Jul 2002 08:33:30 -0700 (PDT) Message-Id: <200207211533.IAA04751@eskimo.com> Date: Fri, 19 Jul 2002 07:33:26 -0400 (EDT) From: Ross Lippert To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/40841: the PPP primer gives a very wrong ppp.conf example, I think Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 40841 >Category: docs >Synopsis: the PPP primer gives a very wrong ppp.conf example, I think >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 21 08:40:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Ross A. Lippert >Release: FreeBSD 4.6-RELEASE i386 >Organization: >Environment: System: FreeBSD laverne.home 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11 06:14:12 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 >Description: It is my understanding, from some emails I say a few months ago that FreeBSD recently made 127.x.x.x addresses entirely local in order to comply with some RFC someone found as well as some firewall software users wanted to use. The issue was that traffic to 127.x.x.x addr's should not leave the machine ever. This makes the 127.x.x.x numbers very bad to use as bogus addr's in the PPP primer. I just tried out PPP with a conf in which set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0 add 0 0 127.2.2.2 and got some very nasty messages about routes already existing and other weirdness when I tried using PPP. The dialup connection would occur, but I could not ping anything, even by IP addr. >How-To-Repeat: Read the PPP primer, and see the example ppp.conf file in section 3.2.1. Use that example as the basis for your ppp.conf file, i.e. have the lines set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0 add 0 0 127.2.2.2 appropriately. % ppp -ddial myisp % ping and you will not get good pinging. >Fix: Use different IP addr's as the bogus ones. Since 10.x.x.x is bogus according to RFC 1918, I suggest set ifaddr 10.1.1.127/0 10.2.2.127/0 255.255.255.0 add 0 0 10.2.2.127 This fixed it for me. That is, the use of 127.x.x.x as a bogus addr in the PPP Primer should be changed to something bogus, but not that bogu  -=- MIME -=-  This is a MIME-encapsulated message --g6JG28Kx093456.1027094528/laverne.home ********************************************** ** THIS IS A WARNING MESSAGE ONLY ** ** YOU DO NOT NEED TO RESEND YOUR MESSAGE ** ********************************************** The original message was received at Fri, 19 Jul 2002 07:33:28 -0400 (EDT) from localhost [127.0.0.1] ----- Transcript of session follows ----- 451 freebsd.org: Name server timeout Warning: message still undelivered after 4 hours Will keep trying until message is 5 days old --g6JG28Kx093456.1027094528/laverne.home Content-Type: message/delivery-status Reporting-MTA: dns; laverne.home Arrival-Date: Fri, 19 Jul 2002 07:33:28 -0400 (EDT) Final-Recipient: RFC822; FreeBSD-gnats-submit@freebsd.org Action: delayed Status: 4.4.3 Last-Attempt-Date: Fri, 19 Jul 2002 12:02:08 -0400 (EDT) Will-Retry-Until: Wed, 24 Jul 2002 07:33:28 -0400 (EDT) --g6JG28Kx093456.1027094528/laverne.home Content-Type: message/rfc822 Return-Path: Received: from laverne.home (localhost [127.0.0.1]) by laverne.home (8.12.3/8.12.3) with ESMTP id g6JBXSKv090450 for ; Fri, 19 Jul 2002 07:33:28 -0400 (EDT) (envelope-from ripper@laverne.home) Received: (from ripper@localhost) by laverne.home (8.12.3/8.12.3/Submit) id g6JBXQAF090449; Fri, 19 Jul 2002 07:33:26 -0400 (EDT) Date: Fri, 19 Jul 2002 07:33:26 -0400 (EDT) Message-Id: <200207191133.g6JBXQAF090449@laverne.home> To: FreeBSD-gnats-submit@freebsd.org Subject: the PPP primer gives a very wrong ppp.conf example, I think From: "Ross A. Lippert" Reply-To: "Ross A. Lippert" Cc: X-send-pr-version: 3.113 X-GNATS-Notify: MIME-Version: 1.0 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message