On Thu, Oct 18, 2012 at 03:50:45PM -0400, Mathieu Gignac wrote: > Hi, > > I'm testing ospf on openBSD 5.1 on a lab before sending firewalls in > production and I'm actually having a problem with ospfd that I do not > understand. I already work with ospfd on openBSD 4.7 and 4.9 and > I'm wondering if you could help me with my problem. > > I have 2 firewalls connected to each other. > > FW1 vr0 --------- FW2 vr0 > > Both routers are communicating together via ospf and exchanging > informations. The only problem is that routing tables on each routers > are not updated or ospf does not seam to exchange routes with each > others. > > > Here is the information of each firewall. > > ----------------- > FW1 : > ----------------- > > > vr0 : 10.10.10.1/24 > vr2 : 192.168.0.1/24 >
<snip> > ospfctl show nei > ------------------------ > ID Pri State DeadTime Address Iface Uptime > 192.168.1.1 1 FULL/DR 00:00:35 10.10.10.2 vr0 00:00:10 > > ospfctl show rib > ------------------------ > Destination Nexthop Path Type Type Cost Uptime > 10.10.10.0/24 10.10.10.1 Intra-Area Network 10 00:00:16 > > ospfctl show fib > ------------------------ > flags: * = valid, O = OSPF, C = Connected, S = Static > Flags Prio Destination Nexthop > *C 4 10.10.10.0/24 link#1 > *O 32 10.10.10.0/24 10.10.10.1 > *C 0 127.0.0.0/8 link#0 > *S 8 127.0.0.0/8 127.0.0.1 > * 4 127.0.0.1/32 127.0.0.1 > C 4 192.168.0.0/24 link#3 > *S 8 224.0.0.0/4 127.0.0.1 > > > I also tried "redistribute 192.168.0.0/24" and "redistribute > connected" and it is not working. > In the show fib output you can see that 192.168.0.0/24 is not a valid route. In other words the link is most probably not up on the interface and therefor the information is not distributed. Make sure that vr2 has link and is up and then the route should be valid in ospfd and redistributed to the other side. -- :wq Claudio

