ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] dns и etcnet
@ 2006-03-24 14:02 Eugene Prokopiev
  2006-03-24 14:14 ` Шенцев Алексей Владимирович
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Eugene Prokopiev @ 2006-03-24 14:02 UTC (permalink / raw)
  To: Sisyphus

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

Скажите, с 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


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



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-03-28  8:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-24 14:02 [sisyphus] dns и etcnet Eugene Prokopiev
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

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