On 24/09/2013 11:58, Kapetanakis Giannis wrote:
On 24/09/13 12:24, mxb wrote:
I'v seen this issue, but it just magically disappeared then I
re-configured ospfd and restarted on both ends.
I had an issue to see routes from area 0.0.0.0 on area 0.0.0.78.
Host A:
area 0.0.0.0 {
interface vether0 { metric 5 }
interface vether1 { metric 5 }
}
area 0.0.0.78 {
interface vether2 { metric 10
…….
}
interface carp1 { passive }
interface carp2 { passive }
interface lo1 { metric 5 }
interface vic2 { metric 10 }
}
Host B:
area 0.0.0.78 {
interface vether2 { metric 10
…….
}
}
Host A is:
OpenBSD 5.4 (GENERIC.MP) #34: Sun Jul 21 22:07:08 MDT 2013
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
Host B is:
OpenBSD 5.3 (GENERIC) #53: Tue Mar 12 18:15:44 MDT 2013
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
As you can see, this setup works without any patch.
I tested to remove lo1 and see if routes to carped nets disappear. No
luck. Routes are there.
//mxb
On 24 sep 2013, at 11:08, Kapetanakis Giannis
<bil...@edu.physics.uoc.gr> wrote:
On 24/09/13 12:02, Kapetanakis Giannis wrote:
Without this patch, routes to (lo2) and carpX:network where not
distributed. regards, G
My e-mail client somehow f@cked up Claudio's patch,
Here is the link to hist original post
http://marc.info/?l=openbsd-misc&m=137038436926946&w=2
G
I think I'm talking about a different setup than yours.
Cisco1 --- [area: 0.0.0.0] --- [OBSD] --- [area: 0.0.0.7]
Cisco does not learn routes from 0.0.0.7 which are only local on OBSD
(VLANs, carp, loopback etc).
If the setup is
Cisco1 --- [area: 0.0.0.0] --- [OBSD] --- [area: 0.0.0.7] --- Cisco2
Then Cisco1 learns the routes from 0.0.0.7. I guess they come from
Cisco2.
G
With the last patch (05/06/13) I tested from Claudio, area 0.0.0.7 was
announced in area 0.0.0.0 (using your first setup). Adding another OSD
router (instead of Cisco2 in your second setup) also worked, however
when I stopped OSPF on this second OBSD router area 0.0.0.7 was not
announced anymore. Restarting the OSPF process on the first OBSD router
brought area 0.0.0.7 back in.
So Cisco1 learns the routes from the first OBSD router; not the Cisco2
(IIRC that isn't possible unless you have a virtual link from Cisco2 to
Cisco1).
HTH,
Stijn