From: Anton Farygin <rider@altlinux.com>
To: community@lists.altlinux.org
Subject: Re: [Comm] /etc/net --- жесткая настройка интерфейсов
Date: Fri, 03 Jul 2009 12:08:48 +0400
Message-ID: <h2kecf$lm4$1@ger.gmane.org> (raw)
In-Reply-To: <4A4DAE2D.6080907@yandex.ru>
Mad-Max-Traveller@yandex.ru пишет:
>
> Перенесите iftab из /etc/net/ в /etc если он там.
> Содержимое iftab сделайте таким:
> eth0 mac <ваш mac>
> eth1 mac <ваш mac>
>
> Еще советую вместо eth0 и eth1 дать другие имена интерфейсам, например
> lan0 и lan1, ибо могут быть глюки, связанные с именованием интерфейсов.
>
> Подробно эта тема обсуждалась на форуме:
> http://forum.altlinux.org/index.php/topic,2367.0.html
Это не правильно.
Нужно:
в файле /etc/net/iftab
прописать:
internet mac <мак адрес сетевой платы для выхода в интернет>
local mac <мак адрес сетевой платы для локальной сети>
И все настройки сделать в /etc/net/ifaces для интерфейсов с именами
internet и local
Это будет удобнее всего, и как показала практика - работать всегда.
Вариант с /etc/iftab в текущем Sisyphus уже не работает, вместо него
udev. А варант с /etc/net/iftab отлично работает без проблем.
next prev parent reply other threads:[~2009-07-03 8:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-03 6:49 Aleksander Gorohovski
2009-07-03 7:02 ` AShen
2009-07-03 7:07 ` Mad-Max-Traveller
2009-07-03 8:08 ` Anton Farygin [this message]
2009-07-03 8:19 ` Mad-Max-Traveller
2009-07-03 8:25 ` Ivan Fedorov
2009-07-03 8:29 ` Anton Farygin
2009-07-03 8:34 ` Mad-Max-Traveller
2009-07-03 8:55 ` Anton Farygin
2009-07-03 15:22 ` Aleksander Gorohovski
2009-07-03 15:32 ` Alexei V. Mezin
2009-07-03 19:11 ` Aleksander Gorohovski
2009-07-06 3:15 ` Mad-Max-Traveller
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='h2kecf$lm4$1@ger.gmane.org' \
--to=rider@altlinux.com \
--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