Line 15: |
Line 15: |
| # Before starting you need to have 3 different WAN connections. In this case we are going to use: '''[https://wiki.teltonika-networks.com/view/WiFi_WAN_example Wi-fi WAN]''', '''Wired WAN''' and '''Mobile WAN'''.These interfaces have to be preconfigured. | | # Before starting you need to have 3 different WAN connections. In this case we are going to use: '''[https://wiki.teltonika-networks.com/view/WiFi_WAN_example Wi-fi WAN]''', '''Wired WAN''' and '''Mobile WAN'''.These interfaces have to be preconfigured. |
| | | |
− | [[File:PBR_MAIN_IMG.png|border|class=tlt-border|center]] | + | [[File:PBR11.png|border|class=tlt-border|center]] |
| | | |
| ==Configuration== | | ==Configuration== |
Line 176: |
Line 176: |
| ---- | | ---- |
| | | |
− | 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. | + | Connect end device to physical port that is assingned to different routing policy. Open cmd and run this command: '''tracert 8.8.8.8''', three physical ports that we assigned to diffrent Vlans route to 8.8.8.8 should be using different gateways. |
| | | |
| | | |
− | ====LAN1 Test Result==== | + | ====Physical Port 1 Test Result==== |
| ---- | | ---- |
− | ====LAN2 Test Result==== | + | [[File:Test1.png|border|class=tlt-border|center]] |
| + | |
| + | ====Physical Port 2 Test Result==== |
| ---- | | ---- |
− | ====LAN3 Test Result==== | + | [[File:Test22.png|border|class=tlt-border|center]] |
| + | |
| + | ====Physical Port 3 Test Result==== |
| ---- | | ---- |
| + | [[File:Test33.png|border|class=tlt-border|center]] |
| | | |
| ===Policy Based Routing on a single Host=== | | ===Policy Based Routing on a single Host=== |
| + | ---- |
| + | ====Single Host Routing Topology==== |
| + | [[File:PBR222.png|border|class=tlt-border|center]] |
| + | ---- |
| + | |
| + | ====Wired WAN Routing Policy Priority Change==== |
| + | ---- |
| + | Open WebUI → Network → Routing → Policy based routing → Routing Rules for IPv4 and click [[File:Pencil2.png]] on '''Policy Rule 2''': |
| + | ---- |
| + | Make following changes: |
| + | # Set Priority: '''2''' |
| + | |
| + | [[File:PBRSN.png|border|class=tlt-border|center|]] |
| + | |
| + | |
| + | ====Creating New Routing Policy Rule==== |
| + | ---- |
| + | Open WebUI → Network → Routing → Policy based routing |
| + | |
| + | =====Creating Single Node Routing Table Over WifiWan===== |
| + | Add new instance: |
| + | |
| + | # Enter ID: '''7''' |
| + | # Enter New configuration name: '''Node''' |
| + | [[File:Node 1 Table.png|border|class=tlt-border|center]] |
| + | |
| + | |
| + | click [[File:Add Button.png|40x70px]] in the new window make following changes: |
| + | |
| + | =====Static IPv4 Routes===== |
| + | ---- |
| + | click [[File:Add Button.png|40x70px]] and aplly this to the route: |
| + | #Select Interface: '''WifiWan''' | Enter Target: '''0.0.0.0''' | Enter IPv4-Netmask: '''0.0.0.0''' | Enter IPv4-Gateway: '''192.168.1.1''' |
| + | |
| + | ====Testing the Policy Route==== |
| ---- | | ---- |