alex zhang wrote:
> Hi, I have some questions about the ncu:
> 1, for Automatic ncp, if I create a link with such command as 
> "ifconfig bge0:1 plumb",
>     can "nwamcfg list ncp Automatic" show the link?
>     or destroy a link with "dladm delete-phys", can Automatic ncp show 
> the change?
The ncp/ncu configuration is not limited
to the physical links (or logical interfaces)
that are present on the system. It's nwamd's
job to ensure that there are NCUs in the active
NCP for all the physical links present, but
no automatic creation or destruction occurs
after ifconfig or dladm operations. It's possible
to create NCUs that do not correspond to physical
links.
> 2. for User ncp, I saw now the ncu's name have some restriction, is 
> the ncu's name must
>     end with a number?
The restriction is that the ncu name must be a
valid link name, e.g. e1000g0, bge0 but not bge0:1.
> 3. also for User ncp, is there some restriction that user can not 
> create an ip ncu before the
>     corresponding phys ncu exist?
There shouldn't be any such restriction - if there
is, it's a bug I think.

Alan

Reply via email to