> Looking at the last copy of the design doc posted, ifconfig shows > IPMP groups as follows: > > ce0: ... > groupname a > ce1: .... > groupname a > ipmp0: .... > groupname a > > My problem is if I want to see what interfaces are in group ipmp0, > I need to do "ifconfig -a" (or similar) and it is hard to get the > summary picture of IPMP
As a whole, ifconfig is a lousy way to get insight into IPMP. > or similar. Maybe this is starting to edge into what ipmpstat is > meant to be used for Exactly. > When doing "ifconfig -a", we can "filter" that output to only IPv4 > or IPv6. Have you considered being able to filter on an interface > name or type, so that it is possible to do: > > ifconfig -a ipmp > > and see all of the IPMP interfaces? > Maybe this could even support "ifconfig -a ce"? > Or even "ifconfig -a group a"? > Or can I do "ifconfig `ipmpstat --group-interfaces group a`"? > Is there an output mode for ipmpstat that makes its output > easily used with other commands in Solaris? > > Really what this is trying to make up for is the inability to > easily use grep with ifconfig in a meaningful way, so whether > or not this functionality belongs in ifconfig or not, I'm not > 100% sure of. Right, I don't think it does -- and ifconfig is already hopeless. I think it would be better to come up with a new program (ipadm?) which provided a sane way to view and administer IP interfaces. > Another other issue with how ifconfig is proposed to be used > in the design doc is in removing an interface from a group. > The document has: ifconfig ce0 group "". That's been the way it's worked since IPMP was introduced in Solaris 8, and we cannot change it at this point. -- meem _______________________________________________ networking-discuss mailing list [email protected]
