Changes

Line 4: Line 4:  
==Introduction==
 
==Introduction==
 
----
 
----
Policy-based routing (PBR) is a technique used in computer networking to direct network packets based on defined criteria beyond the standard destination-based routing. Unlike traditional routing, which forwards packets solely based on their destination address, PBR allows administrators to customize routing decisions according to various factors such as source address, type of service, protocol, or application.
+
Policy-based routing (PBR) is a technique used in computer networking to direct network packets based on defined criteria beyond the standard destination-based routing. Unlike traditional routing, which forwards packets solely based on their destination address, PBR allows to customize routing decisions according to various factors.
   −
With policy-based routing, network administrators can implement specific rules or policies to dictate the path that packets should take through the network. This flexibility enables organizations to optimize traffic flow, prioritize certain types of traffic, enforce security measures, and manage network resources more efficiently.
+
With policy-based routing can implement specific rules or policies to dictate the path that packets should take through the network. This flexibility enables organizations to optimize traffic flow, prioritize certain types of traffic, enforce security measures, and manage network resources more efficiently.
    
==Prerequisites & Topology==
 
==Prerequisites & Topology==
Line 13: Line 13:  
'''Before proceeding with the confuration, ensure that all requirements are met:'''
 
'''Before proceeding with the confuration, ensure that all requirements are met:'''
   −
# Before starting you need to have 3 different WAN connections. In this case we are going to use: '''Wi-fi WAN''', '''Wired WAN''' and '''Mobile WAN'''.
+
# Before starting you need to have 3 different WAN connections. In this case we are going to use: '''Wi-fi WAN''', '''Wired WAN''' and '''Mobile WAN'''.These interfaces have to be preconfigured.
   −
[[File:PBS model.png|border|class=tlt-border|center]]
+
[[File:PBR_MAIN_IMG.png|border|class=tlt-border|center]]
    
==Configuration==
 
==Configuration==
Line 121: Line 121:  
----
 
----
 
click [[File:Add Button.png|40x70px]] and aplly this to the route:
 
click [[File:Add Button.png|40x70px]] and aplly this to the route:
#Select Interface: '''wan''' | Enter Target: ''''0.0.0.0''' | Enter IPv4-Netmask: '''0.0.0.0'''
+
#Select Interface: '''wan''' | Enter Target: ''''0.0.0.0''' | Enter IPv4-Netmask: '''0.0.0.0''' | Enter IPv4-Gateway: '''192.168.3.1'''
[[File:PBS_WAN_ROUTE.png|border|class=tlt-border|center|1000x300px]]
+
[[File:PBR_P_ROUTE_2.png|border|class=tlt-border|center|1000x300px]]
    
====Creating Mobile Wan Routing Table====
 
====Creating Mobile Wan Routing Table====
Line 145: Line 145:  
By clicking [[File:Add Button.png|40x70px]] create 3 rules under '''Routing Rules for IPv4''' tab apply these changes to the rules:
 
By clicking [[File:Add Button.png|40x70px]] create 3 rules under '''Routing Rules for IPv4''' tab apply these changes to the rules:
 
======Policy Rule 1======
 
======Policy Rule 1======
-----
+
----
 
# Enter Priority: '''1'''
 
# Enter Priority: '''1'''
 
# Select Incoming interface: '''LAN_VLAN_ETH0'''
 
# Select Incoming interface: '''LAN_VLAN_ETH0'''
 
# Select Outgoing interface: '''None'''
 
# Select Outgoing interface: '''None'''
 
# Select Matched Traffic Action: '''Lookup Table'''
 
# Select Matched Traffic Action: '''Lookup Table'''
# Lookup Table: '''WanWifi(1)'''
+
# Lookup Table: '''WifiWAN(1)'''
 +
 
 +
[[File:POLICY_RULE_11.png|border|class=tlt-border|center]]
   −
[[File:POLICY_RULE_1.png|border|class=tlt-border|center]]
   
======Policy Rule 2======
 
======Policy Rule 2======
 
-----
 
-----
Line 162: Line 163:  
[[File:POLICY_RULE_2.png|border|class=tlt-border|center]]
 
[[File:POLICY_RULE_2.png|border|class=tlt-border|center]]
 
======Policy Rule 3======
 
======Policy Rule 3======
-----
+
----
 
# Enter Priority: '''1'''
 
# Enter Priority: '''1'''
 
# Select Incoming interface: '''LAN_VLAN_5'''
 
# Select Incoming interface: '''LAN_VLAN_5'''
Line 171: Line 172:     
'''NOTE: Delete all Autimatic or unrelated routing rules'''
 
'''NOTE: Delete all Autimatic or unrelated routing rules'''
 +
 +
===Configuration testing===
 +
----
 +
 +
Connect end device to physical port that is assingned to different routing policy. Open cmd and run this command: '''traceroute 8.8.8.8''', three physical ports that we assigned to diffrent Vlans route to 8.8.8.8 should be dispayed using different gateways.
 +
 +
 +
====LAN1 Test Result====
 +
----
 +
====LAN2 Test Result====
 +
----
 +
====LAN3 Test Result====
 +
----