$wgDBname<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.cablefree.net/support/radio/software/index.php?action=history&amp;feed=atom&amp;title=Packet_Flow</id>
	<title>Packet Flow - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.cablefree.net/support/radio/software/index.php?action=history&amp;feed=atom&amp;title=Packet_Flow"/>
	<link rel="alternate" type="text/html" href="https://www.cablefree.net/support/radio/software/index.php?title=Packet_Flow&amp;action=history"/>
	<updated>2026-04-30T14:53:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.3</generator>
	<entry>
		<id>https://www.cablefree.net/support/radio/software/index.php?title=Packet_Flow&amp;diff=267&amp;oldid=prev</id>
		<title>Administrator: /* Diagram */</title>
		<link rel="alternate" type="text/html" href="https://www.cablefree.net/support/radio/software/index.php?title=Packet_Flow&amp;diff=267&amp;oldid=prev"/>
		<updated>2015-01-29T13:13:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Diagram&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:13, 29 January 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l15&quot;&gt;Line 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Routing or Layer-3 (IP)&amp;#039;&amp;#039;&amp;#039; where Bridging part is simplified to one  &amp;quot;Bridging&amp;quot; box&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Routing or Layer-3 (IP)&amp;#039;&amp;#039;&amp;#039; where Bridging part is simplified to one  &amp;quot;Bridging&amp;quot; box&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The packet flow diagram is also available [http://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wiki&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;CableFree&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;com&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;images&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1b&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Traffic_Flow_Diagram_RadioOS_3&lt;/del&gt;.x.pdf as a PDF].  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The packet flow diagram is also available [http://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;www&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;cablefree&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;net&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;support&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wp-content&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;uploads&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2015/01/Traffic_Flow_Diagram_RouterOS_3&lt;/ins&gt;.x.pdf as a PDF].  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:Bridge_final.png|Packet Flow in Layer-2|700px]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:Bridge_final.png|Packet Flow in Layer-2|700px]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Administrator</name></author>
	</entry>
	<entry>
		<id>https://www.cablefree.net/support/radio/software/index.php?title=Packet_Flow&amp;diff=261&amp;oldid=prev</id>
		<title>Administrator: Created page with &quot;{{Versions|v3, v4, v5+}}  ==Overview==  CableFree RadioOS is designed to be easy to operate in various aspects of network configuration. Therefore creating limitation for indi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.cablefree.net/support/radio/software/index.php?title=Packet_Flow&amp;diff=261&amp;oldid=prev"/>
		<updated>2015-01-29T13:02:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Versions|v3, v4, v5+}}  ==Overview==  CableFree RadioOS is designed to be easy to operate in various aspects of network configuration. Therefore creating limitation for indi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Versions|v3, v4, v5+}}&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
