Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jul 1995 10:26:59 -0400
From:      Jim Leppek <jleppek@harris.com>
To:        joerg_wunsch@uriah.heep.sax.de
Cc:        freebsd-current@freefall.cdrom.com
Subject:   Re: ppp
Message-ID:  <199507021426.KAA00305@cyclops>
In-Reply-To: <199507020712.JAA03111@uriah.heep.sax.de> (message from J Wunsch on Sun, 2 Jul 1995 09:12:50 %2B0200 (MET DST))

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

Yes, my provider wants to see 0.0.0.0 during the initial negotiation
phase however thats the problem. A 0.0.0.0 address gets converted to
192.0.0.1 within the ppp even if you set ifaddr 0 0.
This occurs in ipcp.c around line 164 per my earlier mail message.
It is this forced ( and hidden ) conversion that I question.
When I set my initial address to 0.0.0.0 I expect ppp to use it.

I definitely like the new ppp and have stopped using my old pppd
scripts by this conversion of 0.0.0.0 is a definite gotcha IMHO.

I removed the questionable src lines and rebuilt ppp so all
is well for me but for anyone not comfortable with tweeking sources
or tracking ip negotiation bugs I suspect it would have taken
a bit of time.


Jim Leppek

   From: J Wunsch <j@uriah.heep.sax.de>
   Date: Sun, 2 Jul 1995 09:12:50 +0200 (MET DST)
   Cc: freebsd-current@freefall.cdrom.com
   Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
   X-Phone: +49-351-2012 669
   X-Mailer: ELM [version 2.4 PL23]
   Mime-Version: 1.0
   Content-Type: text/plain; charset=ISO-8859-1
   Content-Transfer-Encoding: 8bit
   Content-Length: 913       

   As James Leppek wrote:
   > 
   > I suspect the fact that 0.0.0.0 was invalid is why my provider chose it.
   > This allows them to detect that someone must be provided an IP
   > (although I would not mind if they would give me a permanent IP :-) )

   Perhaps he has been refering to the _PPP_ setup.  I've been playing
   with PPP for the first time yesterday when installing 2.0.5 on my
   notebook (and i've been impressed about the easyness! :).  I think
   your provider wants you to use 0.0.0.0/0 as your initial adress,
   meaning ``any IP address is acceptible'' (the trailing /0 means ``I
   insist on 0 bits of this address to be used.'')

   But this is only the initial address to the IPCP layer, the actual
   IP address will be negotiated, and the kernel will only see the
   correct address.
   -- 
   cheers, J"org

   joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
   Never trust an operating system you don't have sources for. ;-)




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