funny ECMP
Li, Qing
qing.li at bluecoat.com
Tue Aug 24 18:18:50 UTC 2010
Hi,
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 ?
-- Qing
>
> one of the problems:
> sysctl -w net.inet.flowtable.enable=0
> route add 10.13.13.0/24 10.11.11.1 -weight 2
> ifconfig em1 alias 10.13.13.90/24
>
> arp-resolve fails:
> arpresolve: can't allocate llinfo for 10.13.13.95
>
> in sys/netinet/in.c:
> in_lltable_lookup calls in_lltable_rtcheck which calls rtalloc1
> rtalloc1 seems to return the first route - and does not check for
more.
>
> diag from in_lltable_rtcheck:
> IPv4 address: "10.13.13.95" is not on the network
>
> checking now how to repair this.
>
> Kind regards,
> Ingo Flaschberger
More information about the freebsd-net
mailing list