ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: MisHel64 <MisHel64@Bk.Ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] DHCPcd and BEELINE
Date: Wed, 23 Dec 2009 21:37:11 +0300
Message-ID: <971052367.20091223213711@Bk.Ru> (raw)
In-Reply-To: <20091223212722.52f430a8@sem.localdomain>

Здравствуйте, Mikhail.

Вы писали 23 декабря 2009 г., 21:27:22:

>> > Просто в консоли введите команду
>> > dhcpcd -T <интерфейс>.
>> разница вот в этом:
>> new_static_routes='85.21.78.93 10.50.4.1 85.21.79.170 10.50.4.1
>> 85.21.79.38 10.50.4.1 194.67.1.203 10.50.4.1 195.14.50.16 10.50.4.1
>> 217.118.84.167 10.50.4.1 217.118.84.249 10.50.4.1'

> Странно, classless_static_routes тоже не должно быть. У меня dhcpcd
> исправно не получает те опции, которые не запрашивались.
> А если указать только 121:
> dhcpcd -T --nooption=121 <интерфейс>
> все равно classless_static_routes присутствуют?

да.

>> добавляю в ФАЙЛ options из каталога интерфейса
>> DHCP_ARGS="-G -O 33,121,249"

> Лучше DHCP_ARGS="-G -O 33 -O 121 -O 249", т.е каждую опцию отдельно,
> иначе etcnet может заменить запятые на пробелы и строка опций будет не
> правильной.

Да. Он именно так и делает. Исправил, но ничего не поменялось.

> Маршрут по умолчанию уже есть, поэтому dhcpcd не будет его
> устанавливать. Можно сначала его удалить в ifup-pre, например.
> А вот со static_routes действительно похоже проблема. Подозреваю,
> dhcpcd не понимает, что у них префикс 32. Почитаю код и RFC, тогда
> скажу больше.

Спасибо,  буду  ждать, и потом пинать службу поддержки, если окажется,
что это их вина.

>> > В любом случае, покажите вывод команд, приведенных выше.
>> 
>> На всякий случай, я все правильно делаю?

> Насколько я могу судить - да. Вот только мне не понятно почему -O 121
> не срабатывает.

Наверно стоит багу в багзиле поправить.

-- 
С уважением,
 MisHel64                          mailto:MisHel64@Bk.Ru



  reply	other threads:[~2009-12-23 18:37 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 [this message]
2009-12-24 15:59                 ` Mikhail Efremov
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=971052367.20091223213711@Bk.Ru \
    --to=mishel64@bk.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