From: Sergey Vlasov <vsu@altlinux.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Одновременно 2 pppoe соединения
Date: Sun, 12 Nov 2006 21:22:21 +0300
Message-ID: <20061112182221.GB7681@procyon.home> (raw)
In-Reply-To: <20061112194211.311f653c@tux.lan.loc>
[-- Attachment #1: Type: text/plain, Size: 1332 bytes --]
On Sun, Nov 12, 2006 at 07:42:11PM +0300, Oleg Sheremetinsky wrote:
> добавил рутинг /sbin/route add -net 10.152.0.0 netmask 255.255.0.0 dev ppp1
>
> если первая строчка принадлежит локальному DNS - работает
> локалка, внешний инет нет. И наоборот. Тут надо бы сделать так, чтобы для
> ppp0 работал один resolv.conf, а для ррр1 - другой.
Такого не бывает - откуда resolver узнает, где нужно искать имя?
Если все имена в локальной сети находятся в каком-то определённом
домене, можно поднять локальный bind и настроить для этого домена
перенаправление на сервер DNS локальной сети:
options {
...
# ставить, если прямое обращение к корневым DNS-серверам
# запрещено или нежелательно; в противном случае можно убрать,
# тогда DNS будет работать даже при падении DNS-серверов
# провайдера
forward only;
# эти сервера будут использоваться по умолчанию
forwarders {
<IP-адрес DNS-сервера для внешней сети>;
};
...
};
# указываем отдельный список серверов для локальной зоны - *.my.lan
zone "my.lan" {
type forward;
forward only;
forwarders {
<IP-адрес DNS-сервера для локальной сети>;
};
};
# ...и для обратной зоны соответствующего диапазона
zone "152.10.in-addr.arpa" {
type forward;
forward only;
forwarders {
<IP-адрес DNS-сервера для локальной сети>;
};
};
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-11-12 18:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-11 10:09 Oleg Sheremetinsky
2006-11-11 10:40 ` Gennadiy Redko
2006-11-11 10:54 ` Oleg Sheremetinsky
2006-11-11 11:22 ` Gennadiy Redko
2006-11-12 16:42 ` Oleg Sheremetinsky
2006-11-12 18:22 ` Sergey Vlasov [this message]
2006-11-12 19:07 ` Oleg Sheremetinsky
2006-11-14 18:11 ` Oleg Sheremetinsky
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=20061112182221.GB7681@procyon.home \
--to=vsu@altlinux.ru \
--cc=community@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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git