IRIX Network Forums
ipv6 and localhost - Printable Version

+- IRIX Network Forums (//forums.irixnet.org)
+-- Forum: SGI/MIPS (//forums.irixnet.org/forum-3.html)
+--- Forum: IRIX/Software (//forums.irixnet.org/forum-7.html)
+--- Thread: ipv6 and localhost (/thread-446.html)



ipv6 and localhost - dexter1 - 09-18-2018

While tracking down regressions in the new curl compile on my ChallengeS with IRIX 6.5.22m and enabled IPV6 i came across this:
Code:
cyane:/# ping localhost
PING localhost (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=1.007 ms
works,

Code:
cyane:/# ping -6 ::1
PING ::1 (::1): 56 data bytes
64 bytes from ::1: icmp6_seq=0 ttl=255 time=1.808 ms
works also,

Code:
cyane:/# ping -6 localhost
ping: localhost: Non-recoverable failure in name resolution
this doesn't work.

Now this is because most likely the /etc/hosts file doesn't have an ::1 entry which points to localhost (or ipv6-localhost, ip6-localhost or even ip6-loopback) so i added it, but even after that it still can't resolve localhost to ::1 when specifying ipv6 protocol. I guess i am missing something in terms of syntax in /etc/hosts or an extra options in /etc/nsswitch.conf
I do have route6d running, but not routed.

Anyone who has an ipv6 configuration with 'ping -6 localhost' working on their IRIX boxes, preferably with 6.5.22 OS?
If you do, let me know.