Re: ospf6d doesn't announce passive interfaces
Hi, On Tue, 9 Nov 2010 14:04:22 +0100 Jan Johansson janj+open...@wenf.org wrote: ... | I am now trying to replicate this setup for IPv6 using | ospf6d but it seems that it will only announce addresses on | active interfaces. FYI, having the same problem (on passive emX; I haven't tried on carp), I've applied your patch: http://patrick.ld.net.au/ospf6d-fix-passive-interfaces-mk2.patch which solve this problem but create a new one: loopback (lo1 in my case) is no more announced. PR opened: http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=6559 Manuel
Re: ospf6d doesn't announce passive interfaces
On Wed, Feb 9, 2011 at 11:42 PM, Manuel Guesdon ml+openbsd.m...@oxymium.net wrote: Hi, On Tue, 9 Nov 2010 14:04:22 +0100 Jan Johansson janj+open...@wenf.org wrote: ... | I am now trying to replicate this setup for IPv6 using | ospf6d but it seems that it will only announce addresses on | active interfaces. FYI, having the same problem (on passive emX; I haven't tried on carp), I've applied your patch: http://patrick.ld.net.au/ospf6d-fix-passive-interfaces-mk2.patch which solve this problem but create a new one: loopback (lo1 in my case) is no more announced. Oops. I do intend to fix this; things have just been busy recently. Hopefully soon. Cheers, Patrick -- http://www.labyrinthdata.net.au - WA Backup, Web and VPS Hosting
Re: ospf6d doesn't announce passive interfaces
On Thu, 10 Feb 2011 00:21:59 +0800 Patrick Coleman blin...@gmail.com wrote: | On Wed, Feb 9, 2011 at 11:42 PM, Manuel Guesdon | ml+openbsd.m...@oxymium.net wrote: | Hi, | | On Tue, 9 Nov 2010 14:04:22 +0100 | Jan Johansson janj+open...@wenf.org wrote: | ... | | I am now trying to replicate this setup for IPv6 using | | ospf6d but it seems that it will only announce addresses on | | active interfaces. | | FYI, having the same problem (on passive emX; I haven't tried on carp), I've | applied your patch: | B http://patrick.ld.net.au/ospf6d-fix-passive-interfaces-mk2.patch | which solve this problem but create a new one: loopback (lo1 in my case) is | no more announced. | | Oops. I do intend to fix this; things have just been busy recently. | Hopefully soon. Thx ! I've made a (very) quik dirty change in rde.c: --- rde.c.patched Wed Feb 9 13:48:20 2011 +++ rde.c Wed Feb 9 17:50:04 2011 @@ -1476,13 +1476,15 @@ * This will not advertise backup carp interfaces (which have a link * state of down). */ - if (!(LINK_STATE_IS_UP(iface-linkstate)) || + if (iface-media_type!=IFT_LOOP + ( + !(LINK_STATE_IS_UP(iface-linkstate)) || !(iface-flags IFF_UP) || ((iface-state IF_STA_DOWN) !((iface-media_type == IFT_CARP) || (iface-cflags F_IFACE_PASSIVE))) || ((iface-linkstate == LINK_STATE_UNKNOWN) - (iface-media_type == IFT_CARP))) { +(iface-media_type == IFT_CARP { log_debug(orig_intra_lsa_rtr: area %s, interface %s: not including in LSA, inet_ntoa(area-id), iface-name); continue; which bring back the loopback announcement but it's really dirty :-) Manuel
ospf6d doesn't announce passive interfaces
Hello! We have been running with an ospfd.conf looking like this: router-id 10.10.10.6 area 0.0.0.0 { auth-type crypt auth-md 1 secret auth-md-keyid 1 interface em0 # Uplink / egress interface carp125 { passive } # Inside on top of if vlan125 interface carp916 { passive } interface carp943 { passive } } This has successfully announced the route only from the carp MASTER avoiding assymetric routing and problems with stateful filtering. I am now trying to replicate this setup for IPv6 using ospf6d but it seems that it will only announce addresses on active interfaces. So what obvious difference between ospf in IPv4 and IPv6 have I missed? Jan J