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, <jiangmeng1...@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@amsterdam.lcs.mit.edu > https://amsterdam.lcs.mit.edu/mailman/listinfo/click > > _______________________________________________ click mailing list click@amsterdam.lcs.mit.edu https://amsterdam.lcs.mit.edu/mailman/listinfo/click