This is not so straight forward with standard kernel. I have written a device driver and a small (rather dirty) patch to the kernel to achieve this. The idea is to by-pass the lookup in the `local' table. Which is not at all possible without patching the kernel. If interested, I can send you the stuff online in few days, because it still needs a lot of testing. hth, -abhijit Amit Kucheria wrote : >Hi, > >Sorry for the crosspost, since this seems to concern all lists. > >I know that when two network devices exist on the same machine, then pkts >with dev1 as source and dev2 as destination are resolved at the IP layer, >without sending them down to the link layer through traffic control. > >What could i do, if i wanted such packets to go down to the Traffic >control layer before coming back up? Has anybody implemented this? > >I have two software devices on the same machine which want to exchange >pkts *but* after passing the traffic control code. > >TIA. >ciao, >Amit -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/