<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Не пингуются компьютеры сети не Linux -> Linux не Windows -> Linux]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=37390</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=37390&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Не пингуются компьютеры сети не Linux -> Linux не Windows -> Linux».]]></description>
		<lastBuildDate>Mon, 02 Feb 2015 23:27:45 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Не пингуются компьютеры сети не Linux -> Linux не Windows -> Linux]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=443780#p443780</link>
			<description><![CDATA[<p>А как по ip быстро и легко узнать имя?, при том что dhscp+ddns настроен и работает(пингуется по имени и win и lin).</p>]]></description>
			<author><![CDATA[null@example.com (artb1sh)]]></author>
			<pubDate>Mon, 02 Feb 2015 23:27:45 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=443780#p443780</guid>
		</item>
		<item>
			<title><![CDATA[Re: Не пингуются компьютеры сети не Linux -> Linux не Windows -> Linux]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=440567#p440567</link>
			<description><![CDATA[<p>Ну, да. Чтобы пинговались внутренние машины, надо настроить либо локальную зону dns, либо прописывать все внутренние компьютеры в файле hosts на всех внутренних компьютерах. Но, в случае прописывания внутренних машин в файле hosts, использовать nslookup для локальных адресов не имеет смысла.</p>]]></description>
			<author><![CDATA[null@example.com (urfin)]]></author>
			<pubDate>Thu, 15 Jan 2015 16:37:13 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=440567#p440567</guid>
		</item>
		<item>
			<title><![CDATA[Re: Не пингуются компьютеры сети не Linux -> Linux не Windows -> Linux]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=440566#p440566</link>
			<description><![CDATA[<p>ну правильно, а кто за вас будет настраивать локальную зону dns ?</p>]]></description>
			<author><![CDATA[null@example.com (lone_wolf)]]></author>
			<pubDate>Thu, 15 Jan 2015 16:19:58 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=440566#p440566</guid>
		</item>
		<item>
			<title><![CDATA[Re: Не пингуются компьютеры сети не Linux -> Linux не Windows -> Linux]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=440564#p440564</link>
			<description><![CDATA[<p>В файле /etc/host.conf должна быть прописана строка: </p><div class="codebox"><pre><code>order hosts, bind</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (urfin)]]></author>
			<pubDate>Thu, 15 Jan 2015 16:17:17 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=440564#p440564</guid>
		</item>
		<item>
			<title><![CDATA[Не пингуются компьютеры сети не Linux -> Linux не Windows -> Linux]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=440561#p440561</link>
			<description><![CDATA[<p>Господа товарищи подскажите что не так и куда копать с лунуксом знаком недавно, не понимаю в какую сторону капать. Настроил сервер как шлюз 2 сетевые карты<br />eth0 - 192.168.10.1 (локалка)<br />eth1 - DHCP (интернет 1)<br />настроен DHCP<br /></p><div class="codebox"><pre><code># Динамическое обновление DNS, обязательная строчка без нее dhcpd не запустится
# none - не использовать динамическое обновление
# ad-hoc - устарело, и не должно использоваться
# interim - позволяет обновлять DNS записи
authotitative;
ddns-update-style      interim;
default-lease-time    28800;
max-lease-time          28800;

allow booting;
allow bootp;
option option-128 code 128 = string;
option option-129 code 129 = text;
next-server 192.168.10.1;
filename &quot;ploplinux-netboot/pxelinux.0&quot;;

# Описание подсети
subnet 192.168.10.0 netmask 255.255.255.0 {

# Параметры передаваемые dhcp-клиентам
    option subnet-mask 255.255.255.0;           # Маска подсети
    option broadcast-address 192.168.10.255;             # Адрес широковещатель$
    option routers 192.168.10.1;                 # Адрес шлюза
    option domain-name-servers 192.168.10.1,192.168.10.3,8.8.8.8,4.4.4.4,77.50.$
    option netbios-node-type 8;                 # Конфигурация WINS-клиента
    option domain-name &quot;htcdn.net&quot;;          # Суффикс домена
        pool {
    range dynamic-bootp 192.168.10.10 192.168.10.254;                     # Обл$

                }

#deny unknown-clients;

}</code></pre></div><p>настроен named<br /></p><div class="codebox"><pre><code>//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

options {
    listen-on port 53 { any; };
        listen-on-v6 port 53 { any; };
        directory    &quot;/var/named&quot;;
        dump-file    &quot;/var/named/data/cache_dump.db&quot;;
        statistics-file &quot;/var/named/data/named_stats.txt&quot;;
        memstatistics-file &quot;/var/named/data/named_mem_stats.txt&quot;;
        allow-query     { any; };
        forwarders    {77.50.0.3; 212.1.224.6; };
        recursion yes;
};
logging {
    channel default_debug {
                file &quot;data/named.run&quot;;
                severity dynamic;
        };
};
zone &quot;.&quot; IN {
    type hint;
        file &quot;named.ca&quot;;
};</code></pre></div><p>листинг hosts<br /></p><div class="codebox"><pre><code>127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
192.168.10.1 gateway.localdomain gateway
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6</code></pre></div><p>листинг nano /etc/resolv.conf<br /></p><div class="codebox"><pre><code>; generated by /sbin/dhclient-script
search lcl.starlink.ru
nameserver 77.50.0.3
nameserver 77.50.1.3</code></pre></div><p>листинг /etc/nsswitch.conf<br /></p><div class="codebox"><pre><code>#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry &#039;[NOTFOUND=return]&#039; means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Valid entries include:
#
#    nisplus                 Use NIS+ (NIS version 3)
#    nis                     Use NIS (NIS version 2), also called YP
#    dns                     Use DNS (Domain Name Service)
#    files                   Use the local files
#    db                      Use the local database (.db) files
#    compat                  Use NIS on compat mode
#    hesiod                  Use Hesiod for user lookups
#    [NOTFOUND=return]    Stop searching if not found so far
#

# To use db, put the &quot;db&quot; in front of &quot;files&quot; for entries you want to be
# looked up first in the databases
#
# Example:
#passwd:    db files nisplus nis
#shadow:    db files nisplus nis
#group:     db files nisplus nis
#hosts:     db files nisplus nis dns
hosts:      files dns

# Example - obey only what nisplus tells us...
#services:   nisplus [NOTFOUND=return] files
#networks:   nisplus [NOTFOUND=return] files
#protocols:  nisplus [NOTFOUND=return] files
#rpc:        nisplus [NOTFOUND=return] files
#ethers:     nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files

bootparams: nisplus [NOTFOUND=return] files
ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files

netgroup:   nisplus

publickey:  nisplus

automount:  files nisplus
aliases:    files nisplus</code></pre></div><p>в итоге интернет работает, ping ya.ru и ему любой другой ресурс интернет пингуется без вопросов с любой машины, а вот внутренние компьютеры пингуются только по IP</p><div class="codebox"><pre><code>nslookup storagesmb 192.168.10.1
Server:        192.168.10.1
Address:    192.168.10.1#53

** server can&#039;t find storagesmb: NXDOMAIN</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (yurasik6363)]]></author>
			<pubDate>Thu, 15 Jan 2015 15:25:43 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=440561#p440561</guid>
		</item>
	</channel>
</rss>
