>> I don't want to disrupt the party but I seriously doubt that routed >> supports multipath routing. Routed's radix code is unable to handle >> multipath routes. > > maybe i am confused. but my momma told me that routing != forwarding. > > i.e. routed will receive two default routes and i hope would install > them in the fib, where RADIX_MPATH forwarding would take over. am i > wrong about what routed will do? will it choose only one to install in > the fib? >
Yes, FIB is a subset of a RIB for the most part, but I think what Claudio is referring to, is the "radix" code inside the "routed" implementation, which is incapable of storing multiple routes to the same destination. That version of the "radix" code is very similar to the original kernel "radix" code. So although "routed" may be receiving multiple advertisements about the default routes, but because it's incapable of holding more than 1 such entry in its RIB, how would it be able to install more than 1 entry into the FIB ? When ECMP routes are present, the route selection for forwarding is based on a simple hash key generated from the source and destination IP addresses. Regarding the documentation, you can get some usage text from my original commit message. I agree more text in a man page form is warranted. At the time I did not receive much input so didn't bother to spend the cycles on more formal writeup. http://svn.freebsd.org/viewvc/base?view=revision&revision=178167 http://svn.freebsd.org/viewvc/base?view=revision&revision=178168 -- Qing _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"