[Click] VLAN and Click
Frederic Van Quickenborne
frederic.vanquickenborne at intec2.ugent.be
Sat Jan 28 03:06:16 EST 2006
Hi Jian,
you can use smart filtering in the classifier to filter your packets:
e.g. if you want to filter out the packets on VLAN 2 use this filer:
14/0002%0FFF, if you want to map the priority, you can use one like
this: 14/40%D0 (this one is for priority class 2). The hex code after
the '%' works as a mask for the bits you are looking for (hex code
between '/' and '%') in the packet on place (given by the number
before the '/'). (I'm not sure the place to look (14) is correct, it
could be 13 also, if the classifier starts searching from byte 0.)
Kind regards,
Frederic.
Op 26-jan-06, om 15:33 heeft Junhe Jian het volgende geschreven:
> hi Click User!
>
> i need your help!
> in a project i should to do Click with VLAN support!
> example: a video stream server send a videostream over VLAN and use
> User
> Priority Bit from VLAN TAG for identification. and the user must have
> the same User Priority bit to receive the video-stream.
>
> my question:
> how can i use Click to mapping the User Prority Bit from VLAN TAG and
> redirect the packet to the user!
> i know i can use Classifier 12/8100 redirect the packet to a device
> but
> don't know how i can mapping the User-Priority! or i don't need to
> mapping coz with the right MAC-address and VLAN ID the user get their
> packet?
> any help welcome!
>
> regards
> jian
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list