Home
DevCentral
Search
Configure Global Search
Log In
Transactions
T2303
Change Details
Change Details
Old
New
Diff
Based on the T2298 (Quagga), this task aims to migrate to FRRouting. FRRouting will replace Quagga as the routing suite to manage dynamic routing (OSPF). Since FRRouting does not natively integrate with CARP, a mechanism will be implemented to adjust OSPF interface costs based on the CARP state: - ACTIVE: normal cost (preferred path) - BACKUP: higher cost (avoid routing through it) This ensures that traffic always flows through the ACTIVE router. --------------------------- Steps : 1. [] Install FRRouting 2. [] Activate the service 3. [] Create the FRR configuration with OSPF added 5. [] Start FRR 6. [] Implement a script to dynamically adjust OSPF cost based on CARP state: - ACTIVE: low cost (preferred path) - BACKUP: high cost 7. [] Link the script to CARP events using devd 8. [] Test failover: - Simulate CARP state change - Verify OSPF cost is updated - Ensure traffic for 172.27.27.0/27 switches to the new ACTIVE router --------------------------- References : https://en.wikipedia.org/wiki/FRRouting https://docs.opnsense.org/manual/dynamic_routing.html
Based on the T2298 (Quagga), this task aims to migrate to FRRouting. FRRouting will replace Quagga as the routing suite to manage dynamic routing (OSPF). Since FRRouting does not natively integrate with CARP, a mechanism will be implemented to adjust OSPF interface costs based on the CARP state: - ACTIVE: normal cost (preferred path) - BACKUP: higher cost (avoid routing through it) This ensures that traffic always flows through the ACTIVE router. --------------------------- Steps : 1. [] Install FRRouting 2. [] Activate the service 3. [] Create the FRR configuration with OSPF added 5. [] Start FRR 6. [] Implement a script to dynamically adjust OSPF cost based on CARP state: - ACTIVE: low cost (preferred path) - BACKUP: high cost So basicly : Each router sets a different cost based on its CARP state, with the ACTIVE using a lower cost and the BACKUP a higher one. This allows remote machines to automatically select the GRE tunnel connected to the active router. 7. [] Link the script to CARP events using devd 8. [] Test failover: - Simulate CARP state change - Verify OSPF cost is updated - Ensure traffic for 172.27.27.0/27 switches to the new ACTIVE router --------------------------- References : https://en.wikipedia.org/wiki/FRRouting https://docs.opnsense.org/manual/dynamic_routing.html
Based on the T2298 (Quagga), this task aims to migrate to FRRouting. FRRouting will replace Quagga as the routing suite to manage dynamic routing (OSPF). Since FRRouting does not natively integrate with CARP, a mechanism will be implemented to adjust OSPF interface costs based on the CARP state: - ACTIVE: normal cost (preferred path) - BACKUP: higher cost (avoid routing through it) This ensures that traffic always flows through the ACTIVE router. --------------------------- Steps : 1. [] Install FRRouting 2. [] Activate the service 3. [] Create the FRR configuration with OSPF added 5. [] Start FRR 6. [] Implement a script to dynamically adjust OSPF cost based on CARP state: - ACTIVE: low cost (preferred path) - BACKUP: high cost
So basicly : Each router sets a different cost based on its CARP state, with the ACTIVE using a lower cost and the BACKUP a higher one. This allows remote machines to automatically select the GRE tunnel connected to the active router.
7. [] Link the script to CARP events using devd 8. [] Test failover: - Simulate CARP state change - Verify OSPF cost is updated - Ensure traffic for 172.27.27.0/27 switches to the new ACTIVE router --------------------------- References : https://en.wikipedia.org/wiki/FRRouting https://docs.opnsense.org/manual/dynamic_routing.html
Continue