ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vasily Tereshko <tolmi@end.kiev.ua>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Привязка PCI к имени устройства
Date: Fri, 11 Feb 2011 15:38:14 +0200
Message-ID: <4D553BC6.9030609@end.kiev.ua> (raw)
In-Reply-To: <4D553963.6020406@gmail.com>

11.02.2011 15:28, Occisor пишет:
>
>
> # chkconfig  --list | grep ifr
> ifrename        0:off   1:off   2:on    3:on    4:on    5:on    6:off
>
> # ifconfig
> eth1      Link encap:Ethernet  HWaddr 00:23:CD:B4:51:A2
>           inet addr:192.168.1.100  Bcast:192.168.1.255 
> Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:47384 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:45759 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:33483678 (31.9 MiB)  TX bytes:10995647 (10.4 MiB)
>           Interrupt:11 Base address:0x4000
>
> eth2      Link encap:Ethernet  HWaddr 00:E0:52:91:42:4B
>           inet addr:192.168.3.100  Bcast:192.168.3.255 
> Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:402659 errors:0 dropped:69 overruns:0 frame:0
>           TX packets:627324 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:36886534 (35.1 MiB)  TX bytes:856890640 (817.1 MiB)
>           Interrupt:10 Base address:0x2000
>
> # cat /etc/iftab
> eth0    mac 00:23:cd:b4:51:a2
> eth1    mac 00:80:ad:78:31:f2
>
> Т.е. сервис запущен, должен раскидывать имена, а ничего не совпадает.
> Или что-то еще не учел?
1. Лучше не называть интерфейсы eth0 и т.д. есть вероятность того, что
при переименовании такое имя уже|ещё будет, и интерфейс не переименуется.
   почему бы не называть lan0, dmz0, dmz1, ext0 и т.д. ?
2 eth2 имеет mac адрес, которого нет в /etc/iftab поэтому он вполне
логично получил следующий свободный номер.

-- 
Толми



  reply	other threads:[~2011-02-11 13:38 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-11 10:01 Occisor
2011-02-11 10:09 ` Alexei V. Mezin
2011-02-11 10:14   ` Afanasov Dmitry
2011-02-11 10:16     ` Шенцев Алексей Владимирович
2011-02-11 11:03       ` Alexei V. Mezin
2011-02-11 11:36         ` Anton Farygin
2011-02-11 11:37           ` Alexei V. Mezin
2011-02-11 11:41             ` Anton Farygin
2011-02-11 11:46               ` Alexei V. Mezin
2011-02-11 13:28         ` Occisor
2011-02-11 13:38           ` Vasily Tereshko [this message]
2011-02-11 13:40           ` Alexey Bochenin
2011-02-11 14:15             ` Occisor
2011-02-11 14:21               ` Andriy Dobrovol`s`kii
2011-02-11 14:42               ` Anton Farygin
2011-02-11 14:28           ` Afanasov Dmitry
2011-02-12  7:29             ` Шенцев Алексей Владимирович
2011-02-12  7:42               ` Occisor
2011-02-12  7:47                 ` Шенцев Алексей Владимирович
2011-02-12  7:59                   ` Occisor
2011-02-12  8:15                     ` Шенцев Алексей Владимирович
2011-02-11 10:45     ` Occisor
2011-02-11 10:48   ` Afanasov Dmitry
2011-02-11 11:25   ` Anton Gorlov

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=4D553BC6.9030609@end.kiev.ua \
    --to=tolmi@end.kiev.ua \
    --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