Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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

NiTHiN pOct 10 2013

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..

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 7 2013
Added on Oct 10 2013
0 comments
772 views