ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Timur Batyrshin <batyrshin@ieml.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] как сменить привязку eth к HWADDR?
Date: Tue, 29 Aug 2006 16:35:07 +0400
Message-ID: <44F4347B.5090009@ieml.ru> (raw)
In-Reply-To: <44F31713.308@iop.kiev.ua>

Andriy Dobrovol`s`kii пишет:
>> Человек другое хотел спросить.
>> MAC на карточке меняться не должен.
>> Нужно, чтобы первому MAC-адресу ставилось в соответствие имя интерфейса
>> eth0, а второму MAC-адресу - имя eth1 (и в соответствии с именами
>> интерфейсов IP-адреса).

Ага, именно.


> http://www.freesource.info/wiki/Stat'i/NastrojjkaSeti/FajjlyKonfiguraciiSeti?v=148p
> Не помогает?

Так там не о том статья, а об общей настройке. Так то всё замечательно
работает, только имена интерфейсов перепутаны.

Сейчас глянул в man ifrename - там сказано вот что:
By default, interface names are dynamic, and each network interface  is
assigned  the  first available name (eth0, eth1...). The order network
interfaces are created may vary. For built-in  interfaces,  the  kernel
boot time enumeration may vary.

Т.е. ядро сперва загружает второй сетевой интерфейс, а затем первый.
Можно как-нибудь изменить порядок загрузки устройств ядром при старте?

ifrename тоже попробую, но может есть способ сделать всё, что надо без
дополнительных утилит?



  parent reply	other threads:[~2006-08-29 12:35 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-26  8:48 Timur Batyrshin
2006-08-28 11:02 ` spider
2006-08-28 16:08   ` Olvin
2006-08-28 16:17     ` Andriy Dobrovol`s`kii
2006-08-29  0:37       ` Evgenii Terechkov
2006-08-29 10:24         ` Andrii Dobrovol`s`kii
2006-08-29 12:35       ` Timur Batyrshin [this message]
2006-09-01  8:47         ` Andrii Dobrovol`s`kii
2006-09-03  6:55           ` [Comm] как сменить привязку eth к HWA DDR ? batyrshin
2006-09-04  8:03             ` Andrii Dobrovol`s`kii
2006-09-05  6:28               ` Timur Batyrshin
2006-09-05  7:48                 ` Andrii Dobrovol`s`kii
2006-09-05  9:41                   ` Timur Batyrshin
2006-09-05 12:22                     ` Andrii Dobrovol`s`kii
2006-09-05 13:25                       ` Andrii Dobrovol`s`kii
2006-09-06 11:33                         ` Timur Batyrshin
2006-09-07 13:02                           ` Dmytro O. Redchuk
2006-09-11 11:14                           ` Andrii Dobrovol`s`kii
2006-09-11 15:51                             ` batyrshin
2006-09-05 12:48         ` [Comm] как сменить привязку eth к HWADDR? Dmytro O. Redchuk
2006-09-05 13:03           ` Timur Batyrshin
2006-09-05 13:19             ` Dmytro O. Redchuk
2006-08-28 16:22     ` Dmytro O. Redchuk

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=44F4347B.5090009@ieml.ru \
    --to=batyrshin@ieml.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