On Fri, 12 Feb 1999, Michael Perry wrote:
Just a basic question. I have a static IP address from my dialup ISP. I have the same setup for some years and am curious about the best way to setup /etc/hosts with a static ip. Now I have this defined:
127.0.0.1 localhost 207.167.85.183 mperry.basin.com mperry
That's much the same as mine: 127.0.0.1 localhost loopback loop 158.152.97.177 stokes.demon.co.uk stokes
The 207 number only applies when I dialup. I read the that the 127.0.0.1 should not have a nickname or alias because of sendmail issues. So how should I list my static IP address when I dialup? I get the same IP every time and my machine is named the same each time I dialup. I've been with this ISP for 5 years now.
I note your comment about the loopback circuit and sendmail issues. All I can say is that I haven't had any problems in that respect. I also have the dummy i/f assigned to my FQDN for when I'm offline: phil@stokes:~ > netstat -r Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface stokes.demon.co * 255.255.255.255 UH 1500 0 0 dummy0 loopback * 255.0.0.0 U 3584 0 0 lo Phil -- Philip Stokes Email: phil@stokes.demon.co.uk Fax: +44 (0)870 164 1242 - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>