On Wed, 2009-03-25 at 15:39 -0400, Sowmini.Varadhan at Sun.COM wrote: > 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, PPP has its own protocol to do that called IPCP, and it operates over the serial link to its peer. It doesn't use IP to obtain IP address information. > 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". I don't think we should be designing one of the most visible and important administrative interfaces in the operating system around pppd's "plumbed" option. Seriously. > I'm not sure how clustering uses the plumbed interface (working on > finding this information out), but we don't want people to be faced > with a choice between hack1 and hack2. If it's truly a requirement, then I'd suggest having an interface property that has the semantics of "always plumb IPv4 regardless of the addresses you have", and similar for IPv6. Given that it's an edge case and a hack, having this be part of the top-level create-interface subcommand would be a shame. -Seb
