Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ipv6 and localhost
#1
ipv6 and localhost
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.
dexter1 Offline
Global Moderator
******

Posts: 132
Threads: 8
Joined: May 2018
Find Reply
09-18-2018, 09:52 PM


Forum Jump:


Users browsing this thread: 1 Guest(s)