funny ECMP

Li, Qing qing.li at bluecoat.com
Tue Aug 24 19:00:50 UTC 2010


Hi,

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

	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 at xip.at]
> Sent: Tuesday, August 24, 2010 11:28 AM
> To: Li, Qing
> Cc: net at freebsd.org
> Subject: RE: funny ECMP
> 
> Dear Li,
> 
> > 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 ?
> 
> in_lltable_rtcheck
>          if (rt == NULL || (!(flags & LLE_PUB) &&
>                             ((rt->rt_flags & RTF_GATEWAY) ||
>                              (rt->rt_ifp != ifp)))) {
> RTF_GATEWAY?
> 
> Kind regards,
>  	Ingo Flaschberger


More information about the freebsd-net mailing list