SixXS::Sunset 2017-06-06

URL and Zone indice?
[ca] Shadow Hawkins on Friday, 23 May 2008 18:33:18
If am on an isolated IPv6 network with an 'local' IPv6 address the computers gets an address starting with fe80, such as: fe80::230:65ff:fed6:b164%en0 At the same a zone indice is added. If I have service, such as an ssh or http server, running on a computer then I would expect to include the zone indice in the address. This works fine in general, but fails when used in a URL. This brings me to my question: does anyone know whether there are an plans to amend the specification for URLs to support IPv6 zone indices, or would using technology such a Bonjour be the way to go?
URL and Zone indice?
[ch] Jeroen Massar SixXS Staff on Friday, 30 May 2008 13:13:49
It depends on your OS and on the program. A program needs to correctly use getaddrinfo() for addresses passed in. When that is done all should work like a charm as getaddrinfo() will handle the scope. PuTTY for instance does this. As you are discussing URL's though, it is nearly impossible to use scopes in there, as %en0 on one host will be completely different on another. Thus it only has limited use for URL's and can in effect only be used to access a host directly. http://[fe80::230:65ff:fed6:b164%en0]:80 Should work for your computer, that is if that address really has a webserver running. Bonjour/LL-DNS/MDNS/uPNP and similar systems is the right way to go. For 'routers' (currently those boxes which do your IPv4 NAT) it is expected that they provide that kind of functionality and/or that they will be doing ULA's, which they automatically generate and RA on the local network.

Please note Posting is only allowed when you are logged in.

Static Sunset Edition of SixXS
©2001-2017 SixXS - IPv6 Deployment & Tunnel Broker