[crossbow-discuss] dladm - names with "-"

James Carlson carlsonj at workingcode.com
Wed Aug 5 09:16:21 PDT 2009


Peter Memishian wrote:
>  > I think the better argument here (rather than just focusing on '-') is
>  > to talk about DNS requirements.  Obviously, IP isn't the only reason to
>  > have datalinks, but it's an important one, and if people want to set the
>  > datalink name to match the host name used as an address on that link,
>  > then matching up the character set would be useful.
> 
> ... are you envisioning that the customer would also append e.g. ".0" to
> their interface/datalink name?

No.  Though that'd apparently now be legal with the new Clearview changes.

>  Short of that, '-' is not the main
> stumbling block to having datalink names and hostnames match.

I'm not sure I understand what you're saying.

"foo-bar" is a legal host name.  However, it's not a legal datalink
name, nor is "foo-bar0" legal, because "-" (dash) is allowed in DNS host
names but not in Solaris datalink names.  Thus, it's possible to have a
host name assigned that cannot be used as the actual datalink name.

I don't see what "." has to do with it.

-- 
James Carlson         42.703N 71.076W         <carlsonj at workingcode.com>



More information about the crossbow-discuss mailing list