none
'net' command with IPv6 address

    Dotaz

  • Hello!
    The problem that I have encountered is that shared disks cannot be accessed on IPv6. When i am using the following command:

    net use X: \\<IPv6 address>\admin$

    command returns error but with IPv4 address all work OK.
    What's wrong and how can I fix (if I can) this problem?
    29. června 2009 10:39

Odpovědi

  • Hi,

     

    We cannot access shares by using an IPv6 address that has a colon (:) character in the command. We need to convert the IPv6 address to the "ipv6-literal" namespace format. In the "ipv6-literal" namespace format the colon (:) symbol is converted to the dash (-) symbol and "ipv6-literal.net" is appended.

     

    In this case, please run the following command to map the drive:

     

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

     

    Thanks.

    • Označen jako odpověď Aleksander777 2. července 2009 14:54
    • Zrušeno označení jako odpověď Aleksander777 2. července 2009 14:55
    • Označen jako odpověď Aleksander777 2. července 2009 15:04
    2. července 2009 5:21
    Moderátor

Všechny reakce

  • Hi,

     

    Could you please let me know what IPv6 address you are using to access the File Server? Please remember that you Link-Local address can only be used to communicate with neighboring nodes on the same link.

     

    For more information about IPv6 address, please refer to the following article:

     

    IPv6

    http://technet.microsoft.com/en-us/library/cc755011(WS.10).aspx

     

    Thanks.

    1. července 2009 1:26
    Moderátor
  • Hi Joson,
    Thank you very much for answer but I think I use valid IPv6 address (from output of 'ipconfig' command).
    Next command don't work:

    net use x: \\fe80::a0b6:99c9:2f6c:5759\admin$ /u:administrator adminpassword
    1. července 2009 7:41
  • Hi,

     

    We cannot access shares by using an IPv6 address that has a colon (:) character in the command. We need to convert the IPv6 address to the "ipv6-literal" namespace format. In the "ipv6-literal" namespace format the colon (:) symbol is converted to the dash (-) symbol and "ipv6-literal.net" is appended.

     

    In this case, please run the following command to map the drive:

     

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

     

    Thanks.

    • Označen jako odpověď Aleksander777 2. července 2009 14:54
    • Zrušeno označení jako odpověď Aleksander777 2. července 2009 14:55
    • Označen jako odpověď Aleksander777 2. července 2009 15:04
    2. července 2009 5:21
    Moderátor
  • Hi Joson,
    Is this method applicable for Windows 2008 family only or for Windows 2003 and 2000 also?
    31. července 2009 7:43
  • Now I can't use network share using IPv6 address literal mode on Windows Server 2003 the way I did it on Windows Server 2008.
    I tried to access network share from Windows Server 2008 and 2003 but unsuccessfully.
    Could you please help me with this problem?
    31. července 2009 12:49
  • I find on this page that i substitute ':'  with '-'

    IPv6 Address Nomenclature Used for a UNC Path

    and on this pages i find '%' i substitute with 's'

    http://www.samba.org/~idra/code/nss-ipv6literal/README.html

    like

    fe80::257f:b3f4:527e:ee7d%10

    \\fe80--257f-b3f4-527e-ee7ds10.ipv6-literal.net    this is working

    how can i substitute '/' and others IPv6 symbols?  

    fe80::a00:27ff:fe30:24de/64  ?

    1. června 2010 10:56
  • In networking terminology, "/" is a character that describes the address's network mask - that is, a computer using "192.168.5.40" and a subnet mask of "255.255.255.0" can be much more quickly described as "192.168.5.40/24". The "/24" part is not necessary to address the computer, but rather to configure the computer that's trying to connect to it - something that you the ADMIN would need to understand, but not the PROGRAM you're giving the address to.

    In other words, if IPv6 is anything like IPv4 notation, you can just omit the "/64" part (or anything else with a slash).

    23. července 2011 6:11