vrrp: fix vrrp_garp_or_na_send()'s memory leak
[vpp.git] / src / plugins / ip_session_redirect / ip_session_redirect_doc.rst
1 IP session redirect
2 ===================
3
4 This plugin allows to steer packet via different paths based on the
5 classifier.
6 It leverages the VPP classifier ACL infrastructure (classifier, in_out_acl
7 etc), extending its capabilities to redirect traffic without having to
8 resort on additional VRFs.
9 It also allows to steer punted packets using the same mechanism.
10
11 Maturity level
12 --------------
13
14 Under development: it should work, but has not been thoroughly tested.
15
16 Features
17 --------
18
19 - steer regular or/and punt traffic using the classifier
20 - API
21
22 Quickstart
23 ----------
24
25 1. configure punting
26
27 ::
28
29    ~# vppctl set punt ipv4 udp all
30
31 2. create the classifier table and uses it for punt ACL
32
33 ::
34
35    ~# vppctl classify table miss-next drop mask l3 ip4 src l4 udp src_port buckets 100000
36    ~# vppctl set interface input acl intfc local0 ip4-punt-table 0
37
38 3. add session to steer punted packets
39
40 ::
41
42    ~# vppctl ip session redirect table 0 match l3 ip4 src 10.10.10.10 l4 src_port 1234 via 10.10.0.10 pg1