ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Vladimir V. Kamarzin" <vvk@vvk.pp.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Как настроить бридж
Date: Sat, 28 Apr 2007 16:13:10 +0600
Message-ID: <m3wszwyfgp.fsf@vvk.distance.ru> (raw)
In-Reply-To: <20070426155157.d702d90a.cetus@newmail.ru> (A. Kitouwaykin's message of "Thu, 26 Apr 2007 15:51:57 +0400")

>>>>> On 26 Apr 2007 at 17:51 "AK" == A Kitouwaykin writes:

 AK> Не совсем понял, как в etcnet настроить бридж.

 AK> - отключить получение ip-адресов сетевыми интерфейсами,
 AK> - добавить объявление моста (TYPE=bri),
 AK> - включить назначение ip-адреса интерфейсу моста?
 AK> Последнее делается также как и для Ethernet?

Всё просто. Например, создаём ifaces/{br0,eth0,eth1,eth2}, в ethX оставляем
только файл options. В br0 пишем в options type=bri и HOST='eth0 eth1 eth2'
в файл brctl пишем инструкции для brctl, например stp auto on. В файл
ipv4address как обычно пишем ip в формате CIDR.

Далее убедиться в наличии установленного пакета bridge-utils (или etcnet-full)
и убедиться в правильности пути к утилите brctl (с этим недавно были
проблемы), ну и service network restart.

-- 
vvk

Russian Postfix irc: irc.freenode.net #postfix-ru


  reply	other threads:[~2007-04-28 10:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-26 11:51 A.Kitouwaykin
2007-04-28 10:13 ` Vladimir V. Kamarzin [this message]
2007-05-02  8:06   ` A.Kitouwaykin

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=m3wszwyfgp.fsf@vvk.distance.ru \
    --to=vvk@vvk.pp.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