Hi,
localhost is the loopback device, for example if you installed a webserver, you could access it via http://localhost, it means that you can setup and test network software without having a network.
I always use "ifconfig" to setup network devices.
Kind Regards
Greg Alexander
Alexander Dalloz <ad+lists@xxxxxxxxx>
Sent by: fedora-list-bounces@xxxxxxxxxx 15/12/2004 10:46
|
To: fellons <roberto.felloni@xxxxxxxxx>, For users of Fedora Core releases <fedora-list@xxxxxxxxxx> cc: Subject: Re: my hosts |
Am Mi, den 15.12.2004 schrieb fellons um 8:18:
> My FC2 (home.bear.net) have "lo" and "eth0" interfeaces.
> My network ip is 192.168.0.0;
> Broadcast is 192.168.0.255;
> IP of eth0 is 192.168.0.1.
>
> The question:
> on my /etc/hosts I must to have:
> 127.0.0.1 loalhost.localdomain ....
> 192.168.0.1 home.bear.net ... ?????
>
> If yes, why have only "127.0.0.1 loalhost.localdomain ...." ?
>
> Ping with localhost, home.bear.net, 1192.168.0.1 answer me well.
So somewhere there must be the name <--> IP mapping. How did you
configure the ethernet device eth0? Using system-config-network will
place a proper entry into /etc/hosts.
Alexander
--
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.9-1.6_FC2smp
Serendipity 11:45:35 up 5 days, 6:26, load average: 2.08, 1.12, 0.57
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
COMPUTACENTER (UK) LTD
The contents of this e-mail are intended for the named addressee only.
It contains information which may be confidential and which may also be privileged.
Unless you are the named addressee (or authorised to receive
for the addressee) you may not copy or use it, or disclose it to anyone
else. If you received it in error please notify us immediately and then
destroy it.
Computacenter information is available from http://www.computacenter.com
This footnote also confirms that this email message has been swept for the presence of computer viruses.
***************************************************************************************************************************