Hi,
> vpp# classify table mask l3 ip4 dst l4 dst_port
> vpp# ip session redirect table 0 match l3 ip4 dst 192.168.21.2 l4 dst_port
> 2156 via ipip0
> ip session redirect: parse error `l4 dst_port 2156 via ipip0'
Not sure what is wrong, this works for me:
DBGvpp# loop create-interface
loop0
DBGvpp# classify table mask l3 ip4 dst l4 dst_port
DBGvpp# ip session redirect table 0 match l3 ip4 dst 192.168.21.2 l4 dst_port
2156 via loop0
DBGvpp# sh ip session redirect
[0] table 0 key 00000000:
000000000000000000000000000000000000000000000000000000000000c0a8
00000020: 15020000086c00000000000000000000
via:
path-list:[13] locks:1 flags:shared,no-uRPF, uRPF-list: None
path:[13] pl-index:13 ip4 weight=1 pref=0 attached:
loop0
forwarding
[@0]: dpo-drop ip4
DBGvpp#
ben
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20591): https://lists.fd.io/g/vpp-dev/message/20591
Mute This Topic: https://lists.fd.io/mt/87544298/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-