&lt;br /&gt;
CableFree RadioOS is designed to be easy to operate in various aspects of network configuration. Therefore creating limitation for individual IP or natting internal clients to a public address or Hotspot configuration can be done without the knowledge about how the packets are processed in the router - you just go to corresponding menu and create necessary configuration.&lt;br /&gt;
&lt;br /&gt;
However more complicated tasks, such as traffic prioritization, routing policies, where it is necessary to utilize more than one RadioOS facility, requires knowledge: How these facilities work together? What happens when and why? &lt;br /&gt;
&lt;br /&gt;
To address these questions we created a packet flow diagram.&lt;br /&gt;
&lt;br /&gt;
==Diagram==&lt;br /&gt;
&lt;br /&gt;
As it was impossible to get everything in one diagram, &amp;#039;&amp;#039;&amp;#039;Packet flow diagram&amp;#039;&amp;#039;&amp;#039; for CableFree RadioOS v3.x was created in 2 parts: &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Bridging or Layer-2 (MAC)&amp;#039;&amp;#039;&amp;#039; where Routing part is simplified to one &amp;quot;Layer-3&amp;quot; box&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Routing or Layer-3 (IP)&amp;#039;&amp;#039;&amp;#039; where Bridging part is simplified to one  &amp;quot;Bridging&amp;quot; box&lt;br /&gt;
&lt;br /&gt;
The packet flow diagram is also available [http://wiki.CableFree.com/images/1/1b/Traffic_Flow_Diagram_RadioOS_3.x.pdf as a PDF]. &lt;br /&gt;
&lt;br /&gt;
[[Image:Bridge_final.png|Packet Flow in Layer-2|700px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:IP_final.png|Packet Flow in Layer-3|700px]]&lt;br /&gt;
&lt;br /&gt;
==== Changes in RadioOS v6 ====&lt;br /&gt;
&lt;br /&gt;
The following changes have been made to the Packet Flow in RadioOS v6, see red cirdled elements in the image: &lt;br /&gt;
&lt;br /&gt;
[[File:Packetflowv6.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== MPLS Packet Flow ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:mpls-packet-flow-input.png|330px]] [[File:mpls-packet-flow-output.png|400px]]&lt;br /&gt;
&lt;br /&gt;
==Analysis==&lt;br /&gt;
&lt;br /&gt;
===Basic Concepts===&lt;br /&gt;
&lt;br /&gt;
[[Image:Input_interface.jpg|Input Interface|100px]] - starting point in packets way through the router facilities. It does not matter what interface (physical or virtual) packet is received it will start its way from here.&lt;br /&gt;
&lt;br /&gt;
[[Image:output_interface.jpg|Output Interface|100px]] - last point in packets way through the router facilities. Just before the packet is actually sent out.&lt;br /&gt;
&lt;br /&gt;
[[Image:local_process-_in.jpg|Local Process IN|100px]] - last point in packets way &amp;#039;&amp;#039;&amp;#039;to&amp;#039;&amp;#039;&amp;#039; router itself, after this packet is discarded&lt;br /&gt;
&lt;br /&gt;
[[Image:local_process-_out.jpg|Local Process OUT|100px]] - starting point for packets generated by router itself&lt;br /&gt;
&lt;br /&gt;
===Configurable Facilities===&lt;br /&gt;
&lt;br /&gt;
Each and every facilities in this section corresponds with one particular menu in RadioOS. Users are able to access those menu and configure these facilities directly&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:connection_tracking.jpg|Connection Tracking|100px]]  - &amp;#039;&amp;#039;&amp;#039;/ip firewall connection tracking&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&lt;br /&gt;
[[Image:Filter_input.jpg|Filter Input|100px]]&lt;br /&gt;
[[Image:Filter_forward.jpg|Filter Forward|100px]]&lt;br /&gt;
[[Image:Filter_output.jpg|Filter Output|100px]] - &amp;#039;&amp;#039;&amp;#039;/ip firewall filter&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Image:src_nat.jpg|Source NAT|100px]]&lt;br /&gt;
[[Image:dst_nat.jpg|Destination NAT|100px]] - &amp;#039;&amp;#039;&amp;#039;/ip firewall nat&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Image:mangle_prerouting.jpg|Mangle Prerouting|100px]]&lt;br /&gt;
[[Image:mangle_input.jpg|Mangle Input|100px]]&lt;br /&gt;
[[Image:mangle_forward.jpg|Mangle Forward|100px]]&lt;br /&gt;
[[Image:mangle_output.jpg|Mangle Output|100px]]&lt;br /&gt;
[[Image:mangle_postrouting.jpg|Mangle Postrouting|100px]] - &amp;#039;&amp;#039;&amp;#039;/ip firewall mangle&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Image:global_in.jpg|Global-in HTB|100px]]&lt;br /&gt;
[[Image:global_out.jpg|Global-Out HTB|100px]]&lt;br /&gt;
[[Image:Interface HTB.jpg|Interface HTB|100px]]  - &amp;#039;&amp;#039;&amp;#039;/queue simple&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;/queue tree&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Image:IPsec_policy.jpg|IPSec_Policy|100px]] - &amp;#039;&amp;#039;&amp;#039;/ip ipsec policy&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Image:accounting.jpg|Accounting|100px]] - &amp;#039;&amp;#039;&amp;#039;/ip accounting&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Image:use_ip_firewall.jpg|Use IP Firewall|100px]] - &amp;#039;&amp;#039;&amp;#039;/interface bridge settings&amp;#039;&amp;#039;&amp;#039; - available only for traffic that go &amp;#039;&amp;#039;&amp;#039;through&amp;#039;&amp;#039;&amp;#039; the bridge. For all other traffic default value is &amp;#039;&amp;#039;&amp;#039;Yes&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Image:bridge_input.jpg|Bridge Input|100px]]&lt;br /&gt;
[[Image:Bridge_forward.jpg|Bridge Forward|100px]]&lt;br /&gt;
[[Image:Bridge_output.jpg|Bridge Output|100px]] - &amp;#039;&amp;#039;&amp;#039;/interface bridge filter&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Image:Bridge_dst_nat.jpg|Bridge Destination NAT|100px]]&lt;br /&gt;
[[Image:Bridge_src_nat.jpg|Bridge Source NAT|100px]] - &amp;#039;&amp;#039;&amp;#039;/interface bridge nat&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
===Automated processes and decisions ===&lt;br /&gt;
&lt;br /&gt;
[[Image:In-interface-bridge.jpg|In-interface Bridge|100px]] - check if the &amp;#039;&amp;#039;actual input interface&amp;#039;&amp;#039; is a port for bridge OR  checks if &amp;#039;&amp;#039;input interface&amp;#039;&amp;#039; is bridge&lt;br /&gt;
&lt;br /&gt;
[[Image:hotspot_in.jpg|Hotspot In|100px]] - allow to capture traffic witch otherwise would be discarded by connection tracking - this way our Hotspot feature are able to provide connectivity even if networks settings are in complete mess&lt;br /&gt;
&lt;br /&gt;
[[Image:Bridge Desicion.jpg|Bridge Decision|100px]] - bridge goes through the MAC address table in order to find a match to destination MAC address of packet. When match is found - packet will be send out via corresponding bridge port. In case of no match - multiple copies of packet will be created and packet will be sent out via all bridge ports&lt;br /&gt;
&lt;br /&gt;
[[Image:bridge_decision.jpg|Bridge Decision|100px]] - this is a workaround, allows to use &amp;quot;out-bridge-port&amp;quot; before actual bridge decision.&lt;br /&gt;
&lt;br /&gt;
[[Image:routing_decision.JPG|Routing Decision|100px]] - router goes through the route n order to find a match to destination IP address of packet. When match is found - packet will be send out via corresponding port or to the router itself . In case of no match - packet will be discarded.&lt;br /&gt;
&lt;br /&gt;
[[Image:routing_adjustment.jpg|Routing Adjustment|100px]] - this is a workaround that allows to set-up policy routing in mangle chain output&lt;br /&gt;
&lt;br /&gt;
[[Image:TTL=TTL-1.jpg|TTL Adjustment|100px]] - indicates exact place where Time To Live (TTL) of the routed packet is reduced by 1. If it become 0 packet will be discarded&lt;br /&gt;
&lt;br /&gt;
[[Image:IPSec_Decryption.jpg|IPSec_Decryption|100px]] [[Image:IPSec_Encryption.jpg|IPSec_Encryption|100px]] - self explainatory&lt;br /&gt;
&lt;br /&gt;
[[Image:out_interface_bridge.jpg|Out-interface Bridge|100px]] - check if the &amp;#039;&amp;#039;actual output interface&amp;#039;&amp;#039; is a port for bridge OR  checks if &amp;#039;&amp;#039;output interface&amp;#039;&amp;#039; is bridge&lt;br /&gt;
&lt;br /&gt;
[[Image:Hotspot_out.jpg|Hotspot Out|100px]] - undo all that was done by hotspot-in for the packets that is going back to client.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
===Bridging with use-ip-firewall=yes===&lt;br /&gt;
&lt;br /&gt;
[[Image:Packet_Flow_Example_1.png|Packet Flow Example 1|700px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Routing - from Ethernet to Ethernet interface===&lt;br /&gt;
&lt;br /&gt;
[[Image:Packet_Flow_Example_2c.png|Packet Flow Example 2|700px]]&lt;br /&gt;
&lt;br /&gt;
===Routing from one Bridge interface to different Bridge interface===&lt;br /&gt;
&lt;br /&gt;
[[Image:Packet_Flow_Example_3_1.png|Packet Flow Example 3|700px]]&lt;br /&gt;
[[Image:Packet_Flow_Example_3_2c.png|Packet Flow Example 3|700px]]&lt;br /&gt;
&lt;br /&gt;
===IPsec encryption===&lt;br /&gt;
&lt;br /&gt;
[[Image:Packet_Flow_Example_4c.png|Packet Flow Example 4|700px]]&lt;br /&gt;
&lt;br /&gt;
===IPsec decryption===&lt;br /&gt;
&lt;br /&gt;
[[Image:Packet_Flow_Example_5c.png|Packet Flow Example 5|700px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Manual|P]]&lt;br /&gt;
[[Category:IP|P]]&lt;br /&gt;
[[Category:QoS|P]]&lt;br /&gt;
[[Category:Case Studies|P]]&lt;/div&gt;</summary>
		<author><name>Administrator</name></author>
	</entry>
</feed>