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

Re: Настройка сети и /etc/hosts



On Tue, Sep 02, 2008 at 01:44:58AM +0700, Vit wrote:
> Здравствуйте!
> root@linux:# ping localhost
> ping: unknown host localhost
> google.com и прочие интернет сервисы пингуются без проблем.
> 
> вот содержание /etc/hosts:
> 127.0.0.1<----->localhost
> 127.0.0.1<----->linux.bb.nsib.ru<------>linux
> 192.168.255.4<->linux.bb.nsib.ru<------>linux
> 
> # The following lines are desirable for IPv6 capable hosts
> ::1     localhost ip6-localhost ip6-loopback
> ::1<--->linux<->linux.bb.nsib.ru
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> ff02::3 ip6-allhosts
> 
> и /etc/host.conf:
> order hosts,bind
> multi off
> 
> Может кто-то подсказать как решить проблему?
> С уважением, Виктор.

Что в /etc/nsswitch.conf?

-- 
Stanislav


Reply to: