On Thu, Oct 13, 2005 at 11:20:50AM -0400, stan wrote:
> On Thu, Oct 13, 2005 at 04:50:48PM +0200, L?o Goehrs wrote:
> > Wust fetch the full sources, then go to /usr/src/usr.sbin/ospfd and
> > /usr/src/usr.sbin/ospfctl and make && make install :)
> >
> Thanks. That is a bit problematic as, the long version of what is going on
> here is corporate made some changes which have resulted in these boxes
> being isolated from the outside world. Thier answer as to how to fix this
> is for me to get ospf working. Can you say "chiicken or egg question" :-)
>
In that case I would download a current base38.tgz form a snapshot.
Extract usr/sbin/ospfd usr/sbin/ospfctl usr/lib/libc.so.38.2 from it and
put those on a floppy or memory stick to move the binaries to your box.
> In the mean time, Ive comenetd out the check for zero lentght MTU's in the
> 3.7 ospfd sorcues, and I can now get a conection to the corporate router.
> However, they are not seeing the route I'm suposed to advertise.
>
Hmm. The 3.7 ospfd had many limitations and bugs. One of them was I think
a problem with redistribution of stub networks as in your case.
"ospfctl show database" and "ospfctl show database router" shows you what
is in the link state database. It is possible that the second command was
introduced after 3.7
> I strongly suspect that it's a problem with my ospfd.conf file. Here it is:
>
>
> # $OpenBSD: ospfd.conf,v 1.2 2005/02/06 20:07:09 norby Exp $
>
> # macros
> # password="secret"
>
> # global configuration
> router-id 170.85.113.111
> # fib-update no
> # spf-delay 1
> # spf-holdtime 5
>
> # auth-key $password
> # auth-type none
> hello-interval 10
> # metric 10
> retransmit-interval 5
> router-dead-time 40
> router-priority 1
> transmit-delay 1
>
> # areas
> area 0.0.0.120 {
> interface fxp0 {
> auth-type none
> }
> interface fxp2 {
> auth-type none
> }
> }
>
> What I'm trying to do is advertise that these machines (whose CARP'd
> externall addres is 170.85.113.99 can route to 170.85.106.128/25
>
> Yhe external NIC is fxp1, and the internal one is fxp2.
>
What is on fxp0? You don't have a fxp1 in your config.
> Can you show me how to correct this config file?
>
Looks not that bad. With -current ospfd you could acctually use
redistribute connected to annouce all connected networks.
> If we can get this done, then I should be able to use cvs to grab the
> current sources.
>
If the router is part of the OSPF cloud it should be able to access the
internet. Make sure that you are updateing the FIB, I think it is on by
default but I may be wrong.
Try to play a bit with ospfctl to see if your router actually is part of
the ospf cloud.
--
:wq Claudio