Hi

On Tue, Jan 5, 2010 at 4:44 AM, Marek Lindner <lindner_marek@yahoo.de> wrote:

* The third patch checks whether locally received packets are DHCP queries and
forwards them via uncicast to the best gateway instead of broadcasting them.

Would it be possible to decide via a more general mechanism, maybe via a BPF filter, which packets get sent to the gateway?  For instance, it would be nice to be able to say that all ARP requests for *.*.*.1 also got sent to the gateway direct :-)  This would also make adding IPv6 support trivial, it'd just be another (or a more complex) BPF filter.

donald