Date: Mon, 23 Aug 2010 17:22:29 -0700 From: "Li, Qing" <qing.li@bluecoat.com> To: "Ingo Flaschberger" <if@xip.at>, <net@freebsd.org> Subject: RE: funny ECMP Message-ID: <B583FBF374231F4A89607B4D08578A4307F1FC70@bcs-mail03.internal.cacheflow.com> In-Reply-To: <alpine.LFD.2.00.1008240144350.12708@filebunker.xip.at> References: <alpine.LFD.2.00.1008230154280.29368@filebunker.xip.at> <alpine.LFD.2.00.1008240144350.12708@filebunker.xip.at>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, >=20 > I have changed the route selection code of ecmp to > balance only between routes of the same weight. > (see attached file) >=20 > > As Qing Li mentioned months ago, there are problems with static routes > and interfaces. >=20 Do you have the exact link to the email thread?=20 There were no pending ECMP related issues since my last round of commits as far as I can remember. > > Example 1: > ifconfig em1 alias 10.13.13.90/24 > ping 10.13.13.95 ok > route add 10.13.13.0/24 10.11.11.1 -weight 2 > ping 10.13.13.95 broken (arpresolve: can't allocate llinfo for > 10.13.13.95) >=20 Could you please explain a bit on exactly what you try to=20 accomplish here with this configuration? >=20 > deleting the last static multipath routes seems to affect?, destroy? > the interface route. > system crashes in: > /usr/src/sys/net/route.c:370 > rn =3D rnh->rnh_matchaddr(dst, rnh); > if (rn && ((rn->rn_flags & RNF_ROOT) =3D=3D 0)) { > newrt =3D rt =3D RNTORT(rn); > here -> RT_LOCK(newrt); > RT_ADDREF(newrt); > if (needlock) >=20 I will take a look. -- Qing
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B583FBF374231F4A89607B4D08578A4307F1FC70>