[101904] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Home networking

daemon@ATHENA.MIT.EDU (Anthony E. Greene)
Mon Nov 30 11:20:32 1998

Date: Mon, 30 Nov 1998 17:08:38 +0100
To: redhat-list@redhat.com
From: "Anthony E. Greene" <agreene@pobox.com>
In-Reply-To: <01BE1C35.201760C0.brichardson@lineone.net>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

At 07:42 1998-11-30 -0000, Bruce Richardson wrote:
>in /etc/hosts
>----------------------
>127.0.0.1 alpha.bruce.net alpha.bruce.net
>----------------------
>
>Now, I know this is not exactly right (the nickname in hosts should just be 
>alpha?) but is any software going to puke because it can't find a 
>'localhost'?

I can't think of anything specific that will break, but I remember having
problems when localhost was not defined. It really is best to just set it
up in the "standard" manner (like you did below).

>    Should I just bite the bullet, assign myself a class A 
>address and put in IP masquerading?  If I do that, should hosts read as 
>follows?
>
>-----------------------
>127.0.0.1 localhost.localdomain localhost
><classA_IP> alpha.bruce.net alpha
>-----------------------

You can setup your hosts file like that and not use IP masquerading. It
will work fine. When you dial in, the server-assigned IP will be used for
all non-local packets anyway. the above setup should do the trick.

After you get it working, you will need to edit /etc/sysconfig/network to
make sure the changes are re-implemented at boot time.




 Tony
 --
 Anthony E. Greene <agreene@pobox.com>
 Homepage and PGP Key: <http://www.pobox.com/~agreene/>


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post