[quagga-dev 6452] Re: OSPF passive interface question.

Joakim Tjernlund Joakim.Tjernlund at transmode.se
Wed Mar 4 12:19:16 GMT 2009


> Hi Joakim,
> 
> I tried with c871---quagga, but could not reproduce with this simple
> setup, with redistributing routes 6.6.6.6/32 from cisco to quagga, and
> 7.7.7.7/32 from quagga to cisco.

Hi Fritz, thanks for trying. See below ..

[SNIP]

> 
> 
> So this either means it cannot be reproduces with redistributes, or with
> only 2 routes back to back, or the bug is in the way quagga takes the
> interface to passive.

Don't think you can reproduce with only two routers. You need atleast 3:

R1 --- R2 --- R3

Set passive on R2, towards R1.
Check in R1 if you still got routes to R3


> In the latter case one needs to try quagga-quagga, which I can not test
> today.
> 
> However, I tried to set the interface eth1 passive on quagga as well:
> mark-ospfd# conf t
> mark-ospfd(config)# router ospf
> mark-ospfd(config-router)# pass eth1
> mark-ospfd(config-router)#
> 
> Leads to cisco timing out neighbor after dead time is reached:
> 
> c871#sh ip ospf neigh
> 
> Neighbor ID     Pri   State           Dead Time   Address Interface
> 5.5.5.5           1   FULL/DR         00:00:24    192.168.1.1     Vlan3
> c871#sh ip ospf neigh
> 
> Neighbor ID     Pri   State           Dead Time   Address Interface
> 5.5.5.5           1   FULL/DR         00:00:19    192.168.1.1     Vlan3
> c871#
> *Mar  1 03:13:08.183: %OSPF-5-ADJCHG: Process 1, Nbr 5.5.5.5 on Vlan3 
from
> FULL to DOWN, Neighbor Down: Dead timer expired
> 
> And adjacency and route 7.7.7.7/32 are gone:
> 
> c871#sh ip route ospf
> 
> c871#
> 
> Fritz
> 
> 
> >>
> >> "Andrew J. Schorr" <aschorr at telemetry-investments.com> wrote on
> > 02/03/2009
> >> 19:35:31:
> >>
> >> > On Mon, Mar 02, 2009 at 05:23:17PM +0100, Joakim Tjernlund wrote:
> >> > > Just to confirm the passive interface function in OSPF. If an
> >> interface is
> >> > > set to passive there should be no OSPF traffic sent or received 
over
> >
> >> that
> >> > > interface, correct?
> >> > >
> >> > > I see a problem in current Quagga:
> >> > >  R1 --- R2 --- R3---R4,
> >> > >  R2 has its interface to R1 set to passive.
> >> > >  All other interfaces in R1, R2, R3 and R4 has OSPF fully 
enabled.
> >> > >
> >> > > R1 still have routes learned from R2 that points to R3 and R4
> >> > > This seems wrong to me, R1 should not know anything about R3 and 
R4.
> >> >
> >> > Yes, that seems wrong.  Is an adjacency being formed between
> >> > R1 and R2?  What do 'show ip ospf neigh' and 'show ip ospf 
interface'
> >> > say on R1 and R2?
> >>
> >> No adjacency, need to get access to the router tomorrow to see what
> >> is going on. Perhaps it is something that happens when you flip
> >> an existing connection between R1 and R2 into passive? Will
> >> check what happens if I start the router in passive mode directly.
> >>
> >>  Jocke
> >
> > Got a bit busy but now I have managed to check a litte.
> > Turns out that the routes are deleted from OSPF,
> > "show ip ospf route" does not contain routes to R3 and R4.
> > Howver "show ip route" does, so it seem like
> > OSPF isn't deleting the routes from zebra.
> >
> > I havn't managed to see why and would very much like if someone else
> > can test too as I don't know if this problem is due to something in my
> > system or if it is a general Quagga problem.
> >
> >  Jocke
> >
> > _______________________________________________
> > Quagga-dev mailing list
> > Quagga-dev at lists.quagga.net
> > http://lists.quagga.net/mailman/listinfo/quagga-dev
> >
> 
> 
> 




More information about the Quagga-dev mailing list