ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Eugene Prokopiev <prokopiev@stc.donpac.ru>
To: Sisyphus@lists.altlinux.org
Subject: [sisyphus] dns и etcnet
Date: Fri, 24 Mar 2006 17:02:37 +0300
Message-ID: <4423FBFD.9020804@ats-manager.stc.donpac.ru> (raw)

Здравствуйте!

Скажите, с etcnet нужно как-то по особенному настраивать соответствие 
адресов хостов и имен? У меня не пингуются не только dns-имена, но даже 
имена, прописанные в /etc/hosts:

root@test ~ # cat /etc/sysconfig/network
# When set to no, this may cause most daemons' initscripts skip starting.
NETWORKING=yes
# Used by hotplug/pcmcia/ifplugd scripts to detect current network config
# subsystem.
CONFMETHOD=etcnet
# Used by rc.sysinit to setup system hostname at boot.
#HOSTNAME=
#DOMAINNAME=
DOMAINNAME=mydomain.com
HOSTNAME=test.mydomain.com

root@test ~ # cat /etc/net/ifaces/eth0/ipv4address
192.168.46.100/24

root@test ~ # cat /etc/net/ifaces/eth0/ipv4route
192.168.0.0/16 via 192.168.46.1

root@test ~ # cat /etc/net/ifaces/eth0/options
MODULE=3c59x

root@test ~ # cat /etc/host.conf
order hosts,bind
multi on

root@test ~ # cat /etc/hosts
127.0.0.1       localhost.localdomain localhost
192.168.46.100  test.mydomain.com test

root@test ~ # hostname
test.mydomain.com

root@test ~ # ping test.mydomain.com
ping: unknown host test.mydomain.com

root@test ~ # ping test
ping: unknown host test

root@test ~ # ping 192.168.46.100
PING 192.168.46.100 (192.168.46.100) 56(84) bytes of data.
64 bytes from 192.168.46.100: icmp_seq=1 ttl=64 time=0.031 ms
64 bytes from 192.168.46.100: icmp_seq=2 ttl=64 time=0.013 ms

--- 192.168.46.100 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.013/0.022/0.031/0.009 ms


-- 
С уважением, Прокопьев Евгений



             reply	other threads:[~2006-03-24 14:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-24 14:02 Eugene Prokopiev [this message]
2006-03-24 14:14 ` Шенцев Алексей Владимирович
2006-03-24 15:04   ` Eugene Prokopiev
2006-03-25  9:47     ` Sergey
2006-03-25 13:12 ` Alexey Borovskoy
2006-03-28  7:11 ` Eugene Prokopiev
2006-03-28  8:02   ` Eugene Prokopiev
2006-03-28  8:11     ` Alexey I. Froloff
2006-03-28  8:28   ` Yuriy Kashirin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4423FBFD.9020804@ats-manager.stc.donpac.ru \
    --to=prokopiev@stc.donpac.ru \
    --cc=Sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git