I am pretty fluent in networking, but advanced routing like BGP / OSPF I don't have a lot of experience with. I'd like to try learning at home in my home lab, so I'm wondering if I can do something like the following:
Network diagram:
I'm currently using keepalived along with haproxy to float some Virtual IPs between two kubernetes nodes in my lab. 192.168.1.25 - 192.168.1.27 Also on these 2 nodes sits 10.32.0.0/12, the kubernetes pod subnet. Keepalived is an Active/Passive tool, I'd like to try and implement OSPF/BGP if this is possible between the 2 nodes and my router/firewall (Palo Alto Networks PA-3020). I know the basic concept of BGP is to advertise different routes, I'm wondering if it can be done with the same subnet, basically issuing static routes (for 192.168.1.25-27, go to either 192.168.1.20 or 192.168.1.21) as well as routing the K8s subnet (for 10.32.0.0/12, go to 192.168.1.20 or 192.168.1.21)
Is this possible? I understand some BASIC principles of OSPF, not so much BGP, and not looking for a "here are the configuration settings you need to do it" so much as "yes you can do it, you need to set this for the Area on the Router and then this on the proxies"...I can fill in the blanks. I'm assuming that I can assign the VIPs to the loopback interfaces on both proxies.
Thanks!
No comments:
Post a Comment