<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>Аспро: ЛайтШоп [тема: Проблемы с VLAN]</title>
		<link>http://proxmox.su</link>
		<description>Новое в теме Проблемы с VLAN форума Proxmox Виртуальная Среда на сайте Аспро: ЛайтШоп [proxmox.su]</description>
		<language>ru</language>
		<docs>http://backend.userland.com/rss2</docs>
		<pubDate>Sun, 22 Nov 2026 18:41:27 +0300</pubDate>
		<item>
			<title>Проблемы с VLAN</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message342742/79916-problemy-s-vlan">Проблемы с VLAN</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Совет-спасатель жизни: я переезжаю на Proxmox и купил два мини-ПК, сейчас это сервера Proxmox VE с двумя интерфейсами на каждом. Хотел изолировать один из них за фаерволом pfsense, но не смог заставить VLANы работать... Перепробовал всё, и помогли вот эти два варианта.<br /><br />Спойлер<br /><br />pve1: &nbsp;<br />Code: &nbsp;<br />auto lo &nbsp;<br />iface lo inet loopback &nbsp;<br /> &nbsp;<br />auto enp3s0 &nbsp;<br />iface enp3s0 inet manual &nbsp;<br /> &nbsp;<br />auto enp1s0 &nbsp;<br />iface enp1s0 inet manual &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;rx-vlan-filter off &nbsp;<br /> &nbsp;<br />auto vmbr0 &nbsp;<br />iface vmbr0 inet static &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;address 192.168.0.7/24 &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;gateway 192.168.0.254 &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-ports enp3s0 &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-stp off &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-fd 0 &nbsp;<br /> &nbsp;<br />iface wlp2s0 inet manual &nbsp;<br /> &nbsp;<br />auto vmbr1 &nbsp;<br />iface vmbr1 inet manual &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-ports enp1s0 &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-stp off &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-fd 0 &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-vlan-aware yes &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-vids 10 &nbsp;<br />#IF_trunk<br /><br />pve2: &nbsp;<br />Code: &nbsp;<br />auto lo &nbsp;<br />iface lo inet loopback &nbsp;<br /> &nbsp;<br />iface enp1s0 inet manual &nbsp;<br /> &nbsp;<br />iface enp2s0 inet manual &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;rx-vlan-filter off &nbsp;<br /> &nbsp;<br />auto vmbr0 &nbsp;<br />iface vmbr0 inet static &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;address 192.168.0.8/24 &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;gateway 192.168.0.254 &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-ports enp1s0 &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-stp off &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-fd 0 &nbsp;<br />#proxmox interface &nbsp;<br /> &nbsp;<br />auto vmbr1 &nbsp;<br />iface vmbr1 inet manual &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-ports enp2s0 &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-stp off &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-fd 0 &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-vlan-aware yes &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-vids 10 &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;mtu 1492 &nbsp;<br />#IF_trunk<br /><br />Теперь я просто тегирую интерфейсы ВМ, и мои VLANы работают как надо. <br />
			<i>29.08.2024 19:39:00, cthulhu897.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message342742/79916-problemy-s-vlan</link>
			<guid>http://proxmox.su/forum/messages/forum63/message342742/79916-problemy-s-vlan</guid>
			<pubDate>Thu, 29 Aug 2024 19:39:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Проблемы с VLAN</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message342741/79916-problemy-s-vlan">Проблемы с VLAN</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			У меня сегодня была такая же проблема на PVE 8.1.4 с Mellanox Technologies MT26448. Я просто добавил все VLAN, которые есть в моей сети, максимум — всего 126 VLAN. Добавлять больше не нужно, и у меня всё равно не работает для моей сетевой карты. rx-vlan-filter off Просто добавьте в настройки моста: bridge-vlan-aware yes bridge-vids 10,20,30,40,50 &nbsp;&lt;---- Главное, чтобы всего было не больше 126. <br />
			<i>23.02.2024 19:49:00, FireROR.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message342741/79916-problemy-s-vlan</link>
			<guid>http://proxmox.su/forum/messages/forum63/message342741/79916-problemy-s-vlan</guid>
			<pubDate>Fri, 23 Feb 2024 19:49:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Проблемы с VLAN</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message342740/79916-problemy-s-vlan">Проблемы с VLAN</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Ммм, возможно, драйвер solarflare не позволяет это менять. (Не уверен, что это можно сделать, когда интерфейс уже активен и находится в режиме моста). Если есть возможность перезагрузиться, чтобы удостовериться, это было бы здорово. <br />
			<i>18.08.2023 18:59:00, spirit.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message342740/79916-problemy-s-vlan</link>
			<guid>http://proxmox.su/forum/messages/forum63/message342740/79916-problemy-s-vlan</guid>
			<pubDate>Fri, 18 Aug 2023 18:59:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Проблемы с VLAN</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message342739/79916-problemy-s-vlan">Проблемы с VLAN</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Понял, извиняюсь, я немного новичок в этом деле. Похоже, что так делать нельзя, потому что теперь я получаю ещё одну ошибку: Bash: Exception: команда '/sbin/ethtool -K enp5s0 rx-vlan-filter off' завершилась с ошибкой: вернула 1 (Не удалось изменить ни одной из функций устройства &nbsp;<br />Фактические изменения: &nbsp;<br />rx-vlan-filter: включён [запрошено выключение]  <br />)<br /><br />Полный текст ошибки: &nbsp;<br />Bash: info: vmbr2: применяется конфигурация порта моста: ['enp5s0']  <br />debug: enp5s0: pre-up: запуск модуля bridgevlan &nbsp;<br />debug: enp5s0: pre-up: запуск модуля tunnel &nbsp;<br />debug: enp5s0: pre-up: запуск модуля vrf &nbsp;<br />debug: enp5s0: pre-up: запуск модуля ethtool &nbsp;<br />info: чтение '/sys/class/net/enp5s0/rx-vlan-filter' &nbsp;<br />info: выполнение /sbin/ethtool -K enp5s0 rx-vlan-filter off &nbsp;<br />debug: &nbsp; Файл "/usr/sbin/ifreload", строка 135, в &lt;module&gt; &nbsp;<br /> &nbsp; &nbsp;sys.exit(main()) &nbsp;<br /> &nbsp;Файл "/usr/sbin/ifreload", строка 123, в main &nbsp;<br /> &nbsp; &nbsp;return stand_alone() &nbsp;<br /> &nbsp;Файл "/usr/sbin/ifreload", строка 103, в stand_alone &nbsp;<br /> &nbsp; &nbsp;status = ifupdown2.main() &nbsp;<br /> &nbsp;Файл "/usr/share/ifupdown2/ifupdown/main.py", строка 77, в main &nbsp;<br /> &nbsp; &nbsp;self.handlers.get(self.op)(self.args) &nbsp;<br /> &nbsp;Файл "/usr/share/ifupdown2/ifupdown/main.py", строка 284, в run_reload &nbsp;<br /> &nbsp; &nbsp;ifupdown_handle.reload(['pre-up', 'up', 'post-up'],  <br /> &nbsp;Файл "/usr/share/ifupdown2/ifupdown/ifupdownmain.py", строка 2447, в reload &nbsp;<br /> &nbsp; &nbsp;self._reload_default(*args, **kargs) &nbsp;<br /> &nbsp;Файл "/usr/share/ifupdown2/ifupdown/ifupdownmain.py", строка 2425, в _reload_default &nbsp;<br /> &nbsp; &nbsp;ret = self._sched_ifaces(new_filtered_ifacenames, upops, &nbsp;<br /> &nbsp;Файл "/usr/share/ifupdown2/ifupdown/ifupdownmain.py", строка 1566, в _sched_ifaces &nbsp;<br /> &nbsp; &nbsp;ifaceScheduler.sched_ifaces(self, ifacenames, ops, &nbsp;<br /> &nbsp;Файл "/usr/share/ifupdown2/ifupdown/scheduler.py", строка 595, в sched_ifaces &nbsp;<br /> &nbsp; &nbsp;cls.run_iface_list(ifupdownobj, run_queue, ops, &nbsp;<br /> &nbsp;Файл "/usr/share/ifupdown2/ifupdown/scheduler.py", строка 325, в run_iface_list &nbsp;<br /> &nbsp; &nbsp;cls.run_iface_graph(ifupdownobj, ifacename, ops, parent, &nbsp;<br /> &nbsp;Файл "/usr/share/ifupdown2/ifupdown/scheduler.py", строка 302, в run_iface_graph &nbsp;<br /> &nbsp; &nbsp;cls.run_iface_list(ifupdownobj, dlist, ops, &nbsp;<br /> &nbsp;Файл "/usr/share/ifupdown2/ifupdown/scheduler.py", строка 325, в run_iface_list &nbsp;<br /> &nbsp; &nbsp;cls.run_iface_graph(ifupdownobj, ifacename, ops, parent, &nbsp;<br /> &nbsp;Файл "/usr/share/ifupdown2/ifupdown/scheduler.py", строка 302, в run_iface_graph &nbsp;<br /> &nbsp; &nbsp;cls.run_iface_list(ifupdownobj, dlist, ops, &nbsp;<br /> &nbsp;Файл "/usr/share/ifupdown2/ifupdown/scheduler.py", строка 325, в run_iface_list &nbsp;<br /> &nbsp; &nbsp;cls.run_iface_graph(ifupdownobj, ifacename, ops, parent, &nbsp;<br /> &nbsp;Файл "/usr/share/ifupdown2/ifupdown/scheduler.py", строка 315, в run_iface_graph &nbsp;<br /> &nbsp; &nbsp;cls.run_iface_list_ops(ifupdownobj, ifaceobjs, ops) &nbsp;<br /> &nbsp;Файл "/usr/share/ifupdown2/ifupdown/scheduler.py", строка 188, в run_iface_list_ops &nbsp;<br /> &nbsp; &nbsp;cls.run_iface_op(ifupdownobj, ifaceobj, op, &nbsp;<br /> &nbsp;Файл "/usr/share/ifupdown2/ifupdown/scheduler.py", строка 106, в run_iface_op &nbsp;<br /> &nbsp; &nbsp;m.run(ifaceobj, op, &nbsp;<br /> &nbsp;Файл "/usr/share/ifupdown2/addons/ethtool.py", строка 669, в run &nbsp;<br /> &nbsp; &nbsp;op_handler(self, ifaceobj) &nbsp;<br /> &nbsp;Файл "/usr/share/ifupdown2/addons/ethtool.py", строка 393, в _pre_up &nbsp;<br /> &nbsp; &nbsp;self.do_offload_settings(ifaceobj, 'rx-vlan-filter', 'rx-vlan-filter') &nbsp;<br /> &nbsp;Файл "/usr/share/ifupdown2/addons/ethtool.py", строка 224, в do_offload_settings &nbsp;<br /> &nbsp; &nbsp;self.log_error('%s: %s' % (ifaceobj.name, str(e)), ifaceobj) &nbsp;<br /> &nbsp;Файл "/usr/share/ifupdown2/ifupdownaddons/modulebase.py", строка 121, в log_error &nbsp;<br /> &nbsp; &nbsp;stack = traceback.format_stack() &nbsp;<br />debug: Трассировка (последний вызов последний): &nbsp;<br /> &nbsp;Файл "/usr/share/ifupdown2/addons/ethtool.py", строка 222, в do_offload_settings &nbsp;<br /> &nbsp; &nbsp;utils.exec_command(cmd) &nbsp;<br /> &nbsp;Файл "/usr/share/ifupdown2/ifupdown/utils.py", строка 414, в exec_command &nbsp;<br /> &nbsp; &nbsp;return cls._execute_subprocess(shlex.split(cmd), &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ &nbsp;<br /> &nbsp;Файл "/usr/share/ifupdown2/ifupdown/utils.py", строка 392, в _execute_subprocess &nbsp;<br /> &nbsp; &nbsp;raise Exception(cls._format_error(cmd, &nbsp;<br />Исключение: команда '/sbin/ethtool -K enp5s0 rx-vlan-filter off' завершилась ошибкой: вернула 1 (Не удалось изменить ни одной из функций устройства &nbsp;<br />Фактические изменения: &nbsp;<br />rx-vlan-filter: включён [запрошено выключение]  <br />) &nbsp;<br />Ошибка: enp5s0: команда '/sbin/ethtool -K enp5s0 rx-vlan-filter off' завершилась ошибкой: вернула 1 (Не удалось изменить ни одной из функций устройства &nbsp;<br />Фактические изменения: &nbsp;<br />rx-vlan-filter: включён [запрошено выключение]  <br />) <br />
			<i>18.08.2023 18:57:00, Zoarial.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message342739/79916-problemy-s-vlan</link>
			<guid>http://proxmox.su/forum/messages/forum63/message342739/79916-problemy-s-vlan</guid>
			<pubDate>Fri, 18 Aug 2023 18:57:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Проблемы с VLAN</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message342738/79916-problemy-s-vlan">Проблемы с VLAN</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			К сожалению, это снова вызывает у меня исходную ошибку. Просто чтобы уточнить, я добавляю это в конфигурацию моста вот так?<br /><br />Bash:<br />auto vmbr2<br />iface vmbr2 inet static<br /> &nbsp; &nbsp; &nbsp; &nbsp;address 10.0.0.4/24<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-ports enp5s0<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-stp off<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-fd 0<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-vlan-aware yes<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-vids 2-4094<br /> &nbsp; &nbsp; &nbsp; &nbsp;rx-vlan-filter off<br />#VLAN Trunk <br />
			<i>18.08.2023 17:49:00, Zoarial.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message342738/79916-problemy-s-vlan</link>
			<guid>http://proxmox.su/forum/messages/forum63/message342738/79916-problemy-s-vlan</guid>
			<pubDate>Fri, 18 Aug 2023 17:49:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Проблемы с VLAN</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message342737/79916-problemy-s-vlan">Проблемы с VLAN</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Для proxmox8 можно попробовать добавить rx-vlan-filter off в /etc/network/interfaces. Код: &nbsp;<br />auto enp5s0 &nbsp;<br />iface enp5s0 ... &nbsp;<br /> &nbsp; &nbsp; &nbsp;.... &nbsp;<br /> &nbsp; &nbsp; &nbsp;rx-vlan-filter off &nbsp;<br /><br />Далее перезагрузить сетевые настройки (ifreload -a). Это работает с картой mellanox, не уверен насчёт Solarflare, было бы здорово проверить, так как я хочу добавить эту опцию по умолчанию при включённом vlan aware. <br />
			<i>18.08.2023 17:31:00, spirit.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message342737/79916-problemy-s-vlan</link>
			<guid>http://proxmox.su/forum/messages/forum63/message342737/79916-problemy-s-vlan</guid>
			<pubDate>Fri, 18 Aug 2023 17:31:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Проблемы с VLAN</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message342736/79916-problemy-s-vlan">Проблемы с VLAN</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Эта тема просто спасение после похожих проблем с картой Solarflare после обновления до PVE 8. Удаление этих строк у меня просто сделало мост невосприимчивым к VLAN, и в GUI отражались изменения, как я и ожидал. Если кому-то еще поможет, у меня сработало изменение bridge vids на 2-126. Bash: &nbsp;<br />auto vmbr2 &nbsp;<br />iface vmbr2 inet static &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;address 10.0.0.4/24 &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-ports enp5s0 &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-stp off &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-fd 0 &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-vlan-aware yes &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-vids 2-126 &nbsp;<br />#VLAN Trunk Это было максимальное количество VLAN, которое я мог ввести, не получая ту же ошибку, что и у вас. <br />
			<i>18.08.2023 17:02:00, Zoarial.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message342736/79916-problemy-s-vlan</link>
			<guid>http://proxmox.su/forum/messages/forum63/message342736/79916-problemy-s-vlan</guid>
			<pubDate>Fri, 18 Aug 2023 17:02:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Проблемы с VLAN</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message342735/79916-problemy-s-vlan">Проблемы с VLAN</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Это должно быть настроено на физическом интерфейсе и бонде, а не на vmbr. Код: &nbsp;<br />auto enp5s0 &nbsp;<br />iface enp5s0 inet manual &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;rx-vlan-filter off &nbsp;<br /><br />auto vmbr2 &nbsp;<br />iface vmbr2 inet static &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;address 10.0.0.4/24 &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-ports enp5s0 &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-stp off &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-fd 0 &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-vlan-aware yes &nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-vids 2-4094 &nbsp;<br /><br /># VLAN-транк, затем выполните "ifreload -a -d" в режиме отладки, чтобы получить полные логи. &nbsp;<br /># ethtool -k enp5s0 должен показать "rx-vlan-filter off", если драйвер сетевой карты позволяет его отключить. <br />
			<i>18.08.2023 18:17:00, spirit.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message342735/79916-problemy-s-vlan</link>
			<guid>http://proxmox.su/forum/messages/forum63/message342735/79916-problemy-s-vlan</guid>
			<pubDate>Fri, 18 Aug 2023 18:17:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Проблемы с VLAN</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message342734/79916-problemy-s-vlan">Проблемы с VLAN</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Привет! У меня проблемы с тем, чтобы VLANы нормально заработали в моём новом кластере Proxmox. Надеюсь, кто-то подскажет, как это исправить. Короче говоря, кажется, что Proxmox неправильно пропускает тегированные пакеты к моим виртуалкам.<br /><br />Пример VLAN 542 (10.0.42.0/24): у меня есть дополнительная 10-гигабитная сетевая карта (NIC), подключённая к транковому порту на свитче. Для неё я создал vlan-aware мост (vmbr1) на интерфейсе enp65s0. Дальше у меня есть Windows 10 VM, который настроен использовать vmbr1 с VLAN тегом 542. В guest OS NIC настроен с IP 10.0.42.8. На другом роутере настроен IP 10.0.42.1. Если я пытаюсь пропинговать .1 с .8 — ответа нет. И наоборот, с .1 на .8 тоже нет. <br /><br />Однако, если запустить tcpdump на узле proxmox для enp65s0, я вижу, что пакеты доходят (по крайней мере ARP-пакеты), но дальше не уходят.<br /><br />TCPDump с пингом с .1 на .8:<br /><br />Bash: root@hv2:~# tcpdump -envi enp65s0 -e '(vlan 542)'<br />-сокращено-<br />10:53:16.578688 18:fd:74:c1:4d:0a &gt; ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 60: vlan 542, p 0, ethertype ARP (0x0806), Ethernet (len 6), IPv4 (len 4), Request who-has 10.0.42.8 tell 10.0.42.1, length 42<br />10:53:17.635885 18:fd:74:c1:4d:0a &gt; ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 60: vlan 542, p 0, ethertype ARP (0x0806), Ethernet (len 6), IPv4 (len 4), Request who-has 10.0.42.8 tell 10.0.42.1, length 42<br />... &nbsp;<br />-сокращено-<br /><br />Конфигурация сети на узле:<br /><br />Bash: root@hv2:~# cat /etc/network/interfaces<br /># network interface settings; autogenerated<br /># Пожалуйста, НЕ редактируйте этот файл вручную, если не уверены, что делаете.<br />#<br /># Если хотите управлять частью конфигурации вручную,<br /># используйте директивы 'source' или 'source-directory'.<br /># PVE сохранит эти директивы, но НЕ будет читать конфигурацию<br /># из внешних файлов, так что не пытайтесь переносить<br /># интерфейсы, управляемые PVE, во внешние файлы!<br /><br />auto lo<br />iface lo inet loopback<br /><br />iface eno1 inet manual<br /><br />iface eno3 inet manual<br /><br />iface eno4 inet manual<br /><br />iface eno2 inet manual<br /><br />auto enp65s0<br />iface enp65s0 inet manual<br />#10G<br /><br />auto vmbr0<br />iface vmbr0 inet static<br /> &nbsp; &nbsp; &nbsp; &nbsp;address 10.10.44.36/24<br /> &nbsp; &nbsp; &nbsp; &nbsp;gateway 10.10.44.1<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-ports eno1<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-stp off<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-fd 0<br /><br />auto vmbr1<br />iface vmbr1 inet manual<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-ports enp65s0<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-stp off<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-fd 0<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-vlan-aware yes<br /> &nbsp; &nbsp; &nbsp; &nbsp;bridge-vids 2-4094<br />#10GB Bridge<br /><br />auto vlan88<br />iface vlan88 inet static<br /> &nbsp; &nbsp; &nbsp; &nbsp;address 10.10.88.36/24<br /> &nbsp; &nbsp; &nbsp; &nbsp;vlan-raw-device vmbr1<br />#CEPH VLAN 88<br /><br />auto vlan542<br />iface vlan542 inet static<br /> &nbsp; &nbsp; &nbsp; &nbsp;address 10.0.42.9/24<br /> &nbsp; &nbsp; &nbsp; &nbsp;vlan-raw-device vmbr1<br />#Test VLAN 542<br /><br />auto vlan42<br />iface vlan42 inet static<br /> &nbsp; &nbsp; &nbsp; &nbsp;address 10.10.42.242/24<br /> &nbsp; &nbsp; &nbsp; &nbsp;vlan-raw-device vmbr1<br />#Test VLAN 42<br /><br />Всё выше было сгенерировано через GUI. Как видите, у меня настроено ещё несколько VLANов, которые я использую для тестов. Linux VLANы с IP-адресами на гипервизоре тоже не работают… за исключением VLAN 88!? Вот это меня реально ставит в тупик: VLAN 88 отлично работает от роутера к узлу и к гостевой виртуалке (если переключить с 542 на 88).<br /><br />Изначально эта последняя деталь заставила меня усомниться в конфигурации свитча. Но я использую этот свитч для транкинга на несколько других свитчей без проблем, и порт настроен одинаково. Более того, tcpdump показывает, что пакеты приходят по правильному VLAN.<br /><br />Если запустить захват пакетов на мосту vmbr1, видно, что виртуалка шлёт ARP-запросы, а роутер на .1 до моста вообще не доходит.<br /><br />Bash: root@hv2:~# tcpdump -envi vmbr1 -e '(vlan 542)'<br />tcpdump: listening on vmbr1, link-type EN10MB (Ethernet), snapshot length 262144 bytes<br />11:06:17.091353 5e:87:93:37:21:39 &gt; ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 46: vlan 542, p 0, ethertype ARP (0x0806), Ethernet (len 6), IPv4 (len 4), Request who-has 10.0.42.1 tell 10.0.42.8, length 28<br />11:06:18.079245 5e:87:93:37:21:39 &gt; ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 46: vlan 542, p 0, ethertype ARP (0x0806), Ethernet (len 6), IPv4 (len 4), Request who-has 10.0.42.1 tell 10.0.42.8, length 28<br />...<br />7 пакетов захвачено<br />7 пакетов прошло фильтр<br />0 пакетов потеряно ядром<br /><br />Вполне возможно, что я упускаю что-то очень простое. Заранее благодарен за любые советы! Спасибо! <br />
			<i>24.03.2023 17:13:00, vb543.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message342734/79916-problemy-s-vlan</link>
			<guid>http://proxmox.su/forum/messages/forum63/message342734/79916-problemy-s-vlan</guid>
			<pubDate>Fri, 24 Mar 2023 17:13:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
	</channel>
</rss>
