Re: tunneling and iptables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





> Also, the mark extension allows you to mark packets with 16-bits marks > which is big enough to encode the port number, but if i try to add policy > routing on the fly using the ip rules command then i get screwed because > the table-id (for specifying which table has the rules to route this > packet) is only 8-bits and so, I cannot encode the port numbers in there > ... i know this is not a clear description but if you know anything about > this problem, i would be more than happy to spell the details out...

-Do you really need the full 16 bits space ? I mean that you'll need it
-if you have 16^2 different routes (one mark per route) which should not
-the case.

thanks for your comments on tunnels ... actually i am working on a model for anycast deployment and need to have the 16 bits so that i can support 256*(2^16) services using a single /24 block .. by the way, how heavy are tunnels - i.e how many can the kernel support .... but i have almost given up on using the standard iptables interface - i am thinking of writing a module that uses a netfilter hook.... while i think i have the details figured out, any word of advice will be highly appreciated !


Thanks again,

Hitesh



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux