redundant_routers
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
redundant_routers [2023/07/29 18:13] – created bent | redundant_routers [2025/09/10 15:54] (current) – [Redundant Routers] bent | ||
---|---|---|---|
Line 3: | Line 3: | ||
{{ : | {{ : | ||
- | The virtual router is implented using the keepalived(8) package from the [[https:// | + | The virtual router is implented using the keepalived(8) package from the [[https:// |
Nounours is the chosen master router since it has the best connection to the Internet. Gate-rpi is then the backup router. Configuration is done following the guidelines on the [[https:// | Nounours is the chosen master router since it has the best connection to the Internet. Gate-rpi is then the backup router. Configuration is done following the guidelines on the [[https:// | ||
+ | |||
+ | The switch between master and backup is only done when the backup has a higher priority than the (previous) master. If Nounours goes down this happens automatically, | ||
Here are the configurations files. On both routers they may be found at / | Here are the configurations files. On both routers they may be found at / | ||
Line 19: | Line 21: | ||
| | ||
| | ||
+ | | ||
+ | | ||
+ | |||
+ | } | ||
+ | vrrp_script keepalived_check { | ||
+ | | ||
+ | | ||
+ | | ||
+ | rise 3 | ||
+ | fall 3 | ||
} | } | ||
vrrp_instance NET19 { | vrrp_instance NET19 { | ||
Line 34: | Line 46: | ||
} | } | ||
} | } | ||
+ | track_script { | ||
+ | keepalived_check | ||
+ | } | ||
+ | notify "/ | ||
===== Backup Router (Gate-rpi)===== | ===== Backup Router (Gate-rpi)===== | ||
redundant_routers.1690654391.txt.gz · Last modified: by bent