Julian Anastasov wrote: > Hello, > > On Sat, 28 Jun 2003, Ben Greear wrote: > > >>What results do you get? And did you set up policy based routing? > > > I now see, the kernel sends "who-has local_IP" when you > use 'ping -I device local_IP'. If this is considered bad we can extend > the checks when fib_lookup fails: > > - check for UP state (is it needed? return ENETDOWN?) > - check if target IP is local and select "lo" instead of oif Well, why should it try to route locally in this case (I'm assuming that by using 'lo' it will not try to send on the external link) Why not instead make it send to the router for that source-ip, if it is configured. If it is not configured, then I think arping is the best that can be expected, as the behaviour becomes quite undefined and we really have 'no route to host'. My send-to-self patch that I have been using is attached. I also have some other patches for mac-vlans and packet-gen applied, but I don't believe these will have any impact on the behaviour we have been discussing. There is example code on how to use it (and an original, more crufty patch) here: http://lwn.net/Articles/9897/ Thanks, Ben -- Ben Greear President of Candela Technologies Inc http://www.candelatech.com ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear