ECMP/multipath support
Joakim Tjernlund
joakim.tjernlund at transmode.se
Tue Dec 21 09:24:23 CET 2010
Ondrej Zajicek <santiago at crfreenet.org> wrote on 2010/12/21 03:24:23:
>
> On Tue, Dec 21, 2010 at 01:22:48AM +0100, Joakim Tjernlund wrote:
> > > For PTP iface, the list contains at most one entry (so the scan is fast
> > > :-) ) and you have to examine it anyways to know neighbor's IP address.
> >
> > Yes, it is a small improvement I guess and you would find the remote
> > IP address, if there is one, by following the ifa ptr.
>
> You cannot get remote IP address just from ifa - you can have ethernet
> network with (e.g.) /24 IP prefix configured as ptp iface (which is OK
> if there is just two routers on that network).
Oh, so "opposite" in
struct ifa {
..
ip_addr opposite; /* Opposite end of a point-to-point link */
does not contain an IP address in this case?
Jocke
More information about the Bird-users
mailing list