Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-23-2008, 11:48 PM
|
#1
|
Member
Registered: Sep 2007
Location: Zhuhai, China
Distribution: Debian, etch
Posts: 40
Rep:
|
what does 127.0.1.1 mean ???
Quote:
$ cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 nice.org
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
|
I know 127.0.0.1 is the loopback address.
What does 127.0.1.1 mean ?
|
|
|
02-24-2008, 12:57 AM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
It doesn't really mean anything in particular (it's just another IP in the 127.0.0.0/8 block).
The reason it's used as the IP for your hostname is explained in Section 10.4 of the Debian Reference Manual.
Quote:
Some software (e.g., GNOME) expects the system hostname to be resolvable to an IP address with a canonical fully qualified domain name. This is really improper because system hostnames and domain names are two very different things; but there you have it. In order to support that software, it is necessary to ensure that the system hostname can be resolved. Most often this is done by putting a line in /etc/hosts containing some IP address and the system hostname. If your system has a permanent IP address then use that; otherwise use the address 127.0.1.1.
|
Last edited by win32sux; 02-24-2008 at 12:58 AM.
|
|
1 members found this post helpful.
|
02-24-2008, 11:15 PM
|
#3
|
Member
Registered: Sep 2007
Location: Zhuhai, China
Distribution: Debian, etch
Posts: 40
Original Poster
Rep:
|
TKU, win32sux ^_^
|
|
|
All times are GMT -5. The time now is 05:21 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|