-
gitomat[illumos-gate] 17720 smatch should define __illumos__ -- Toomas Soome <tsoome⊙mc>
-
tsoome__git diff
-
tsoome__oops.
-
jbkhrm..
-
jbkif there's multiple equal cost routes for a destination, there's no simple way to get those with a command is there?
-
jbki.e. 'route get destination' is going to just pick one
-
tsoome__netstat -rnv does not help?
-
jbkwell i'm thinking more something that'll do the work of matching a given destination
-
jbklike route get does (just it only prints the one it'd pick at that time)
-
tsoome__+ grep/awk :D
-
jbki might just write something...
-
jbkwe sometimes run into issues where customers will have routes for 'data' traffic vs. admin traffic, but sometimes don't always get it right
-
jbkso you can run into the hair pulling situation where stuff sometimes works
-
jbkand sometimes doesn't inexplicably
-
tsoome__ofc it would be nice if route get would print all..
-
jbkwhich if we can do a screen share, and the person is familiar enough with their networks, ok... but sometimes things are isolated and we can't get that
-
jbkand trying to explain how to calculate network ranges from a netmask, etc. isn't always something a customer is going to want to do...
-
jbkor maybe 'route get -a destination' ??
-
jbk(I need to see how it's doing that to see how painful that'd be)
-
danmcdWow, there's an "ifindex_lookup" function in ip_ftable.c that doesn't seem to have a consumer.
-
danmcdLooks like leftover from pre-datapath-refactor.
-
danmcdBut ire_round_robin... those also depend on ports...
-
danmcdIt's the 1990s networking-team interview question:
-
danmcd"I have two equal-cost paths... how do YOU think we should select which path to use?"
-
danmcd(for multiple values of networking-team...)
-
richloweyou ask the path that always lies what his brother would say
-
malinadis is dae wae
-
malinaand then one asks the disk that always stands what her sister would tell