Grant Edwards wrote: > How do you specify a link-local ipv6 address in /etc/hosts? > > For example, I can ping/telnet/ssh to fe80::02c0:4eff:fe07:0005%eth1, > but I can't figure out how to put that address in /etc/hosts so I can > access it by name.
Tried several different approaches, can't get any of them to work. I don't know where the bug is, though. I did find that if I leave off the %iface in /etc/hosts, I get an "invalid argument" error from ping6. I suspect there's a bug in ping6. Working directly and extensively with link-local interfaces is *bound* to reveal a bunch of bugs, because that's not intended SOP in IPv6, you have to be more aware of which link scope you're talking to, and I doubt most developers take it into account. > > Similarly, how do you enter an ipv6 link-local address in Firefox or > Opera? curl seems to accept such an address and return the proper web > page, but I can't find any interactive browser (graphical or > command-line) that will accept a link-local address. So far I've > tried Firefox Opera w3m links. According to RFC2732 it looks like the > format should be > > http://[fe80::02c0:4eff:fe07:0005%eth1]:80/ > > But none of the browsers accept that. That's probably a bug in each browser.

