I tried some additional debugging with this setup :
(Note : All interfaces are tap interfaces)
Result : OSPF is up and running, BGP is in established state
Changed OSPF to be on eth-1. It stays in alone state. (Packet capture shows hello packets being received from neighbor. Neighbor adds us(bird) and changes to init state but bird seems to just not receive packets . Doing a 'netstat -an' , the receive and send queue are empty inspite of packets being received on that interface.
Then when we change eth-0 to other subnet (
10.0.3.11/24) , OSPF on eth-1 immediately comes up , bgp on eth-1 is also in established state. But BGP on eth-0 times out.
I think the kernel does not like the interfaces in same subnet ? (just a guess here).
In my device protocol , i am just scanning interfaces every 10 seconds. I have a custom forwarding plane and so, dont use kernel protocol( that does not seem to be the issue here though).
Thanks,
JM