0 Replies Latest reply: Oct 10, 2013 1:06 PM by NiTHiN p RSS

    unable to ping the the localhost in ipv6 without an entry in /etc/hosts,but its working for ipv4.

    NiTHiN p

      Hi all,

       

      I am able to ping the localhost (127.0.0.1) even without an entry in the /etc/host file,but the same doesnt work for ipv6 localhost(::1).

       

      bash#more /etc/hosts

           #

           #Internet host table

           #

           #::1     localhost

           #127.0.0.1     localhost

       

      bash#ping -a localhost

      localhost (127.0.0.1) is alive

       

      bash# ping ::1

      ::1 is alive

      -----------------------------------

      bash#more /etc/hosts

           #

           #Internet host table

           #

           ::1     localhost

           #127.0.0.1     localhost

       

      bash#ping -a localhost

      localhost (::1) is alive

      localhost (127.0.0.1) is alive

       

       

      could any one please help me on this..