ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Olvin <olvin@rambler.ru>
To: sysadmins@lists.altlinux.org
Subject: [Sysadmins] Настройка dhcp и маршрутизация
Date: Sun, 04 Jun 2006 19:58:54 +0300
Message-ID: <4483114E.3020907@rambler.ru> (raw)

Есть сеть А (10.1.0.0/16). Она связана с сетью Б (10.2.0.0/16) через
маршрутизатор мБ с адресом 10.1.0.1 и с сетью В (10.3.0.0/16) через
маршрутизатор мВ с адресом 10.1.0.2.

Что мне вписать в dhcpd.conf, чтобы
клиентам выдавалась правильная маршрутная информация (в сеть Б посылать
пакеты через мБ, а в сеть В - через мВ)? В сторону каких опций смотреть?
В мануале нашёл про option routers, но это, как я понял, задаёт маршрут
по умолчанию. Или я не прав?

Сервер на ALM2.4, клиенты на WinXP.

На данный момент есть подключение только к сети Б, и действует такой конфиг:

ddns-update-style none;
option domain-name "enigma.local";
option domain-name-servers 10.1.0.254;
option routers 10.1.0.1;
option broadcast-address 10.1.255.255;

default-lease-time 60000;
max-lease-time 72000;
log-facility local7;

subnet 10.1.0.0 netmask 255.255.0.0 {
   range 10.1.0.10 10.1.0.250;
   range 10.1.1.10 10.1.1.250;
}





                 reply	other threads:[~2006-06-04 16:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4483114E.3020907@rambler.ru \
    --to=olvin@rambler.ru \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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