Hey,
I managed to succesfully advertise my OVN networks over BGP.
lxc query /internal/testing/bgp
{
"peers": [
{
"address": "192.168.3.1",
"asn": 65551,
"count": 1,
"holdtime": 0,
"password": ""
}
],
"prefixes": [
{
"nexthop": "0.0.0.0",
"owner": "network_17",
"prefix": "172.25.100.0/24"
},
{
"nexthop": "0.0.0.0",
"owner": "network_15",
"prefix": "172.25.25.0/24"
}
],
"server": {
"address": "192.168.3.197",
"asn": 65197,
"router_id": "192.168.3.197",
"running": true
}
}
The next problem I face is… traffic arrives at my LXD host (192.168.3.197) but this host doesn’t know what to do with the traffic. There’s no routes towards anything OVN related. I tried creating a route to the br-int interface but it’s down so it won’t create.
What’s the next step?
here’s some of my config:
config:
cluster.https_address: 192.168.3.197:8443
core.bgp_address: 192.168.3.197
core.bgp_asn: "65197"
core.bgp_routerid: 192.168.3.197
my uplink network:
name: guests
description: ""
type: physical
managed: true
status: Created
config:
bgp.peers.opnsense.address: 192.168.3.1
bgp.peers.opnsense.asn: "65551"
ipv4.ovn.ranges: 172.25.0.0-172.25.255.255
ipv4.routes: 172.25.0.0/16
ovn.ingress_mode: routed
my OVN network:
name: ovn25
description: ""
type: ovn
managed: true
status: Created
config:
bridge.mtu: "1442"
ipv4.address: 172.25.25.1/24
ipv6.address: none
network: guests