ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Vadim V. Zhytnikov" <vvzhy@netorn.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Порядок присвоения eth0, eth1 ... однотипным картам?
Date: Wed, 17 Sep 2003 20:44:33 +0300
Message-ID: <3F689D81.3020604@netorn.ru> (raw)
In-Reply-To: <200309172022.13217.asoneofus@nm.ru>

A.L. Klyutchenya пишет:

> 17 Сентябрь 2003 18:41, Vadim V. Zhytnikov написал:
> 
>>Добрый день!
>>
>>На компьютере есть две или более однотипные сетевые карты.
>>В моём конкретном случае это 3com 905B-TX-NM, но повидимому
>>это не принципиально.
>>
>>Вопрос:
>>В какм порядке сетевым интерфейсам присваиваются номера
>>eth0, eth1, eth2 ...
>>
>>Вопрос возник когда по техническим причинам пришлось
>>переставлять карты  в другие PCI слоты.  Нужно, чтобы,
>>скажем, именно eth1 был шлюзом в интернет (так
>>сделаны все конфиги и брандмауэр), причём это должна
>>быть физически вполне определённая карта, т.к.
>>провайдер помнит именно её MAC адрес.
> 
> 
> Хмм... РХ
> /etc/sysconfig/networking/devices/ifup-eth0
> # Please read /usr/share/doc/initscripts-*/sysconfig.txt
> # for the documentation of these parameters.
> USERCTL=no
> PEERDNS=yes
> ONBOOT=yes
> TYPE=Ethernet
> DHCP_HOSTNAME=sasa-home
> IPADDR=192.168.1.3
> DEVICE=eth0
> HWADDR=80:80:80:80:80:03
  ^^^^^^^^^^^^^^^^^^^^^^^^^

Спасибо! Уже въехал. Только у меня
(текущий Сизиф) это MACADDR.

> BOOTPROTO=none
> NETMASK=255.255.255.0
> 
> Цепляет по маку, и пофигу где карточка :)
> 


-- 
      Vadim V. Zhytnikov

       <vvzhy@mail.ru>
      <vvzhy@netorn.ru>




      reply	other threads:[~2003-09-17 17:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-17 14:41 Vadim V. Zhytnikov
2003-09-17 12:24 ` [Comm] " Sergey Vlasov
2003-09-17 14:14 ` [Comm] " ipAlex
2003-09-17 14:34 ` Oleg K.Artemjev
2003-09-17 16:47   ` Vadim V. Zhytnikov
2003-09-18  4:42     ` [Comm]Порядок " Alexey Novikov
2003-09-18  8:23       ` Grigory Milev
2003-09-18 11:35         ` [Comm]=?koi8-r?b?8M/S0cTPyw==?= присвоенияeth0, eth1 ...однотипным картам Alexey Novikov
2003-09-18  9:39     ` [Comm] Порядок присвоения eth0, eth1 ... однотипным картам? Oleg K.Artemjev
2003-09-17 14:38 ` Artem Pastukhov
2003-09-17 16:22 ` A.L. Klyutchenya
2003-09-17 17:44   ` Vadim V. Zhytnikov [this message]

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=3F689D81.3020604@netorn.ru \
    --to=vvzhy@netorn.ru \
    --cc=community@altlinux.ru \
    /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