How can you determine a PC's IP v6
address ?
I have 2 machines, and if I do an ipconfig
on one, I get ...
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : lan
Link-local IPv6 Address . . . . . : fe80::784a:3ddb:df51:9301%12
IPv4 Address. . . . . . . . . . . : 192.168.1.75
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.254
But if I try to ping the target machine from another machine with ...
ping -6 fe80::784a:3ddb:df51:9301%12
I get Destination unavailable
However if I ping the target machines name ...
ping -6 vmvs2010
I get a successful response ...
>ping -6 vmvs2010
Pinging vmVS2010 [fe80::784a:3ddb:df51:9301%16] with 32 bytes of data:
Reply from fe80::784a:3ddb:df51:9301%16: time=4ms
Reply from fe80::784a:3ddb:df51:9301%16: time=3ms
So I can see the %12
value needs to be %16
, but how can I determine this in advance ?