Line 18: |
Line 18: |
| [[File:OSPF Route Failover Topology v1.png|center]] | | [[File:OSPF Route Failover Topology v1.png|center]] |
| | | |
− | ===Router1 Configuration=== | + | ===Router 1 Configuration=== |
| ---- | | ---- |
| ===LAN as WAN Configuration=== | | ===LAN as WAN Configuration=== |
Line 136: |
Line 136: |
| ===Router2 Configuration=== | | ===Router2 Configuration=== |
| ---- | | ---- |
− | ====LAN as WAN Configuration====
| + | ===LAN as WAN Configuration=== |
| + | |
| + | ====VLAN Configurtion==== |
| + | ---- |
| + | Open router‘s WebUI and navigate to '''Network → VLAN → Port Based''' configuration: |
| + | |
| + | =====Port based VLAN===== |
| + | ---- |
| + | Add new VLANs by clicking [[File:Add Button.png|40x70px]] and Make following changes to 3 new VLANS: |
| + | |
| + | # VLAN ID: '''192''' | lan1: '''Untagged''' | Lan2: '''Off''' | Lan3: '''Off''' |
| + | # VLAN ID: '''10''' | lan1: '''Off''' | Lan2: '''Untagged''' | Lan3: '''Off''' |
| + | # VLAN ID: '''172''' | lan1: '''Off''' | Lan2: '''Off''' | Lan3: '''Untagged''' |
| + | |
| + | [[File:OSPF_WAN_1.png|border|class=tlt-border|1100px]] |
| + | |
| + | ====WAN Interface Configurtion==== |
| + | ---- |
| + | Open router‘s '''WebUI''' and navigate to '''Network → WAN → WAN interfaces''' configuration: |
| + | =====Creating And Configuring WAN 1 Interface===== |
| + | ---- |
| + | Add new WAN by clicking [[File:Add Button.png|40x70px]] and Make following changes to new interface configurtion: |
| + | ======General Settings====== |
| + | ---- |
| + | Make the following changes: |
| + | # Enter Name: '''Wan1Main''' |
| + | # Select Protocol: '''Static''' |
| + | # Enter IPv4 address: '''192.168.110.2''' |
| + | # Enter IPv4 net mask: '''255.255.255.252''' |
| + | [[File:OSPF_ROUTER1_WAN1_General.png|border|class=tlt-border|center]] |
| + | ======Physical Settings====== |
| + | ---- |
| + | Make the following changes: |
| + | # Select interface: '''eth0.192''' |
| + | [[File:OSPF_ROUTER2_WAN1_Physical.png|border|class=tlt-border|center]] |
| + | |
| + | |
| + | =====Creating And Configuring WAN 2 Interface===== |
| ---- | | ---- |
| + | Add new WAN by clicking [[File:Add Button.png|40x70px]] and Make following changes to new interface configurtion: |
| + | ======General Settings====== |
| + | ---- |
| + | Make the following changes: |
| + | # Enter Name: '''Wan2Backup''' |
| + | # Select Protocol: '''Static''' |
| + | # Enter IPv4 address: '''10.0.110.2''' |
| + | # Enter IPv4 net mask: '''255.255.255.252''' |
| + | [[File:OSPF_ROUTER1_WAN2_General.png|border|class=tlt-border|center]] |
| + | |
| + | ======Physical Settings====== |
| + | ---- |
| + | Make the following changes: |
| + | # Select interface: '''eth0.10''' |
| + | [[File:OSPF_ROUTER2_WAN2_Physical.png|border|class=tlt-border|center]] |
| + | |
| + | =====Creating And Configuring WAN 3 Interface===== |
| + | ---- |
| + | Add new WAN by clicking [[File:Add Button.png|40x70px]] and Make following changes to new interface configurtion: |
| + | ======General Settings====== |
| + | ---- |
| + | Make the following changes: |
| + | # Enter Name: '''Wan3Backup''' |
| + | # Select Protocol: '''Static''' |
| + | # Enter IPv4 address: '''172.16.110.2''' |
| + | # Enter IPv4 net mask: '''255.255.255.252''' |
| + | [[File:OSPF_ROUTER1_WAN3_General.png|border|class=tlt-border|center]] |
| + | |
| + | ======Physical Settings====== |
| + | ---- |
| + | Make the following changes: |
| + | # Select interface: '''eth0.172''' |
| + | [[File:OSPF_ROUTER2_WAN3_Physical.png|border|class=tlt-border|center]] |
| + | |
| ====OSPF Configuration==== | | ====OSPF Configuration==== |
| ---- | | ---- |
| + | Open router‘s '''WebUI''' and navigate to '''Network → Routing → Dynamic routes → OSPF''' configuration: |
| + | =====OSPF - Global Settings===== |
| + | ---- |
| + | Make following changes: |
| + | # Enable Service: '''on''' |
| + | # Enable Vty: '''on''' |
| + | # Enter Router ID: '''192.168.110.2''' |
| + | # Select External Route: '''Default''' |
| + | # Select Redistribution Options: '''Connected''' |
| + | [[File:OSPF_GLOBAL_ROUTER1.png|border|class=tlt-border|center]] |
| | | |
| + | =====OSPF interfaces===== |
| + | Add new OSPF interface for each WAN interface created by clicking [[File:Add Button.png|40x70px]] |
| + | ---- |
| + | Make following changes to new interfaces: |
| + | # Select Interface: '''eth0.192 (WanMAIN)''' | Enable Interface: '''on''' |
| + | # Select Interface: '''eth0.10 (Wan2Backup)''' | Enable Interface: '''on''' |
| + | # Select Interface: '''eth0.172 (Wan3Backup)''' | Enable Interface: '''on''' |
| + | |
| + | [[File:OSPF_INTERFACES_1.png|border|class=tlt-border|center| 1000px]] |
| + | |
| + | =====OSPF area===== |
| + | Add new OSPF area for each WAN interface by entering the area name and clicking [[File:Add Button.png|40x70px]] |
| + | ---- |
| + | Make following changes to the areas: |
| + | # Name: '''First''' | Area: '''1005''' | Stub: '''off''' | '''on''' |
| + | # Name: '''Second''' | Area: '''1004''' | Stub: '''off''' | '''on''' |
| + | # Name: '''Third''' | Area: '''1003''' | Stub: '''off''' | '''on''' |
| + | [[File:OSPF_AREA_1.png|border|class=tlt-border|center]] |
| + | |
| + | =====OSPF networks===== |
| + | Add new OSPF network for each WAN interface by entering the area name and clicking [[File:Add Button.png|40x70px]] |
| + | ---- |
| + | Make following changes to the areas: |
| + | # Name: '''WAN1''' | Network: '''192.168.110.0/30''' | Area: '''First''' | '''on''' |
| + | # Name: '''WAN2''' | Network: '''10.0.110.0/30''' | Area: '''Second''' | '''on''' |
| + | # Name: '''WAN3''' | Netwrok: '''172.16.110.0/30''' | Area: '''Third''' | '''on''' |
| + | [[File:OSPF_NETWORKS_1.png|border|class=tlt-border|center]] |
| + | |
| + | ---- |
| | | |
| | | |