DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 17th October 2012
EvilPaper EvilPaper is offline
New User
 
Join Date: Oct 2012
Posts: 2
Thanked 0 Times in 0 Posts
Default openBSD 5.1 and OSPFD

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
Reply With Quote
  #2   (View Single Post)  
Old 17th October 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,643
Thanked 214 Times in 189 Posts
Default

Hello, and welcome, EvilPaper!

It is likely you won't get detailed technical help on ospfd(8) here; there are only a few folk here who respond regularly to OpenBSD questions and I can't recall OSPF being mentioned in any prior forum post. If you don't get any assistance within the next couple of days, you might consider posting your question to the misc@ mailing list. If you do post to misc@, don't forget to also post your sysctl settings, your PF configurations (redacting any "real" IP addresses), and your dmesgs for both firewalls.

I don't use OSPF, so I won't be of any help. I do know that a number of major changes to ospfd and ospf6d were enacted for OpenBSD 5.0. If one FW is 4.9 or 4.7 and the other is 5.1, those differences may be a factor in your search for a root cause.
Reply With Quote
  #3   (View Single Post)  
Old 18th October 2012
EvilPaper EvilPaper is offline
New User
 
Join Date: Oct 2012
Posts: 2
Thanked 0 Times in 0 Posts
Default

Thanks for your reply, I will post the informations you asked and I will also send an email to misc@.

I will also keep you update on the problem if I get anything new on how to fix the problem.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:37 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick