ECMP/multipath support

Ondrej Zajicek santiago at crfreenet.org
Tue Dec 28 01:55:42 CET 2010


On Tue, Dec 28, 2010 at 01:15:28AM +0100, Joakim Tjernlund wrote:
> >
> > > > > Other packets are sent to the neighbor IP address, which is a slight
> > > > > diversion from RFC 2328, but should not cause any problems.
> > > >
> > > > But a stricter router may reject OSPF msg over an ptp links if
> > > > they aren't addressed to AllSPFRouters.
> > >
> > > I just noticed you impl. a PTMP I/F type, nice :)
> >
> > I updated to new nexhp calc. patch to match your latest
> > changes. I hope you like it.
> 
> Did some more spf improvements. Lets see if you like these too:

> +      /* The first case - local network */
> +      if (en->lsa.type == LSA_T_NET)
> +	  return new_nexthop(po, IPA_NONE, ifa->iface, ifa->ecmp_weight);
> +
> +      /* The second case - ptp or ptmp neighbor */
> +      if (en->lsa.type == LSA_T_RT)
> +      {
> +	  if (ifa->type == OSPF_IT_PTP)
> +	      return new_nexthop(po, ifa->addr->opposite, ifa->iface,
> +				 ifa->ecmp_weight);

As i wrote 21 Dec 2010 11:42:56, this is not correct, opposite might
be undefined.

-- 
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20101228/e4c4a987/attachment-0001.asc>


More information about the Bird-users mailing list