How does BIRD detect the connected network type for ospf neighbor

Wei Huang whuang at talari.com
Mon Dec 5 17:20:23 CET 2016


When I set my ospf interface eth1's address to be 10.2.1.2/30, neighbor router ethernet interface IP address to be 10.2.1.1/30, the neighbor shows it's PTP type:


bird> sh ospf neighbors
ospf_rdomain_0:
Router ID       Pri          State      DTime   Interface  Router IP
172.16.20.76      1     Full/PtP        00:35   vni-0      10.2.1.1


If I change the interfaces' IP address to be 10.2.1.x/24 or I force interface type to be bcast in Bird's ospf config, it shows as

bird> sh ospf neighbors
ospf_rdomain_0:
Router ID       Pri          State      DTime   Interface  Router IP
172.16.20.76      1     Full/DR         00:35   vni-0      10.2.1.1

My question is how does Bird detect the connected network type?

Thanks,

Wei

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20161205/f3b40736/attachment.html>


More information about the Bird-users mailing list