LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-16-2012, 08:40 AM   #1
Volcano
Member
 
Registered: Sep 2005
Posts: 225

Rep: Reputation: 15
what is loopback interface ?


I have seen sometimes HOSTS have 0.0.0.0 address or sometimes IP address.

I just dont understand the difference between these two and their benefits
 
Old 04-16-2012, 08:43 AM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by Volcano View Post
I have seen sometimes HOSTS have 0.0.0.0 address or sometimes IP address.
Both are explained in the wiki:

http://en.wikipedia.org/wiki/0.0.0.0
http://en.wikipedia.org/wiki/IP_address

Quote:
I just dont understand the difference between these two and their benefits
I hope the above links can clear your doubts up. If not, read them twice and then re-think your question in a way we can actually answer it.
 
Old 04-16-2012, 09:00 AM   #3
Volcano
Member
 
Registered: Sep 2005
Posts: 225

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by i92guboj View Post
your question in a way we can actually answer it.
What is the benefit hosting a service on 0.0.0.0 ? can you answer to this ?
 
Old 04-16-2012, 09:17 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
0.0.0.0 means basically "no ip direction at all".

The "benefits" of that? Well, I guess that if you are asking that it is because you are in a very specific situation which I am not aware of.

I can only be imaginative and, in fact, imagine, that configuring a given network service to listen on a network interface which has an ip of 0.0.0.0, will allow you to run the service without actually giving it access to any network at all. But you already can do that with the loopback interface, which usually points to 127.0.0.1, and is aliased to "localhost".

It might have an use in a very specific circumstance, but I can't really be any more concrete without knowing what are we talking about.

It's like asking "what's the advantage of emptiness in the outer space?", well, it really depends on the task you have at hand.
 
Old 04-16-2012, 09:29 AM   #5
Volcano
Member
 
Registered: Sep 2005
Posts: 225

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by i92guboj View Post
0.0.0.0 means basically "no ip direction at all".
configuring a given network service to listen on a network interface which has an ip of 0.0.0.0, will allow you to run the service without actually giving it access to any network at all.
I assume this means service is limited to this particular box only. Its just isolated . other machines in the same network can not access the service. am I right ?

Last edited by Volcano; 04-16-2012 at 09:32 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Loopback the only interface after 12.1 upgrade... Lufbery Slackware 5 05-15-2008 08:58 PM
Bringing up loopback interface dlmack67 Linux - Hardware 4 04-21-2006 12:29 PM
Using loopback interface... ozymandias Linux - Newbie 2 10-28-2005 01:37 PM
Loopback Interface in a router theneb Linux - Networking 1 01-16-2005 02:03 AM
Bringing up loopback interface pollycat Linux - Networking 49 09-07-2003 02:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration