From: Mikhail Efremov <sem@altlinux.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] DHCPcd and BEELINE
Date: Thu, 24 Dec 2009 18:59:34 +0300
Message-ID: <20091224185934.41690bd6@sem.localdomain> (raw)
In-Reply-To: <971052367.20091223213711@Bk.Ru>
On Wed, 23 Dec 2009 21:37:11 +0300 MisHel64 wrote:
> > Маршрут по умолчанию уже есть, поэтому dhcpcd не будет его
> > устанавливать. Можно сначала его удалить в ifup-pre, например.
> > А вот со static_routes действительно похоже проблема. Подозреваю,
> > dhcpcd не понимает, что у них префикс 32. Почитаю код и RFC, тогда
> > скажу больше.
>
> Спасибо, буду ждать, и потом пинать службу поддержки, если окажется,
> что это их вина.
Чтение RFC принесло просветление:
If the DHCP server returns both a Classless Static Routes option and
a Router option, the DHCP client MUST ignore the Router option.
Similarly, if the DHCP server returns both a Classless Static Routes
option and a Static Routes option, the DHCP client MUST ignore the
Static Routes option.
(подробнее см. RFC3442).
Т.е. все маршруты, прописанные в static_routes и routers должны быть
прописаны и в classless_static_routes, т.к. в случае, когда сервер
использует эту опцию, все остальные маршруты игнорируются клиентом.
Так что dhcpcd ведет себя полностью в соответствии со стандартом.
Но боюсь все попытки убедить в этом вашего провайдера разобьются о
железобетонное "в Windows все работает".
> > Насколько я могу судить - да. Вот только мне не понятно почему -O
> > 121 не срабатывает.
>
> Наверно стоит багу в багзиле поправить.
Остается неясность с использованием опции, даже если указано -O, так
что багу пока не закрываю.
--
WBR, Mikhail Efremov
next prev parent reply other threads:[~2009-12-24 15:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-21 19:53 MisHel64
2009-12-22 14:14 ` Mikhail Efremov
2009-12-22 14:58 ` MisHel64
2009-12-22 16:06 ` Mikhail Efremov
2009-12-23 12:34 ` MisHel64
2009-12-23 13:53 ` Mikhail Efremov
2009-12-23 16:40 ` MisHel64
2009-12-23 18:27 ` Mikhail Efremov
2009-12-23 18:37 ` MisHel64
2009-12-24 15:59 ` Mikhail Efremov [this message]
2009-12-23 13:44 ` Maks Re
2009-12-23 15:15 ` MisHel64
2009-12-23 16:05 ` Maks Re
2009-12-23 16:49 ` Mikhail Efremov
2009-12-23 17:11 ` MisHel64
2009-12-23 17:00 ` [Sysadmins] BEELINE (ex corbina) MisHel64
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=20091224185934.41690bd6@sem.localdomain \
--to=sem@altlinux.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