Sowmini.Varadhan at Sun.COM writes:
> On (03/25/09 15:30), Sebastien Roy wrote:
> > 
> > LCP is a link-layer configuration protocol, and is not related to IP.
> > Are you perhaps thinking of the pppd "plumbed" option?  This is kind of
> > a hack to begin with, but I'm sure you could follow that hack with
> > another, which is to create a 0.0.0.0 address using ipadm...
> > 
> 
> ppp needs to plumb the interface, actually send and receive packets
> on the interface, and based on that packet exchange, determine what
> IP address(es) to configure. 

No, it doesn't.

When PPP negotiates a link, it sends and receives PPP messages (not IP
datagrams) using the PPP kernel interfaces.  They're not at all
related to IP.

> Yes, we could do the 0.0.0.0 hack, but that sends the message, "cut/paste
> our plumbing code, or use the 0.0.0.0 hack".

No such hack is needed at all for PPP.  PPP isn't IP.

It's only DHCPv4 (and of course BOOTP) that needs to pull itself up by
its own bootstraps; those protocols use IP datagrams to negotiate the
use of an IP address, raising the chicken-and-egg problem currently
solved by the 0.0.0.0 hack.  (But once solved by direct DLPI
interfaces.)

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to