Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2002 07:33:26 -0400 (EDT)
From:      Ross Lippert <ripper@eskimo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/40841: the PPP primer gives a very wrong ppp.conf example, I think
Message-ID:  <200207211533.IAA04751@eskimo.com>

next in thread | raw e-mail | index | archive | help

>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 <your name server's addr here>

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: <ripper@laverne.home>
Received: from laverne.home (localhost [127.0.0.1])
	by laverne.home (8.12.3/8.12.3) with ESMTP id g6JBXSKv090450
	for <FreeBSD-gnats-submit@freebsd.org>; 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" <ripper@laverne.home>
Reply-To: "Ross A. Lippert" <ripper@laverne.home>
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




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