I have ospf running between OpenBSD 4.2 GENERIC.MP#304 i386 and a 1721
Cisco running c1700-k9o3sy7-mz.123-23.bin. "ospfctl show fib ospf"
shows 2 networks, the loopbacks and the gre link however "ospfctl show
database area 0.0.0.0" shows only the loopbacks, why doesn't the
database show the gre link, and how is there an ospf route in the fib
when its not in the database?
Thank you for any help
# ospfctl show data area 0.0.0.0
Router Link States (Area 0.0.0.0)
Link ID Adv Router Age Seq# Checksum
192.168.179.1 192.168.179.1 988 0x80000003 0xe33b
192.168.179.2 192.168.179.2 959 0x8000002e 0x0fbe
# ospfctl show fib osp
flags: * = valid, O = OSPF, C = Connected, S = Static
Flags Destination Nexthop
*O 172.16.0.0/30 172.16.0.2
*O 192.168.179.2/32 172.16.0.2
# ifconfig gre0 inet
gre0: flags=9011<UP,POINTOPOINT,LINK0,MULTICAST> mtu 1476
groups: gre
physical address inet X --> X
inet 172.16.0.1 --> 172.16.0.2 netmask 0xfffffffc
# cat /etc/ospfd.conf
router-id 192.168.179.1
area 0.0.0.0 {
interface lo1:192.168.179.1
interface gre0
}
Router#sho run | b ospf
router ospf 179
router-id 192.168.179.2
log-adjacency-changes
network 172.16.0.0 0.0.15.255 area 0
network 192.168.179.0 0.0.0.255 area 0
--
-Lawrence
-Student ID 1028219