Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2010 12:00:33 -0700
From:      "Li, Qing" <qing.li@bluecoat.com>
To:        "Ingo Flaschberger" <if@xip.at>
Cc:        net@freebsd.org
Subject:   RE: funny ECMP
Message-ID:  <B583FBF374231F4A89607B4D08578A4307F1FF79@bcs-mail03.internal.cacheflow.com>
In-Reply-To: <alpine.LFD.2.00.1008242027390.12708@filebunker.xip.at>
References:  <alpine.LFD.2.00.1008230154280.29368@filebunker.xip.at> <alpine.LFD.2.00.1008240144350.12708@filebunker.xip.at> <B583FBF374231F4A89607B4D08578A4307F1FC70@bcs-mail03.internal.cacheflow.com> <alpine.LFD.2.00.1008240223240.12708@filebunker.xip.at> <alpine.LFD.2.00.1008242005160.12708@filebunker.xip.at> <B583FBF374231F4A89607B4D08578A4307F1FF22@bcs-mail03.internal.cacheflow.com> <alpine.LFD.2.00.1008242027390.12708@filebunker.xip.at>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I am trying to figure out, if the routing table have=20

	10.13.13.0/24	10.11.11.1
	10.13.13.0/24	link#1

And if I do "ssh 10.13.13.2", which route should be used?

-- Qing


> -----Original Message-----
> From: Ingo Flaschberger [mailto:if@xip.at]
> Sent: Tuesday, August 24, 2010 11:28 AM
> To: Li, Qing
> Cc: net@freebsd.org
> Subject: RE: funny ECMP
>=20
> Dear Li,
>=20
> > The indirect route is colliding with the interface route, both have
> > the same mask.
> >
> > How do you expect this to work ?
> >
> > How would the routing code differentiate between on-link nodes and
> > the those needing to be routed through 10.11.11.1 ?
>=20
> in_lltable_rtcheck
>          if (rt =3D=3D NULL || (!(flags & LLE_PUB) &&
>                             ((rt->rt_flags & RTF_GATEWAY) ||
>                              (rt->rt_ifp !=3D ifp)))) {
> RTF_GATEWAY?
>=20
> Kind regards,
>  	Ingo Flaschberger



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B583FBF374231F4A89607B4D08578A4307F1FF79>