[Click] Help, how to route according to source IP address of an IP packet

sandeep sandeep048 at gmail.com
Sun Mar 13 13:55:54 EDT 2011


Hi Chuan,

Did you try the
IPClassifer<http://www.read.cs.ucla.edu/click/elements/ipclassifier>element?

 -> ip :: IPClassifer( src 10.2.2.0/24, -)
ip[0] -> ToDevice(...

Thanks,
Sandeep Pathivada

On Sat, Mar 12, 2011 at 2:55 PM, wubaochuan <wubaochuan at seu.edu.cn> wrote:

> hi everyone,
>        The IPv4 Routing elements can route IP packets according to the
> destination address of IP packets, How to route IP packets according to
> source address of IP packets? I want to forward all IP packets from
> 10.2.2.0/24 to a machine.
>       Thank you.
> Yours
> Chuan
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>


More information about the click mailing list