'net' command with IPv6 address
-
Monday, June 29, 2009 10:39 AMHello!
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?
Answers
-
Thursday, July 02, 2009 5:21 AMModerator
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.
- Marked As Answer by Aleksander777 Thursday, July 02, 2009 2:54 PM
- Unmarked As Answer by Aleksander777 Thursday, July 02, 2009 2:55 PM
- Marked As Answer by Aleksander777 Thursday, July 02, 2009 3:04 PM
All Replies
-
Wednesday, July 01, 2009 1:26 AMModerator
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.
-
Wednesday, July 01, 2009 7:41 AMHi 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 -
Thursday, July 02, 2009 5:21 AMModerator
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.
- Marked As Answer by Aleksander777 Thursday, July 02, 2009 2:54 PM
- Unmarked As Answer by Aleksander777 Thursday, July 02, 2009 2:55 PM
- Marked As Answer by Aleksander777 Thursday, July 02, 2009 3:04 PM
-
Friday, July 31, 2009 7:43 AMHi Joson,
Is this method applicable for Windows 2008 family only or for Windows 2003 and 2000 also? -
Friday, July 31, 2009 12:49 PMNow 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? -
Tuesday, June 01, 2010 10:56 AM
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 ?
-
Saturday, July 23, 2011 6:11 AM
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).

