[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/hosts



Giordano ha scritto:

Mi chiedevo se nel file in oggetto devo indicare una roba simile a questa:

127.0.0.1 localhost
192.168.1.1 localhost   <---indirizzo prima NIC
192.168.2.1 localhost   <--- indirizzo seconda NIC

E' giusto aggiungere queste righe in tale file? O erro?

$ man hosts
> This file is a simple text file that associates IP addresses with
> hostnames, one line  per  IP  address.

Mi pare abbastanza inutile mappare indirizzi diversi sempre con uno stesso nome...

--
Davide



Reply to: