<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Второй мост на хостовой машине]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=23391</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=23391&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Второй мост на хостовой машине».]]></description>
		<lastBuildDate>Thu, 19 Jul 2012 15:52:16 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Второй мост на хостовой машине]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=288921#p288921</link>
			<description><![CDATA[<p>ну да, хотя по моему может понадобиться влезть поглубже, в iproute2</p>]]></description>
			<author><![CDATA[null@example.com (dyasny)]]></author>
			<pubDate>Thu, 19 Jul 2012 15:52:16 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=288921#p288921</guid>
		</item>
		<item>
			<title><![CDATA[Re: Второй мост на хостовой машине]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=288917#p288917</link>
			<description><![CDATA[<p>А FORWARD с br0 на br1 и на оборот не поможет?<br />типо</p><div class="codebox"><pre><code>-A FORWARD -i br0 -o br1 -j ACCEPT
-A FORWARD -i br1 -o br0 -j ACCEPT</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (XliN)]]></author>
			<pubDate>Thu, 19 Jul 2012 14:45:04 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=288917#p288917</guid>
		</item>
		<item>
			<title><![CDATA[Re: Второй мост на хостовой машине]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=288915#p288915</link>
			<description><![CDATA[<div class="quotebox"><cite>XliN пишет:</cite><blockquote><p>С компа из сети 192.168.1.0/24 пингуется только bridge0. С компа из сети 192.168.3.0/24 пингуется только bridge1.</p></blockquote></div><p>ааа, дошло<br />раутинг надо поднимать, если надо чтоб отовсюду везде пинговало. или тем виртуалкам которым надо обе сети давать две виртуальных сетевушки, прицепленные к двум виртуальным свичам</p>]]></description>
			<author><![CDATA[null@example.com (dyasny)]]></author>
			<pubDate>Thu, 19 Jul 2012 14:42:19 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=288915#p288915</guid>
		</item>
		<item>
			<title><![CDATA[Re: Второй мост на хостовой машине]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=288914#p288914</link>
			<description><![CDATA[<div class="codebox"><pre><code>192.168.3.0/24 dev bridge1  proto kernel  scope link  src 192.168.3.133
192.168.1.0/24 dev bridge0  proto kernel  scope link  src 192.168.1.134
169.254.0.0/16 dev bridge0  scope link  metric 1004
169.254.0.0/16 dev bridge1  scope link  metric 1041
default via 192.168.1.77 dev bridge0
default via 192.168.3.77 dev bridge1</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (XliN)]]></author>
			<pubDate>Thu, 19 Jul 2012 14:41:07 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=288914#p288914</guid>
		</item>
		<item>
			<title><![CDATA[Re: Второй мост на хостовой машине]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=288913#p288913</link>
			<description><![CDATA[<p>а заодно и ip r l</p>]]></description>
			<author><![CDATA[null@example.com (dyasny)]]></author>
			<pubDate>Thu, 19 Jul 2012 14:40:22 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=288913#p288913</guid>
		</item>
		<item>
			<title><![CDATA[Re: Второй мост на хостовой машине]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=288912#p288912</link>
			<description><![CDATA[<p>Вопрос снят. Я где то впервый раз натупил и сделал не внимательно. Все работает<br /></p><div class="codebox"><pre><code>bridge name     bridge id               STP enabled     interfaces
bridge0         8000.0025903cd1e7       no              eth1
                                                        vnet0
                                                        vnet1
bridge1         8000.0025903cd1e6       no              eth0
                                                        vnet2</code></pre></div><p>Вопрос. Интерфейс сам же добавляет гейтвей по умолчанию? Т.к. он прописан в ifcfg. <br /></p><div class="codebox"><pre><code>default via 192.168.1.77 dev bridge0
default via 192.168.3.77 dev bridge1</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (XliN)]]></author>
			<pubDate>Thu, 19 Jul 2012 14:39:05 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=288912#p288912</guid>
		</item>
		<item>
			<title><![CDATA[Re: Второй мост на хостовой машине]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=288911#p288911</link>
			<description><![CDATA[<p>Ситуация такая. bridge0 -- eth1 и bridge1 -- eth0. Конфиги я поправил сверху. <br /></p><div class="codebox"><pre><code>[root@micro devices]# cat ifcfg-bridge0
DEVICE=&quot;bridge0&quot;
TYPE=Bridge
DELAY=0
BOOTPROTO=&quot;static&quot;
IPADDR=192.168.1.134
NETMASK=255.255.255.0
GATEWAY=192.168.1.77
ONBOOT=yes

[root@micro devices]# cat ifcfg-bridge1
DEVICE=&quot;bridge1&quot;
TYPE=Bridge
DELAY=0
BOOTPROTO=&quot;static&quot;
IPADDR=192.168.3.133
NETMASK=255.255.255.0
GATEWAY=192.168.3.77
ONBOOT=yes

[root@micro devices]# cat ifcfg-eth0
DEVICE=&quot;eth0&quot;
BOOTPROTO=&quot;static&quot;
HWADDR=&quot;00:25:90:3C:D1:E6&quot;
BRIDGE=bridge1
ONBOOT=&quot;yes&quot;
[root@micro devices]# cat ifcfg-eth1
DEVICE=&quot;eth1&quot;
BOOTPROTO=&quot;static&quot;
HWADDR=&quot;00:25:90:3C:D1:E7&quot;
BRIDGE=bridge0
ONBOOT=&quot;yes&quot;</code></pre></div><p>С компа из сети 192.168.1.0/24 пингуется только bridge0. С компа из сети 192.168.3.0/24 пингуется только bridge1.<br />Сейчас покажу&nbsp; brctl show с запущеной ВМ привязанной к bridge1</p>]]></description>
			<author><![CDATA[null@example.com (XliN)]]></author>
			<pubDate>Thu, 19 Jul 2012 14:33:41 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=288911#p288911</guid>
		</item>
		<item>
			<title><![CDATA[Re: Второй мост на хостовой машине]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=288909#p288909</link>
			<description><![CDATA[<p>1. в ifcfg-bridge1 не хватает DELAY=0<br />2. ничего странного не замечаете? к bridge0 прицеплен eth1 и наоборот. ну и в конфиге eth1 видно почему, а остальных конфигов тут нет<br />3. brctl show был взят во время запуска ВМ который к bridge1 должен цепляться?</p>]]></description>
			<author><![CDATA[null@example.com (dyasny)]]></author>
			<pubDate>Thu, 19 Jul 2012 14:19:03 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=288909#p288909</guid>
		</item>
		<item>
			<title><![CDATA[Re: Второй мост на хостовой машине]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=288908#p288908</link>
			<description><![CDATA[<p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"># cat ifcfg-eth0<br />DEVICE=&quot;eth0&quot;<br />BOOTPROTO=&quot;static&quot;<br />HWADDR=&quot;00:25:90:3C:D1:E6&quot;<br />BRIDGE=bridge1<br />ONBOOT=&quot;yes&quot;<br /></div></p><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"># cat ifcfg-bridge1<br />DEVICE=&quot;bridge1&quot;<br />TYPE=Bridge<br />BOOTPROTO=&quot;static&quot;<br />IPADDR=192.168.3.133<br />NETMASK=255.255.255.0<br />GATEWAY=192.168.3.77<br />ONBOOT=yes</div></p><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">bridge name&nbsp; &nbsp; &nbsp;bridge id&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;STP enabled&nbsp; &nbsp; &nbsp;interfaces<br />bridge0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;8000.0025903cd1e7&nbsp; &nbsp; &nbsp; &nbsp;no&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; eth1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; vnet0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; vnet1<br />bridge1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;8000.0025903cd1e6&nbsp; &nbsp; &nbsp; &nbsp;no&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; eth0</div></p><p>192.168.3.0/24 --&gt; eth1 -- eth0 &lt;-- 192.168.1.0/24<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;bridge0&nbsp; &nbsp;bridge1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;------------|&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; vnet0&nbsp; vnet1</p><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[root@micro devices]# ip r l<br />192.168.3.0/24 dev bridge1&nbsp; proto kernel&nbsp; scope link&nbsp; src 192.168.3.133<br />192.168.1.0/24 dev bridge0&nbsp; proto kernel&nbsp; scope link&nbsp; src 192.168.1.134<br />169.254.0.0/16 dev bridge0&nbsp; scope link&nbsp; metric 1004<br />169.254.0.0/16 dev bridge1&nbsp; scope link&nbsp; metric 1041<br />default via 192.168.1.77 dev bridge0<br />default via 192.168.3.77 dev bridge1</div></p>]]></description>
			<author><![CDATA[null@example.com (XliN)]]></author>
			<pubDate>Thu, 19 Jul 2012 14:14:42 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=288908#p288908</guid>
		</item>
		<item>
			<title><![CDATA[Re: Второй мост на хостовой машине]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=288901#p288901</link>
			<description><![CDATA[<p>содержание ifcfg скриптов и brctl show в студию</p>]]></description>
			<author><![CDATA[null@example.com (dyasny)]]></author>
			<pubDate>Thu, 19 Jul 2012 13:53:29 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=288901#p288901</guid>
		</item>
		<item>
			<title><![CDATA[Второй мост на хостовой машине]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=288898#p288898</link>
			<description><![CDATA[<p>Раз поняслась такая свевтопляска, задам свлй вопро.<br />На хостовой системе три сетевыйх. Centos видит только две. Не погятно почему, но это не важно.</p><p>Есть поднятый bridge0 привязянный к eth1. На этом мосту висят две виртуалки vnet0 и vnet1. Если заводить в libvirt новую вм, то она цепляется к мосту и создает еще одну vnet2.<br />Настроил второй бридж на eth0. Назначил ему ip с другой сети. Ставлю ВМ, вибираю второй мост и в итоге получаю что гость не видит сетевуху. Причем из локалки бридж не пингуется. Т.е. на бридже не создаются vnet интерфейсы.<br />Задача клиентам заходить на сервер&nbsp; разных подситей.</p>]]></description>
			<author><![CDATA[null@example.com (XliN)]]></author>
			<pubDate>Thu, 19 Jul 2012 13:41:44 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=288898#p288898</guid>
		</item>
	</channel>
</rss>
