BGP Session with LXD backed by OVN

I don’t get anywhere near the amount of information you have in yours. I’m assuming cause it hasn’t set up a peer session yet just the server stuff.

lxc query /internal/testing/bgp
{
	"peers": [],
	"prefixes": [],
	"server": {
		"address": "192.168.20.50:179",
		"asn": 64512,
		"router_id": "192.168.20.50",
		"running": true
	}
}

tcpdump looks like it’s coming from the right source.

04:00:07.043932 IP 192.168.20.1.37390 > LABHOST-01.thelabs.online.bgp: Flags [S], seq 2978865443, win 29200, options [mss 1460,sackOK,TS val 83324845 ecr 0,nop,wscale 7], length 0
04:00:07.044012 IP LABHOST-01.thelabs.online.bgp > 192.168.20.1.37390: Flags [S.], seq 2657704582, ack 2978865444, win 65160, options [mss 1460,sackOK,TS val 805056268 ecr 83324845,nop,wscale 7], length 0
04:00:07.044540 IP 192.168.20.1.37390 > LABHOST-01.thelabs.online.bgp: Flags [.], ack 1, win 229, options [nop,nop,TS val 83324845 ecr 805056268], length 0
04:00:07.044540 IP 192.168.20.1.37390 > LABHOST-01.thelabs.online.bgp: Flags [P.], seq 1:54, ack 1, win 229, options [nop,nop,TS val 83324845 ecr 805056268], length 53: BGP
04:00:07.044644 IP LABHOST-01.thelabs.online.bgp > 192.168.20.1.37390: Flags [.], ack 54, win 509, options [nop,nop,TS val 805056269 ecr 83324845], length 0
04:00:07.044933 IP LABHOST-01.thelabs.online.bgp > 192.168.20.1.37390: Flags [R.], seq 1, ack 54, win 509, options [nop,nop,TS val 805056269 ecr 83324845], length 0

Do you think because when LXD is talking to the router it’s coming from LABHOST-01.thelabs.online.bgp?. Which I’m not sure what that is.

And for the sake of it, my routers bgp summary

show ip bgp summary
BGP router identifier 192.168.20.1, local AS number 64512
BGP table version is 1
0 BGP AS-PATH entries
0 BGP community entries

Neighbor                 V   AS   MsgRcv    MsgSen TblVer   InQ   OutQ    Up/Down   State/PfxRcd
192.168.20.50            4 64512    0        175       0      0      0     never      Active

Total number of neighbors 1

Total number of Established sessions 0

Don’t mind the same ASN numbers… this was just me trying to take shots in the dark.