<?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; Vlan3 bridge br0 для KVM]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=11976</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=11976&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Vlan3 bridge br0 для KVM».]]></description>
		<lastBuildDate>Tue, 22 Mar 2011 07:52:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Vlan3 bridge br0 для KVM]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=159179#p159179</link>
			<description><![CDATA[<p>В общем разобрался! когда настраиваешь сеть вручную и также запускаешь гостевую систему. неправильно создается XML ка гостевой тачки.<br />А именно не хватает вот этого параметра<br />&lt;interface type=&#039;bridge&#039;&gt;<br />&nbsp; &nbsp; &nbsp; &lt;mac address=&#039;00:11:22:33:44:55&#039;/&gt;<br />&nbsp; &nbsp; &nbsp; &lt;source bridge=&#039;br0&#039;/&gt;<br />&nbsp; &nbsp; &nbsp; &lt;model type=&#039;vnet0&#039;/&gt; &lt;------------------------------Вот его!<br />&nbsp; &nbsp; &lt;/interface&gt;<br />vnet0 Это сетевой интерфейс который запускается или создается одновременно&nbsp; с запуском гостевой машины. <br />Извените за кривизну написания, сам пока только разбираюсь в этом что да как.</p>]]></description>
			<author><![CDATA[null@example.com (genialen)]]></author>
			<pubDate>Tue, 22 Mar 2011 07:52:11 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=159179#p159179</guid>
		</item>
		<item>
			<title><![CDATA[Re: Vlan3 bridge br0 для KVM]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=158267#p158267</link>
			<description><![CDATA[<p>Я выше тоже давал пример и тоже виртуальная и kvm сама поднимает.<br /><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"><br />root@server:/home/user# ifconfig<br />eth0&nbsp; &nbsp; &nbsp; Link encap:Ethernet&nbsp; HWaddr 08:00:27:f5:90:5f&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet addr:172.16.0.43&nbsp; Bcast:172.16.0.255&nbsp; Mask:255.255.255.0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet6 addr: fe80::a00:27ff:fef5:905f/64 Scope:Link<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UP BROADCAST RUNNING MULTICAST&nbsp; MTU:1500&nbsp; Metric:1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX packets:15 errors:0 dropped:0 overruns:0 frame:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TX packets:11 errors:0 dropped:0 overruns:0 carrier:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; collisions:0 txqueuelen:1000 <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX bytes:2423 (2.3 KiB)&nbsp; TX bytes:1298 (1.2 KiB)</p><p>lo&nbsp; &nbsp; &nbsp; &nbsp; Link encap:Local Loopback&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet addr:127.0.0.1&nbsp; Mask:255.0.0.0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet6 addr: ::1/128 Scope:Host<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UP LOOPBACK RUNNING&nbsp; MTU:16436&nbsp; Metric:1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; collisions:0 txqueuelen:0 <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX bytes:0 (0.0 B)&nbsp; TX bytes:0 (0.0 B)</p><p>virbr0&nbsp; &nbsp; Link encap:Ethernet&nbsp; HWaddr 7e:08:2f:0b:10:ae&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet addr:192.168.100.1&nbsp; Bcast:192.168.100.255&nbsp; Mask:255.255.255.0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UP BROADCAST RUNNING MULTICAST&nbsp; MTU:1500&nbsp; Metric:1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; collisions:0 txqueuelen:0 <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX bytes:0 (0.0 B)&nbsp; TX bytes:0 (0.0 B)</p><p></div><br />192.168.100.1&nbsp; является шлюзом для виртуалок</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Sat, 19 Mar 2011 09:30:56 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=158267#p158267</guid>
		</item>
		<item>
			<title><![CDATA[Re: Vlan3 bridge br0 для KVM]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=158262#p158262</link>
			<description><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>Читал я это всё когда kvm поднимал мне проще отдельную сетевую поднять и нормально рулить на iptables</p></blockquote></div><p>Ты наверное не понял, там как-раз поднимается сетевая, только виртуальная:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><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"><br />$ ifconfig <br />eth0&nbsp; &nbsp; &nbsp; Link encap:Ethernet&nbsp; HWaddr 00:21:91:21:80:d5&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet6 addr: fe80::221:91ff:fe21:80d5/64 Scope:Link<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UP BROADCAST RUNNING MULTICAST&nbsp; MTU:1500&nbsp; Metric:1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX packets:150434 errors:0 dropped:0 overruns:0 frame:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TX packets:118566 errors:0 dropped:0 overruns:0 carrier:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; collisions:0 txqueuelen:1000 <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX bytes:123727177 (117.9 MiB)&nbsp; TX bytes:22717809 (21.6 MiB)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Interrupt:20 Base address:0x8c00 </p><p>eth1&nbsp; &nbsp; &nbsp; Link encap:Ethernet&nbsp; HWaddr 00:25:22:69:60:62&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet addr:192.168.0.1&nbsp; Bcast:192.168.0.255&nbsp; Mask:255.255.255.0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet6 addr: fe80::225:22ff:fe69:6062/64 Scope:Link<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UP BROADCAST RUNNING MULTICAST&nbsp; MTU:1500&nbsp; Metric:1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX packets:16948 errors:0 dropped:0 overruns:0 frame:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TX packets:23901 errors:0 dropped:0 overruns:0 carrier:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; collisions:0 txqueuelen:1000 <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX bytes:1729917 (1.6 MiB)&nbsp; TX bytes:30541573 (29.1 MiB)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Interrupt:42 </p><p>lo&nbsp; &nbsp; &nbsp; &nbsp; Link encap:Local Loopback&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet addr:127.0.0.1&nbsp; Mask:255.0.0.0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet6 addr: ::1/128 Scope:Host<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UP LOOPBACK RUNNING&nbsp; MTU:16436&nbsp; Metric:1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX packets:299 errors:0 dropped:0 overruns:0 frame:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TX packets:299 errors:0 dropped:0 overruns:0 carrier:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; collisions:0 txqueuelen:0 <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX bytes:40199 (39.2 KiB)&nbsp; TX bytes:40199 (39.2 KiB)</p><p>ppp0&nbsp; &nbsp; &nbsp; Link encap:Point-to-Point Protocol&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet addr:188.233.152.92&nbsp; P-t-P:88.87.85.199&nbsp; Mask:255.255.255.255<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UP POINTOPOINT RUNNING NOARP MULTICAST&nbsp; MTU:1492&nbsp; Metric:1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX packets:150216 errors:0 dropped:0 overruns:0 frame:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TX packets:118346 errors:0 dropped:0 overruns:0 carrier:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; collisions:0 txqueuelen:3 <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX bytes:120409250 (114.8 MiB)&nbsp; TX bytes:20107268 (19.1 MiB)</p><p>tap0&nbsp; &nbsp; &nbsp; Link encap:Ethernet&nbsp; HWaddr 3e:5e:97:45:03:bb&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet addr:192.168.1.1&nbsp; Bcast:192.168.1.255&nbsp; Mask:255.255.255.0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet6 addr: fe80::3c5e:97ff:fe45:3bb/64 Scope:Link<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UP BROADCAST RUNNING MULTICAST&nbsp; MTU:1500&nbsp; Metric:1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TX packets:36 errors:0 dropped:0 overruns:0 carrier:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; collisions:0 txqueuelen:500 <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX bytes:0 (0.0 B)&nbsp; TX bytes:4842 (4.7 KiB)</p><p></div></p></div></div><p>Вот как раз tap0 у меня шлюз для виртуалок, и все рулится как раз через iptables.</p>]]></description>
			<author><![CDATA[null@example.com (zenon)]]></author>
			<pubDate>Sat, 19 Mar 2011 08:57:01 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=158262#p158262</guid>
		</item>
		<item>
			<title><![CDATA[Re: Vlan3 bridge br0 для KVM]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=158261#p158261</link>
			<description><![CDATA[<p>Читал я это всё когда kvm поднимал мне проще отдельную сетевую поднять и нормально рулить на iptables чем таким извращением.<br />а по vde2&nbsp; не одного нормального мана нет</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Sat, 19 Mar 2011 08:48:48 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=158261#p158261</guid>
		</item>
		<item>
			<title><![CDATA[Re: Vlan3 bridge br0 для KVM]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=158259#p158259</link>
			<description><![CDATA[<p><strong>Kettler</strong>, это в той теме муть на деле только виртуальный свич в interfaces поднимается и всё, просто надо набраться терпения и какой-нибуть how-to про vde2 состряпать.</p><p>Вот еще тут я писал <a href="http://linuxforum.ru/viewtopic.php?pid=145838#p145838">http://linuxforum.ru/viewtopic.php?pid=145838#p145838</a></p>]]></description>
			<author><![CDATA[null@example.com (zenon)]]></author>
			<pubDate>Sat, 19 Mar 2011 08:38:04 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=158259#p158259</guid>
		</item>
		<item>
			<title><![CDATA[Re: Vlan3 bridge br0 для KVM]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=158220#p158220</link>
			<description><![CDATA[<div class="quotebox"><cite>newzenon пишет:</cite><blockquote><p><strong>genialen</strong>, <a href="http://linuxforum.ru/viewtopic.php?id=3948">http://linuxforum.ru/viewtopic.php?id=3948</a></p></blockquote></div><p>Страшная муть) без этого куда всё проще</p><p>Поднимаеться при загрузке!</p><p>cat /etc/libvirt/qemu/networks/net.xml</p><div class="codebox"><pre><code>&lt;network&gt;
  &lt;name&gt;net&lt;/name&gt;
  &lt;uuid&gt;9d40881f-6763-b7b8-3b96-b50d064d1b62&lt;/uuid&gt;
  &lt;bridge name=&#039;virbr0&#039; stp=&#039;on&#039; delay=&#039;0&#039; /&gt;
  &lt;ip address=&#039;192.168.100.1&#039; netmask=&#039;255.255.255.0&#039;&gt;
    &lt;dhcp&gt;
      &lt;range start=&#039;192.168.100.128&#039; end=&#039;192.168.100.254&#039; /&gt;
    &lt;/dhcp&gt;
  &lt;/ip&gt;
&lt;/network&gt;</code></pre></div><br /><p>cat /etc/libvirt/qemu/windows.xml<br /></p><div class="codebox"><pre><code>&lt;domain type=&#039;qemu&#039;&gt;
  &lt;name&gt;widows&lt;/name&gt;
  &lt;uuid&gt;cee44e62-e2f6-90d3-0670-ef51ef97e9f9&lt;/uuid&gt;
  &lt;memory&gt;524288&lt;/memory&gt;
  &lt;currentMemory&gt;524288&lt;/currentMemory&gt;
  &lt;vcpu&gt;1&lt;/vcpu&gt;
  &lt;os&gt;
    &lt;type arch=&#039;i686&#039; machine=&#039;pc-0.12&#039;&gt;hvm&lt;/type&gt;
    &lt;boot dev=&#039;hd&#039;/&gt;
  &lt;/os&gt;
  &lt;features&gt;
    &lt;acpi/&gt;
    &lt;apic/&gt;
    &lt;pae/&gt;
  &lt;/features&gt;
  &lt;clock offset=&#039;localtime&#039;/&gt;
  &lt;on_poweroff&gt;destroy&lt;/on_poweroff&gt;
  &lt;on_reboot&gt;restart&lt;/on_reboot&gt;
  &lt;on_crash&gt;restart&lt;/on_crash&gt;
  &lt;devices&gt;
    &lt;emulator&gt;/usr/bin/qemu&lt;/emulator&gt;
    &lt;disk type=&#039;file&#039; device=&#039;disk&#039;&gt;
      &lt;driver name=&#039;qemu&#039; type=&#039;raw&#039;/&gt;
      &lt;source file=&#039;/mnt/vmxp.img&#039;/&gt;
      &lt;target dev=&#039;hda&#039; bus=&#039;ide&#039;/&gt;
      &lt;address type=&#039;drive&#039; controller=&#039;0&#039; bus=&#039;0&#039; unit=&#039;0&#039;/&gt;
    &lt;/disk&gt;
    &lt;controller type=&#039;ide&#039; index=&#039;0&#039;&gt;
      &lt;address type=&#039;pci&#039; domain=&#039;0x0000&#039; bus=&#039;0x00&#039; slot=&#039;0x01&#039; function=&#039;0x1&#039;/&gt;
    &lt;/controller&gt;
    &lt;interface type=&#039;network&#039;&gt;
      &lt;mac address=&#039;52:54:00:06:00:71&#039;/&gt;
      &lt;source network=&#039;net&#039;/&gt;
      &lt;address type=&#039;pci&#039; domain=&#039;0x0000&#039; bus=&#039;0x00&#039; slot=&#039;0x03&#039; function=&#039;0x0&#039;/&gt;
    &lt;/interface&gt;
    &lt;serial type=&#039;pty&#039;&gt;
      &lt;target port=&#039;0&#039;/&gt;
    &lt;/serial&gt;
    &lt;console type=&#039;pty&#039;&gt;
      &lt;target type=&#039;serial&#039; port=&#039;0&#039;/&gt;
    &lt;/console&gt;
    &lt;input type=&#039;tablet&#039; bus=&#039;usb&#039;/&gt;
    &lt;input type=&#039;mouse&#039; bus=&#039;ps2&#039;/&gt;
    &lt;graphics type=&#039;vnc&#039; port=&#039;-1&#039; autoport=&#039;yes&#039;/&gt;
    &lt;sound model=&#039;ac97&#039;&gt;
      &lt;address type=&#039;pci&#039; domain=&#039;0x0000&#039; bus=&#039;0x00&#039; slot=&#039;0x04&#039; function=&#039;0x0&#039;/&gt;
    &lt;/sound&gt;
    &lt;video&gt;
      &lt;model type=&#039;vga&#039; vram=&#039;9216&#039; heads=&#039;1&#039;/&gt;
      &lt;address type=&#039;pci&#039; domain=&#039;0x0000&#039; bus=&#039;0x00&#039; slot=&#039;0x02&#039; function=&#039;0x0&#039;/&gt;
    &lt;/video&gt;
    &lt;memballoon model=&#039;virtio&#039;&gt;
      &lt;address type=&#039;pci&#039; domain=&#039;0x0000&#039; bus=&#039;0x00&#039; slot=&#039;0x05&#039; function=&#039;0x0&#039;/&gt;
    &lt;/memballoon&gt;
  &lt;/devices&gt;
&lt;/domain&gt;</code></pre></div><p>Работает без bridge</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Sat, 19 Mar 2011 06:58:56 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=158220#p158220</guid>
		</item>
		<item>
			<title><![CDATA[Re: Vlan3 bridge br0 для KVM]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=158158#p158158</link>
			<description><![CDATA[<p><strong>genialen</strong>, <a href="http://linuxforum.ru/viewtopic.php?id=3948">http://linuxforum.ru/viewtopic.php?id=3948</a></p>]]></description>
			<author><![CDATA[null@example.com (zenon)]]></author>
			<pubDate>Fri, 18 Mar 2011 19:46:55 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=158158#p158158</guid>
		</item>
		<item>
			<title><![CDATA[Re: Vlan3 bridge br0 для KVM]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=158130#p158130</link>
			<description><![CDATA[<p>Блин <span style="color: red"><strong>[CENSORED]</strong></span> щас показать не могу но уже в KVM есть гуй через который настраиваешь сетевой интерфейс! И с ним работаешь как с сетевой. У самого всё пашет так ток на работе<br />А в бридже надо 2 интерфейса но не как не один</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Fri, 18 Mar 2011 17:55:36 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=158130#p158130</guid>
		</item>
		<item>
			<title><![CDATA[Re: Vlan3 bridge br0 для KVM]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=158109#p158109</link>
			<description><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>Зачем создавать br0 если вы токо вешаете на него 1 интерфейс?</p></blockquote></div><p>А как иначе запустить виртуалку на KVM в бридже?</p>]]></description>
			<author><![CDATA[null@example.com (genialen)]]></author>
			<pubDate>Fri, 18 Mar 2011 16:45:14 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=158109#p158109</guid>
		</item>
		<item>
			<title><![CDATA[Re: Vlan3 bridge br0 для KVM]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=158107#p158107</link>
			<description><![CDATA[<div class="quotebox"><cite>newzenon пишет:</cite><blockquote><p>А почему бридж, я так примерно делаю:<br /><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"><br /># VDE<br />auto tap0<br />iface tap0 inet static<br />&nbsp; address 192.168.1.1<br />&nbsp; netmask 255.255.255.0<br />&nbsp; network 192.168.1.0<br />&nbsp; broadcast 192.168.1.255<br />&nbsp; pre-up&nbsp; &nbsp; vde_tunctl -t tap0<br />&nbsp; pre-up&nbsp; &nbsp; vde_switch -x -n 10 \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-s /var/run/vde2/vde_192.ctl \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-g vde2-net -m 770 \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-d -p /var/run/vde2/vde_192.pid -t tap0<br />#&nbsp; &nbsp; pre-up&nbsp; &nbsp; iptables-restore &lt; /etc/ip_rulles.lst<br />#&nbsp; &nbsp; post-down iptables-save&nbsp; &nbsp; &gt; /etc/ip_rulles.lst<br />&nbsp; post-down kill `/bin/cat /var/run/vde2/vde_192.pid`<br />&nbsp; post-down vde_tunctl -d tap0<br /></div><br />dhcp вешал, работал нормально, за не надобностью - статик.</p></blockquote></div><br /><p>Эх понять бы мне теперь что тут да как? Может манчик подкинете?</p>]]></description>
			<author><![CDATA[null@example.com (genialen)]]></author>
			<pubDate>Fri, 18 Mar 2011 16:44:28 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=158107#p158107</guid>
		</item>
		<item>
			<title><![CDATA[Re: Vlan3 bridge br0 для KVM]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=157910#p157910</link>
			<description><![CDATA[<p>Зачем создавать br0 если вы токо вешаете на него 1 интерфейс?</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Fri, 18 Mar 2011 08:31:07 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=157910#p157910</guid>
		</item>
		<item>
			<title><![CDATA[Re: Vlan3 bridge br0 для KVM]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=157906#p157906</link>
			<description><![CDATA[<p>А почему бридж, я так примерно делаю:<br /><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"><br /># VDE<br />auto tap0<br />iface tap0 inet static<br />&nbsp; address 192.168.1.1<br />&nbsp; netmask 255.255.255.0<br />&nbsp; network 192.168.1.0<br />&nbsp; broadcast 192.168.1.255<br />&nbsp; pre-up&nbsp; &nbsp; vde_tunctl -t tap0<br />&nbsp; pre-up&nbsp; &nbsp; vde_switch -x -n 10 \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-s /var/run/vde2/vde_192.ctl \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-g vde2-net -m 770 \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-d -p /var/run/vde2/vde_192.pid -t tap0<br />#&nbsp; &nbsp; pre-up&nbsp; &nbsp; iptables-restore &lt; /etc/ip_rulles.lst<br />#&nbsp; &nbsp; post-down iptables-save&nbsp; &nbsp; &gt; /etc/ip_rulles.lst<br />&nbsp; post-down kill `/bin/cat /var/run/vde2/vde_192.pid`<br />&nbsp; post-down vde_tunctl -d tap0<br /></div><br />dhcp вешал, работал нормально, за не надобностью - статик.</p>]]></description>
			<author><![CDATA[null@example.com (zenon)]]></author>
			<pubDate>Fri, 18 Mar 2011 08:25:54 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=157906#p157906</guid>
		</item>
		<item>
			<title><![CDATA[Vlan3 bridge br0 для KVM]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=157901#p157901</link>
			<description><![CDATA[<p>Привет всем! <br />Третий день бьюсь с этим глюком и не могу понять как же всетаки прицепить бриджем br0 на vlan и на bond0 так чтобы br0 получал ип от dhcp?<br />Фаерволов в сети нет! Ститически прописать все ок все работает а вот динамически не хочет. Хотя если у вилана поставить получать ип от dhcp то всет все получает, аналогично и с бондингом если поставить dhcp то тоже получит ип. а вот все br какие бы не циплял на bond0 и на vlan не хочет получать от dhcp<br />Посмотрите конфиг<br /></p><div class="codebox"><pre><code># This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.107
netmask 255.255.255.0
gateway 192.168.0.1


auto bond0
iface bond0 inet manual
        up ifconfig bond0 0.0.0.0 up
        slaves eth1 eth2
auto vlan3
iface vlan3 inet manual
        vlan-raw-device bond0

auto vlan4
iface vlan4 inet manual
        vlan-raw-device bond0

auto vlan5
iface vlan5 inet manual
        vlan-raw-device bond0

auto br0
iface br0 inet dhcp
#address 192.168.0.99
#netmask 255.255.255.0

        #bridge_fd 9
        #bridge_hello 2
        #bridge_maxage 12
        #bridge_stp off
        pre-up brctl addbr br0
        pre-up brctl addif br0 bond0
        hwaddress ether 00:1c:f0:0e:86:d9
        post-down brctl delbr br0
        ifup br0

auto br1
iface br1 inet dhcp  
#address 192.168.16.157
#netmask 255.255.255.0

        #bridge_fd 9
        #bridge_hello 2
        #bridge_maxage 12
        #bridge_stp off
        pre-up brctl addbr br1
        pre-up brctl addif br1 vlan3
        hwaddress ether 00:1c:f0:0e:86:d8
        post-down brctl delbr br1
        ifup br1</code></pre></div><div class="codebox"><pre><code>root@reboot:/# brctl show
bridge name    bridge id        STP enabled    interfaces
br0        8000.001cf00e86d9    no        bond0
br1        8000.001cf00e86d8    no        vlan3</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (genialen)]]></author>
			<pubDate>Fri, 18 Mar 2011 08:11:00 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=157901#p157901</guid>
		</item>
	</channel>
</rss>
