<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>Mikrotik.moscow [тема: Эквивалент route-map в CISCO]</title>
		<link>http://mikrotik.moscow</link>
		<description>Новое в теме Эквивалент route-map в CISCO форума RouterOS на сайте Mikrotik.moscow [mikrotik.moscow]</description>
		<language>ru</language>
		<docs>http://backend.userland.com/rss2</docs>
		<pubDate>Thu, 13 Aug 2026 08:43:07 -0400</pubDate>
		<item>
			<title>Эквивалент route-map в CISCO</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389947">Эквивалент route-map в CISCO</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Спасибо, @AldoJimenez, возможно, я попробую использовать VRF. <br />
			<i>06.03.2017 07:52:00, tishri.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389947</link>
			<guid>http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389947</guid>
			<pubDate>Mon, 06 Mar 2017 07:52:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Эквивалент route-map в CISCO</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389946">Эквивалент route-map в CISCO</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Не могу превзойти @shaoranrch. Вот альтернативный вариант, если хотите использовать VLAN и VRF на одном роутере. Последние два маршрута нужны для перераспределения в ваш IGP, а дальше вы можете использовать Route Filters для любой дальнейшей обработки маршрутной информации. Очевидно, что существует несколько способов достичь вашей цели, в зависимости от сложности, вашей конкретной схемы и так далее. Но если то, что вы хотите сделать, соответствует конфигурации Cisco, которую вы привели ниже, то пост @shaoranrch будет лучшим решением. Надеюсь, поможет, и удачи!<br /><br />/ip address &nbsp;<br />add address=172.16.6.1/24 interface=vlan200 network=172.16.6.0 &nbsp;<br />add address=172.16.7.1/24 interface=vlan300 network=172.16.7.0 &nbsp;<br /><br />/ip route vrf &nbsp;<br />add export-route-targets=200:0 import-route-targets=200:0 interfaces=vlan200 route-distinguisher=200:0 routing-mark=VLAN200 &nbsp;<br />add export-route-targets=300:0 import-route-targets=300:0 interfaces=vlan300 route-distinguisher=300:0 routing-mark=VLAN300 &nbsp;<br /><br />/ip route &nbsp;<br />add distance=1 gateway=172.16.4.2@main routing-mark=VLAN200 &nbsp;<br />add distance=1 gateway=172.16.4.3@main routing-mark=VLAN300 &nbsp;<br />add distance=1 dst-address=172.16.6.0/24 gateway=vlan200 &nbsp;<br />add distance=1 dst-address=172.16.7.0/24 gateway=vlan300 &nbsp;<br /><br /><br />====quote====<br /> &nbsp;<br />Это пример конфигурации с сайта Cisco. Можете помочь перевести эти инструкции на эквивалент Mikrotik? &nbsp;<br /><br />interface Serial0 &nbsp;<br /> &nbsp; ip address 172.16.5.1 255.255.255.0 &nbsp;<br /> &nbsp; ip policy route-map Sally &nbsp;<br />! &nbsp;<br /><br /> &nbsp; access-list 1 permit 172.16.6.0 0.0.0.255 &nbsp;<br /> &nbsp; access-list 2 permit 172.16.7.0 0.0.0.255 &nbsp;<br />! &nbsp;<br /><br /> &nbsp; route-map Sally permit 10 &nbsp;<br /> &nbsp; &nbsp;match ip address 1 &nbsp;<br /> &nbsp; &nbsp;set ip next-hop 172.16.4.2 &nbsp;<br />! &nbsp;<br /><br /> &nbsp; route-map Sally permit 15 &nbsp;<br /> &nbsp; &nbsp;match ip address 2 &nbsp;<br /> &nbsp; &nbsp;set ip next-hop 172.16.4.3 &nbsp;<br /><br />=============<br /> <br />
			<i>27.02.2017 16:29:00, AldoJimenez.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389946</link>
			<guid>http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389946</guid>
			<pubDate>Mon, 27 Feb 2017 16:29:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Эквивалент route-map в CISCO</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389945">Эквивалент route-map в CISCO</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Спасибо.. <br />
			<i>26.02.2017 11:38:00, tishri.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389945</link>
			<guid>http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389945</guid>
			<pubDate>Sun, 26 Feb 2017 11:38:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Эквивалент route-map в CISCO</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389944">Эквивалент route-map в CISCO</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Можно сделать примерно так: &nbsp;<br />/ip route add gateway=172.16.4.2 routing-mark=list1 &nbsp;<br />/ip route add gateway=172.16.4.3 routing-mark=list2 &nbsp;<br />/ip firewall mangle add chain=prerouting src-address=172.16.6.0/24 in-interface=serial0 action=mark-routing new-routing-mark=list1 &nbsp;<br />/ip firewall mangle add chain=prerouting src-address=172.16.7.0/24 in-interface=serial0 action=mark-routing new-routing-mark=list2 &nbsp;<br /><br />Возможно, там есть ошибки в синтаксисе, но суть примерно такая. &nbsp;<br />Отправлено с моего SAMSUNG-SM-G920A через Tapatalk <br />
			<i>25.02.2017 12:17:00, shaoranrch.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389944</link>
			<guid>http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389944</guid>
			<pubDate>Sat, 25 Feb 2017 12:17:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Эквивалент route-map в CISCO</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389943">Эквивалент route-map в CISCO</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Это пример конфигурации с сайта Cisco. Можешь помочь перевести эти инструкции на эквивалент Mikrotik?<br /><br />interface Serial0 &nbsp;<br /> &nbsp; ip address 172.16.5.1 255.255.255.0 &nbsp;<br /> &nbsp; ip policy route-map Sally &nbsp;<br />!<br /><br />access-list 1 permit 172.16.6.0 0.0.0.255 &nbsp;<br />access-list 2 permit 172.16.7.0 0.0.0.255 &nbsp;<br />!<br /><br />route-map Sally permit 10 &nbsp;<br /> match ip address 1 &nbsp;<br /> set ip next-hop 172.16.4.2 &nbsp;<br />!<br /><br />route-map Sally permit 15 &nbsp;<br /> match ip address 2 &nbsp;<br /> set ip next-hop 172.16.4.3 <br />
			<i>25.02.2017 11:57:00, tishri.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389943</link>
			<guid>http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389943</guid>
			<pubDate>Sat, 25 Feb 2017 11:57:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Эквивалент route-map в CISCO</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389942">Эквивалент route-map в CISCO</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Вы можете использовать комбинацию маршрутизирующих фильтров, правил маршрутизации и правил Mangle, чтобы добиться этого с помощью отдельных таблиц маршрутизации. <noindex><a href="https://wiki.mikrotik.com/wiki/Manual:Routing/Routing_filters" target="_blank" rel="nofollow" >https://wiki.mikrotik.com/wiki/Manual:Routing/Routing_filters</a></noindex> <noindex><a href="https://wiki.mikrotik.com/wiki/Manual:Routing_Table_Matcher" target="_blank" rel="nofollow" >https://wiki.mikrotik.com/wiki/Manual:Routing_Table_Matcher</a></noindex> <br />
			<i>24.02.2017 14:33:00, AldoJimenez.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389942</link>
			<guid>http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389942</guid>
			<pubDate>Fri, 24 Feb 2017 14:33:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Эквивалент route-map в CISCO</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389941">Эквивалент route-map в CISCO</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Привет, спасибо за ответ. Маршрутная карта Cisco управляет трафиком через таблицу маршрутизации. Это значит, что если совпадение найдено, доступ к определённой таблице маршрутизации будет разрешён. То, что вы на самом деле пытаетесь сделать, эквивалентно команде Cisco «cisco access group in/out». <br />
			<i>24.02.2017 09:10:00, tishri.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389941</link>
			<guid>http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389941</guid>
			<pubDate>Fri, 24 Feb 2017 09:10:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Эквивалент route-map в CISCO</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389940">Эквивалент route-map в CISCO</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Привет! Полагаю, ты хочешь пропускать трафик через VLAN только с определённых подсетей. Если ты ещё не делал этого, можно использовать списки адресов и указать нужные подсети. Например: 10.0.0.0/16 и 10.1.0.0/16 — это единственные подсети, которым разрешён проход к интерфейсу vlan443 (то есть только трафик из этих подсетей сможет пройти через этот интерфейс). Для этого можно написать правило с использованием address list примерно так:<br /><br />ip firewall address-list add list=allowed443 address=10.0.0.0/16 &nbsp;<br />ip firewall address-list add list=allowed443 address=10.1.0.0/16 &nbsp;<br /><br />ip firewall filter add chain=forward action=drop out-interface=vlan443 src-address-list=!allowed443<br /><br />Отправлено с моего SAMSUNG-SM-G920A через Tapatalk <br />
			<i>22.02.2017 01:59:00, shaoranrch.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389940</link>
			<guid>http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389940</guid>
			<pubDate>Wed, 22 Feb 2017 01:59:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
		<item>
			<title>Эквивалент route-map в CISCO</title>
			<description><![CDATA[<b><a href="http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389939">Эквивалент route-map в CISCO</a></b> <i>RouterOS</i> в форуме <a href="http://mikrotik.moscow/forum/forum57/">RouterOS</a>. <br />
			Привет! В маршрутизаторах Cisco есть команда route-map. Она позволяет задать access-list с разрешёнными подсетями, которые направляются к next-hop роутеру. Всё, что не соответствует access-list, будет отброшено. Такая настройка рассчитана на большое количество VLAN'ов. У каждого VLAN-интерфейса свои разрешённые подсети. Я пробовал использовать ip-firewall, но там получается бардак, потому что нужно прописывать много правил на каждый интерфейс. Есть ли более простой способ с ip-mangle? Хотелось бы узнать, есть ли что-то похожее в MikroTik. Пожалуйста, приведите оптимальный пример настройки с несколькими разрешёнными подсетями для каждого VLAN-интерфейса. Спасибо, TCC <br />
			<i>05.02.2017 03:50:00, tishri.</i>]]></description>
			<link>http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389939</link>
			<guid>http://mikrotik.moscow/forum/forum57/84774-ekvivalent-route_map-v-cisco/message389939</guid>
			<pubDate>Sun, 05 Feb 2017 03:50:00 -0500</pubDate>
			<category>RouterOS</category>
		</item>
	</channel>
</rss>
