On Sun, 4 Jul 1999, Brian Boutel wrote:
|I wrote:
| How can I send a 0.0.0.0 local ip address to my isp?
|
|The problem was about an ISP who acks any requested local address except
|0.0.0.0.
|
|I've done a bit more work on this, and have a suggestion for a patch to ppp.
|
|The issue only arises in demand mode. If pppd is coming up at the same
|time as the link, an initial local ip address of 0.0.0.0 specied on the
|command line is ok. In demand mode, an interface has to be set up with
|some valid ip address as soon as pppd starts, long before the link is up.
|0.0.0.0 will not do, if a non-zero address is specifed it will be used,
|and if no address is specifed, the default is used. When the link is
|brought up, the request for a local ip address uses whatever address the
|interface is using, and this is where the trouble starts.
|
|So, I suggest that if demand and ipcp-accept-local are both set, and no
|initial local ip address is specified, although the interface can be set
|up with the default address, it would do no harm, and in my circumstances
|it would be helpful, to issue the initial request with 0.0.0.0 rather than
|the default ip address.
|
|Is this reasonable? What's the process for getting this considered for
|inclusion?
I'd say something needs to be done since you should be able to send 0.0.0.0
in the IPCP IP-address option, demand or not. It is the standard way that
one PPP implementation asks another to supply the address for the local
system.
The pppd maintainer is Paul Mackerras <[EMAIL PROTECTED]>, who
is a frequent contributor to this mailing list.
I'd actually stumbled around this problem when experimenting to learn
what is needed to make demand dialing work. I didn't realize pppd was
refusing to accept 0.0.0.0 for the IP-address option until now though.
---
Clifford Kite Not a guru. (tm)
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]