SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
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.
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.
We’re experimenting with deploying SUSE 10 SP3 systems and adding them to a Windows domain and DNS. Oddly, when we register in DNS, it gets registered under two address: the real IP address, and the address 127.0.0.2. Also, an ip addr command shows that the loopback device lo has two addresses: 127.0.0.1 and 127.0.0.2.
The above behavior is just on SP3. On SUSE 10 SP2, the lo device has only the 127.0.0.1 address, and the system is able to register correctly in DNS.
Has anyone ever seen this behavior? Do you know what the 127.0.0.2 address signifies, or how to get rid of it?
I'm answering because nobody else has, not because I know much about it ...
127.x.x.x addresses are all local. Rarely is there any need to use more than one and 127.0.0.1 is conventional. Netsearching showed others used/created:
To resolve DHCP initialisation problems (I didn't understand clearly enough what these were about to be able to choose an illustrative URL -- my German is very basic)
What is the DNS system that the SUSE 10 SP3 systems are registering with?
Thanks, Catkin. We're registering with a Windows 2008 DNS server. I finally got this to work after a friend suggested that I edit the /etc/sysconfig/network/ifcfg-lo file and delete the entry for 127.0.0.2. Then I did a service network restart and was able to do the dns register. This time the system registered with only the correct address.
After that I restored the 127.0.0.2 address to the ifcfg-lo file again and once more restarted the network service. So the 127.0.0.2 loopback is still available if some app needs it some day.
Thanks, Catkin. We're registering with a Windows 2008 DNS server. I finally got this to work after a friend suggested that I edit the /etc/sysconfig/network/ifcfg-lo file and delete the entry for 127.0.0.2. Then I did a service network restart and was able to do the dns register. This time the system registered with only the correct address.
After that I restored the 127.0.0.2 address to the ifcfg-lo file again and once more restarted the network service. So the 127.0.0.2 loopback is still available if some app needs it some day.
Regards, Joseph
Glad you found a workaround and hope you're OK with doing it each boot. If these are new servers I'd be tempted to leave the 127.0.0.2 address out and see if anything breaks or goes slowly; 127.0.0.2 might not actually be needed. If that works then you don't have to do the process each boot.
If the question is now solved to your satisfaction you could use the Thread Tools menu to mark the thread SOLVED.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.