Sowmini.Varadhan at Sun.COM writes: > On (03/10/09 11:14), James Carlson wrote: > > > > One consideration is what to do with "ndd -set" on the global > > variable. With ip_forwarding, in addition to the global flag used for > > subsequent new interfaces, we also go out and blast all of the > > existing interfaces to the new setting. > > > > That makes the design more like my 5(a): the interface just has a > > simple copy of the value created at plumb time, and you can set it on > > a per-interface basis if you want. > > > > I dunno if that's better or worse than 5(b). It might be close to the > > noise. > > I like 5(b) better. If someone has been knowledgable enough > to set the per-interface version of the prop, ndd should not go > and clobber that.
OK. > And if the desired objective is to reset the value on all the > interfaces, then they should use 'ipadm set-prop <..>' with the > appropriate incantation for the wildcard interface. > > What I'm unsure of is whether the incantation for the wildcard interface > should adjust the ndd-global version of the prop as well. dladm has a "reset-linkprop" for exactly this reason. -- 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
