Home
DevCentral
Search
Configure Global Search
Log In
Transactions
T2208
Change Details
Change Details
Old
New
Diff
Quagga is used to tell other machines which way to send traffic. > It is an open-source routing software that implements protocols like OSPF : It allows routers to automatically exchange routing information and update paths dynamically when the network changes. We have 2 routers: - router-002 (BACKUP) - router-003 (MASTER) When the MASTER fails: [x] CARP → BACKUP takes the VIP [x] OVH script → sets the correct MAC address (T2276) BUT… ❌ The other machines on the network won't know that it's changed : They know about the VIP, but they also need to know which route to take to reach it. ------------- So basically : If by example 51.68.252.230 points to 172.27.27.251 via gre1, it means Windriver is currently sending traffic through the tunnel gre1 connected to the active router (the MASTER). Therefore, if the other router takes over after a failover, the route must change automatically to point to the other tunnel/next-hop. Otherwise, Windriver will continue to send traffic to the old path, which will no longer be the correct one. So the goal is to use an open-source OSPF implementation to dynamically update routing towards the VIP when a failover occurs, ensuring traffic is always sent to the active router. ----------------------- References : https://fr.wikipedia.org/wiki/Quagga_(logiciel) https://enotepaper.wordpress.com/2014/01/08/installing-quagaa-on-freebsd/
Quagga (OSPF) is used to dynamically advertise routes so that other machines know which route to use to reach internal networks. We have two routers: - router-002 (BACKUP) - router-003 (ACTIVE) When a failover occurs: - CARP moves the VIP to the new ACTIVE - OVH script updates the MAC address However, remote machines (like Windriver, Ysul, CloudHugger) still send traffic through the old GRE tunnel, because they don't know that the active router has changed. `The issue is not about reaching the VIP itself, but about selecting the correct path to reach the internal network (172.27.27.0/27).` To solve this, Quagga provides OSPF, which is used to dynamically advertise the network through both routers. This ensures that traffic is always routed through the GRE tunnel connected to the ACTIVE router. ----------------------- References : https://fr.wikipedia.org/wiki/Quagga_(logiciel) https://enotepaper.wordpress.com/2014/01/08/installing-quagaa-on-freebsd/
Quagga
is used to tell other machines which way to send traffic. > It is an open-source routing software that implements protocols like OSPF : It allows routers to automatically exchange routing information and update paths dynamically when the network changes. We have 2 routers:
(OSPF) is used to dynamically advertise routes so that other machines know which route to use to reach internal networks.
We have two routers:
- router-002 (BACKUP)
- router-003 (MASTER) When the MASTER fails: [x] CARP → BACKUP takes the VIP
[x] OVH script → sets the correct MAC address (T2276
- router-003 (ACTIVE
)
BUT… ❌ The other machines on the network won't know that it's changed : They know about the VIP, but they also need to know which route to take to reach it.
When a failover occurs: - CARP moves the VIP to the new ACTIVE - OVH script updates the MAC address
-------------
However, remote machines (like Windriver, Ysul, CloudHugger) still send traffic through the old GRE tunnel, because they don't know that the active router has changed.
So basically : If by example 51.68.252.230 points to 172
`The issue is not about reaching the VIP itself, but about selecting the correct path to reach the internal network (172
.27.27.
251 via gre1, it means Windriver is currently sending traffic through the tunnel gre1 connected to the active router (the MASTER).
0/27).`
T
herefore, if the other router takes over after a failover, the route must change automatically to point to the other tunnel/next-hop. Otherwise
o solve this
,
Windriver will continue to send traffic to the old path
Quagga provides OSPF
, which
will no longer b
is used to dynamically advertis
e the
correct one
network through both routers
.
So the goal is to use an open-source OSPF implementation to dynamically update routing towards the VIP when a failover occurs, ensuring traffic is always sent to the active
This ensures that traffic is always routed through the GRE tunnel connected to the ACTIVE
router. ----------------------- References : https://fr.wikipedia.org/wiki/Quagga_(logiciel) https://enotepaper.wordpress.com/2014/01/08/installing-quagaa-on-freebsd/
Continue