ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] проблемы после поднятия bridge
Date: Tue, 27 Oct 2009 13:27:59 +0300
Message-ID: <20091027102759.GG9428@newmaster.mivlgu.local> (raw)
In-Reply-To: <4AE696CC.9030205@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1378 bytes --]

On Tue, Oct 27, 2009 at 09:44:28AM +0300, Andrew Clark wrote:
> Привел настройки интерфейсов к следующему виду:
> [andy@timelock ifaces]$ egrep  '^[^#]' eth0/*
> eth0/iplink:mtu 1442
***> eth0/ipv4address:192.168.1.2/24
***> eth0/ipv4route:default via 192.168.1.1
> eth0/options:TYPE=eth
> eth0/options:MODULE=r8169
> eth0/options:BOOTPROTO=static
***> eth0/resolv.conf:search domail timelock
***> eth0/resolv.conf:nameserver 213.140.228.218
***> eth0/resolv.conf:nameserver 195.42.162.50
***> eth0/resolv.conf:nameserver 213.140.231.3

Помеченное "***" - убрать из eth0 и перенести в br0 (хотя resolv.conf,
вероятно, может и так работать, поскольку не трогает сам интерфейс).

> [andy@timelock ifaces]$ egrep  '^[^#]' br0/*
> br0/brctl:stp AUTO off
> br0/brctl:setfd AUTO 0
> br0/ipv4address:192.168.1.3/24

Так разберитесь, какой адрес вы хотите использовать для самого хоста -
192.168.1.2, 192.168.1.3, или по какой-то причине нужны оба?  Адрес
для виртуальной машины здесь вообще не прописывается - он будет
присутствовать только в настройках внутри самой ВМ.

> br0/ipv4route:default via 192.168.1.1/24

"/24" тут совсем лишнее.

> br0/options:TYPE=bri
> br0/options:HOST='eth0 tap0'
> br0/options:BOOTPROTO=static
> br0/options:ONBOOT=yes
> [andy@timelock ifaces]$ egrep  '^[^#]' tap0/*
> TYPE=tuntap
> TUNTAP_USER=andy
> ONBOOT=yes

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2009-10-27 10:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-22  9:02 Andrew Clark
2009-10-22 10:22 ` Sergey Vlasov
2009-10-22 11:11   ` Arcady Ivanov
2009-10-22 13:53     ` Roman Lesnichenko
2009-10-22 20:14       ` Arcady Ivanov
2009-10-22 11:19   ` Andrew Clark
2009-10-22 14:53     ` Sergey Vlasov
2009-10-27  6:44       ` Andrew Clark
2009-10-27 10:27         ` Sergey Vlasov [this message]
2009-10-27 10:59           ` Andrew Clark
2009-10-27 12:06             ` Sergey Vlasov
2009-10-27 13:54               ` Andrew Clark
2009-10-27 15:38                 ` Sergey Vlasov
2009-10-27 18:23                   ` Andrew Clark
2009-10-27 19:40                     ` Sergey Vlasov
2009-11-05  8:27                       ` Andrew Clark

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=20091027102759.GG9428@newmaster.mivlgu.local \
    --to=vsu@altlinux.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