[Click] About Classifier
Cliff Frey
cliff at meraki.com
Sun Jan 6 11:33:51 EST 2013
I would use a config like this:
Classifier(12/0800)
-> CheckIPHeader
-> IPClassifier(proto IP-ENCAP) // you could also use the value "4" instead
of "IP-ENCAP"
If you then wanted to do things with the encapsulated IP packet, you could
do something like
-> StripIPHeader
-> CheckIPHeader(0)
-> IPClassifier( ...)
Hope that this helps!
Cliff
On Sun, Jan 6, 2013 at 12:22 AM, <jiangmeng1272 at sina.com> wrote:
> Hi,
> I am trying to develop a pragram with IPEncap. But when I want to use the
> element of Classifier, I am confused. I only know
> 12/0806 20/0001 represent ARP requests; 12/0806 20/0002 represent ARP
> reples; 12/0800 represent IP packets and - represent others. But I don't
> know which "offset/value" can represent IP-in-IP packets.Like following
> picture,how to represent each kind ?
> please help me.
>
> Thank you
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
>
More information about the click
mailing list