Sebastien Roy wrote:

> Darren.Reed at Sun.COM wrote:
>
>> My apologies, I read "link name" as referring to the name
>> of the physical link that would support the tunnel, rather
>> than just the name of the tunnel link.
>
>
> No problem.  So, what do you think about requiring link names? :-)


I think link names should be optionally specified and if they aren't
then dladm uses the name "ip.tun" as the base name.

I also think there should be a "automatic" or "dynamic" mode of
operation, so that dladm always succeeds in creating a name,
regardless of what names already exist or don't exist.

In all cases the output of a successful run of dladm like this
should include the interface name just created, so that we can
do something like:

nicname=$(dladm create-iptun -s foo -d bar auto|cut -f1 -d' ')

or similar.  I'm tempted to suggest that it should be dladm that
assigns the instance number (trailing digit(s) of the nicname),
regardless of what the user supplies.

Darren


Reply via email to