Hello,
I have an OVN network managed by Incus. This network is connected to a physical UPLINK. This physical network is configured to send routes via BGP to my router.
You can find the configuration below:
incusovn:
config:
bridge.mtu: "1500"
ipv4.address: 10.100.1.1/24
ipv4.nat: "false"
ipv6.address: fd12:3456:7890:1::1/64
ipv6.nat: "false"
network: UPLINK
UPLINK
config:
bgp.peers.router.address: 10.10.10.1
bgp.peers.router.asn: "65000"
dns.nameservers: 10.10.10.1
ipv4.gateway: 10.10.10.1/24
ipv4.ovn.ranges: 10.10.10.100-10.10.10.100
ipv4.routes: 10.100.1.0/24,10.100.254.0/24,10.100.200.0/2
ovn.ingress_mode: routed
parent: br1010
With my configuration instances are launched in 10.100.1.0/24 CIDR.
I run a Kubernetes cluster inside VMs and this cluster expose load balancer on 10.200.1.0/24 CIDR. I tried to ask my cluster to do BGP with my router but it does not work as there is no direct connection between them (there is the ovn network between), so it does not work. What I have done is to declare the 10.200 CIDR on ipv4.routes that way route is announced and on Kubernetes I use virtual IP to correctly responds.
My question is: is there a way to do BGP between VMs and OVN router and then the OVN router send routes to Incus which propagates them to the router ?