Home
DevCentral
Search
Configure Global Search
Log In
Transactions
T2303
Change Details
Change Details
Old
New
Diff
Based on the T2208 (Quagga), this task aims to migrate to FRRouting. FRRouting will replace Quagga as the routing suite to manage dynamic routing (we will use OSPF integrated in FRRouting). But... Since FRRouting does not natively integrate with CARP (same for Quagga), 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 the correct route is recorded in the routing table. --------------------------- Steps : [x] 1. Install FRRouting on router-002 and router-003 D4055 [x] 2. Activate the service D4055 [x] 3. Create the FRR configuration with OSPF added D4068 [] 4. 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. [] 5. Link the script to CARP events using devd [] 6. 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 https://docs.frrouting.org/en/latest/ospfd.html https://docs.frrouting.org/en/latest/vtysh.html https://man.freebsd.org/cgi/man.cgi?query=vtysh&sektion=1&manpath=freebsd-ports https://community.cisco.com/t5/networking-knowledge-base/understanding-passive-interface-default-command-in-ospf/ta-p/3120648 https://packetpushers.net/blog/understanding-ospf-router-id-rid-assignment
Based on the T2208 (Quagga), this task aims to migrate to FRRouting. FRRouting will replace Quagga as the routing suite to manage dynamic routing (we will use OSPF integrated in FRRouting). But... Since FRRouting does not natively integrate with CARP (same for Quagga), 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 the correct route is recorded in the routing table. --------------------------- Steps on routers : [x] 1. Install FRRouting on router-002 and router-003 D4055 [x] 2. Activate the service D4055 [x] 3. Create the FRR configuration with OSPF added D4068 ------------------ FRRouting should also be installes on Ysul and Windriver : [ ] 1. Install FRRouting [ ] 2. Activate the service ------------------------------ [] 4. 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. [] 5. Link the script to CARP events using devd [] 6. 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 https://docs.frrouting.org/en/latest/ospfd.html https://docs.frrouting.org/en/latest/vtysh.html https://man.freebsd.org/cgi/man.cgi?query=vtysh&sektion=1&manpath=freebsd-ports https://community.cisco.com/t5/networking-knowledge-base/understanding-passive-interface-default-command-in-ospf/ta-p/3120648 https://packetpushers.net/blog/understanding-ospf-router-id-rid-assignment
Based on the T2208 (Quagga), this task aims to migrate to FRRouting. FRRouting will replace Quagga as the routing suite to manage dynamic routing (we will use OSPF integrated in FRRouting). But... Since FRRouting does not natively integrate with CARP (same for Quagga), 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 the correct route is recorded in the routing table. --------------------------- Steps
:
on routers :
[x] 1. Install FRRouting on router-002 and router-003 D4055 [x] 2. Activate the service D4055 [x] 3. Create the FRR configuration with OSPF added D4068
------------------ FRRouting should also be installes on Ysul and Windriver : [ ] 1. Install FRRouting [ ] 2. Activate the service ------------------------------
[] 4. 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. [] 5. Link the script to CARP events using devd [] 6. 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 https://docs.frrouting.org/en/latest/ospfd.html https://docs.frrouting.org/en/latest/vtysh.html https://man.freebsd.org/cgi/man.cgi?query=vtysh&sektion=1&manpath=freebsd-ports https://community.cisco.com/t5/networking-knowledge-base/understanding-passive-interface-default-command-in-ospf/ta-p/3120648 https://packetpushers.net/blog/understanding-ospf-router-id-rid-assignment
Continue