Hi,
I'm actually having a problem with ospfd on openBSD 5.1 that I do not understand. I already work with ospfd on openBSD 4.7 and 4.9 and I'm wondering if someone else had this problem before.
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...
here is the information of each firewall.
FW1 :
vr0 : 10.10.10.1/24
vr2 : 192.168.0.1/24
ospfd.conf
Code:
#macros
md1="password1"
md2="password2"
ext_if="vr0"
int_if="vr2"
router-id 192.168.0.1
# areas
area 0.0.0.0 {
auth-type crypt
auth-md 1 $md1
auth-md 2 $md2
auth-md-keyid 1
#local link
interface $ext_if
interface $int_if
}
ospfctl show nei
Code:
ID Pri State DeadTime Address Iface Uptime
192.168.1.1 1 FULL/DR 00:00:37 10.10.10.2 vr0 00:00:18
ospfctl show rib
Code:
Destination Nexthop Path Type Type Cost Uptime
10.10.10.0/24 10.10.10.1 Intra-Area Network 10 00:00:18
ospfctl show fib
Code:
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 4 10.10.100.0/24 link#7
*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.
FW2 :
vr0 : 10.10.10.2/24
vr2 : 192.168.1.1
ospfd.conf
Code:
#macros
md1="password1"
md2="password2"
ext_if="vr0"
int_if="vr2"
router-id 192.168.1.1
# areas
area 0.0.0.0 {
auth-type crypt
auth-md 1 $md1
auth-md 2 $md2
auth-md-keyid 1
#local link
interface $ext_if
interface $int_if
}
ospfctl show nei
Code:
ID Pri State DeadTime Address Iface Uptime
192.168.0.1 1 FULL/BCKUP 00:00:31 10.10.10.1 vr0 00:03:29
ospfctl show rib
Code:
Destination Nexthop Path Type Type Cost Uptime
10.10.10.0/24 10.10.10.2 Intra-Area Network 10 00:03:58
ospfctl show fib
Code:
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.2
*C 4 10.10.100.0/24 link#7
*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.1.0/24 link#3
*S 8 224.0.0.0/4 127.0.0.1
Thank you