Re: About Classifier
Cliff Frey <[email protected]> Sun, 6 Jan 2013 08:33:51 -0800
| Newsgroups | gmane.network.routing.click |
|---|---|
| Message-ID | <CAFtVOq=DhbQZWY0BgDYhi9ArJmsC5Y6OOPc5VN9N=zCAdubUUw@mail.gmail.com> |
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, <[email protected]> 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 > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click > >