Map a Windows network folder using IPv6

Follow these steps when specifying a literal IPv6 address in a UNC path:

  1. Replace any colon (:) characters with a dash (-) character.
  2. Append the text .ipv6-literal.net to the IP address.

e.g.

net use x: \\fe80-0-0-0-a0b6-99c9-2f6c-5759.ipv6-literal.net\admin$

or in the map drive dialog:

\\fe80-0-0-0-a0b6-99c9-2f6c-5759.ipv6-literal.net\admin$

The lazy way - 2001--5s64.ipv6-literal.net. That is, change all colons to dashes; change % to s (for "scope"), and append the Microsoft's special .ipv6-literal.net domain.

The smart way would be to set up proper hostnames for these machines. Windows already does NetBIOS name resolution, DNS would be even better. As fallback, there also is /etc/hosts – although Windows calls it %SystemRoot%\System32\drivers\etc\hosts. Add a line to it, such as:

2001::4   vm5.example.com

(Disadvantage: Cannot specify an address scope. But your example addresses are global anyway, so shouldn't need one...)