Peter Memishian wrote:

...
> 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.

Program or suite of programs?

Should we try develop something for networking that has a similar
level of functionality to the tools for processes?  pkill, pgrep, etc.

So rather than doing "ifconfig -a4 up", you might do something like:
ifgrep inet | ipadm up

Darren

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to