Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
IPv6 address displayed "%" character instead of "/" character.
1.when the printer and system are connected to private network and IPv4 is disabled in system(PC).
2.printer is searched automatically using installer and displayed IPv6 address. But IPv6 address displayed as "FE80::F639:9FF:FE57:66F9%6" instead of "FE80::F639:9FF:FE57:66F9/64". Is this the expected behavior?

What I have tried:

IPv6 address displayed "%" character instead of "/" character.
Posted
Updated 13-Aug-19 4:53am
v2
Comments
OriginalGriff 13-Aug-19 1:55am    
Without the code fragment you used to print it, how do you expect us to have any idea what you did wrong?

Use the "Improve question" widget to edit your question and provide better information.

1 solution

The number after the % is the "zone index" (aka "scope ID") for the address. It's used by the OS to determine which network interface to use when talking to the address.

IPv6 address - Wikipedia[^]
Why is there a percent sign '%' in the IPv6 address? - Super User[^]
https://tools.ietf.org/html/rfc4007[^]


The /64 is the CIDR prefix length. You're looking at a subnet rather than a specific address.

What does it mean /64 in IPv6 - Stack Overflow[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900