Re: [vpp-dev] How to limit(police) upload/download per IP address?

2022-10-03 Thread Юрий Иванов
So there is no way to police per IPs. In other words to incorporate separate limiter (1.0.0.1, 1.0.0.2, 1.0.0.3 - 60in/20out, 1.0.0.10, 1.0.0.20, 1.0.0.30 - 90in/80out etc.) to all users behind interface? От: vpp-dev@lists.fd.io от имени Benoit Ganne (bganne)

[vpp-dev] How to limit(police) upload/download per IP address?

2022-10-03 Thread Юрий Иванов
Hi, We need to limit user ingress/ergress speed per IP4. Is there any documentation how to perform this in VPP? I've made config based on this blog https://blog.51cto.com/u_15301988/5181021 and it works: set interface ip address GigabitEthernet0/4/0 100.0.0.1/24 set interface ip address

Re: [vpp-dev] MLX5 NIC interface is not visible

2021-12-17 Thread Юрий Иванов
If you choose RDMA just look at the example in docs )) FD.io VPP: RDMA (ibverb) Ethernet driver От: vpp-dev@lists.fd.io от имени Matthew Smith via lists.fd.io Отправлено: 17 декабря 2021 г. 22:31 Кому: Varun Rapelly

[vpp-dev] ARP Issue on p2p /31 links

2021-11-04 Thread Юрий Иванов
Hi, I've got strange behaviour: 1. The VPP transit link goes down (this link not directly connected). To be honest it was blocked by spanning tree on transient switch. 2. After the issue was resolved link not came up, it simply doesn't work. I'm using 10.0.0.0/31 p2p network on that link.

[vpp-dev] What the meaning of array fields in CGNAT stats?

2021-09-28 Thread Юрий Иванов
Hi, Many metrics are self explanatory others have description prefix, but NAT lacks of description. I'm writing basic metrics collector plugin for vpp stats with one worker. So, output shows two arrays for main and additional thread. Can somebody explain what's the meaning of array counters, I

Re: [vpp-dev] No rdma plugin in el/8 rpm package 21.06 repository, it obsolete?

2021-09-23 Thread Юрий Иванов
Ah, I see, looks like interest disappeared after RH changed centos release policy. That's why compilation fails under RHEL, while working out of the box under ubuntu  От: Damjan Marion Отправлено: 23 сентября 2021 г. 18:06 Кому: Юрий Иванов Копия: vpp-dev

Re: [vpp-dev] Is there are way to debug slow plugins activation after VPP startup/reload.

2021-09-23 Thread Юрий Иванов
address manually in config do the job. От: Юрий Иванов Отправлено: 23 сентября 2021 г. 15:10 Кому: Юрий Иванов Тема: RE: Is there are way to debug slow plugins activation after VPP startup/reload. Resolved. VPP always generates new random mac address for outgoing

[vpp-dev] No rdma plugin in el/8 rpm package 21.06 repository, it obsolete?

2021-09-23 Thread Юрий Иванов
Hi, I see there is no rdma plugin in prebuilded packages 21.06 version [suser@RockyVPP-1 ~]$ dnf repoquery -l vpp* | grep rdma | grep -P ".so$" | grep plugi Last metadata expiration check: 0:00:05 ago on Thu 23 Sep 2021 03:56:39 PM EEST. [suser@RockyVPP-1 ~]$ But it exists in 21.06 packages

[vpp-dev] Is there are way to debug slow plugins activation after VPP startup/reload.

2021-09-22 Thread Юрий Иванов
Hi, I've go very simple config for NAT44: create interface rdma host-if enp1s0f0 name rdma-0 create sub-interfaces rdma-0 934 create sub-interfaces rdma-0 935 set interface ip address rdma-0.934 10.0.100.10/31 set interface ip address rdma-0.935 18.31.0.1/25 set interface state rdma-0 up set

[vpp-dev] Input marking (if possible) or several VPP instances

2021-09-13 Thread Юрий Иванов
Hi, I have box with 2 In interfaces (1-IN and 2-IN) and one output interface (1-OUT). In case traffic comes to 2-IN and goes out to 1-OUT reply should use 2-IN interface. As I know VPP doesn't have dynamic routing (i.e. BGP) but maybe thre is some sort of input traffic marking in VPP to select

Re: [vpp-dev] Absence rdma interface for Mellanox 40G adapter.

2021-09-01 Thread Юрий Иванов
Resolved, broken install packages, sorry. От: Юрий Иванов Отправлено: 17 августа 2021 г. 15:23 Кому: vpp-dev@lists.fd.io Тема: Absence rdma interface for Mellanox 40G adapter. Hi, Unable create rdma interface to use the Mellanox 40G adapter. (vpp# create int

[vpp-dev] Absence rdma interface for Mellanox 40G adapter.

2021-08-17 Thread Юрий Иванов
Hi, Unable create rdma interface to use the Mellanox 40G adapter. (vpp# create int rdma...) This was working in previous beta versions, but looks like its gone with the final release. What's the official method to use the Mellanox 40G adapter? Thanks in advance. -=-=-=-=-=-=-=-=-=-=-=- Links:

Re: [vpp-dev] How to enable Mellanox compilation in VPP 21.01

2021-04-01 Thread Юрий Иванов
Hi, Or you can use nativa rdma driver as written in this post and build vpp as usual.  Regards. От: vpp-dev@lists.fd.io от имени Mohammed Hawari Отправлено: 1 апреля 2021 г. 13:16 Кому: chetan bhasin Копия: vpp-dev Тема: Re: [vpp-dev] How to enable

Re: [vpp-dev] GoVpp different behaviour when compiling outside GoVpp project

2021-03-25 Thread Юрий Иванов
Yes, Arthur you right Executing go get git.fd.io/govpp.git@master, solves this problem. Looks like there was older library. Thanks once more. )) От: Arthur de Kerhor Отправлено: 25 марта 2021 г. 18:49 Кому: Юрий Иванов Копия: vpp-dev Тема: Re: [vpp-dev] GoVpp

[vpp-dev] GoVpp different behaviour when compiling outside GoVpp project

2021-03-25 Thread Юрий Иванов
Hi, first of all sorry for such noob question. I'm need to write go based program utilizing govpp stats-api. There is official example in library which I've trunk to minimal usable which only opens socket: ~/GoVpp/govpp$ cat examples/stats-client/stats_api.go package main import ( "log"

Re: [vpp-dev] 40G Mellanox NIC not working

2021-03-23 Thread Юрий Иванов
Hi Benoit, Thanks, very unexpected but it works. I'll prefer to use recommended way От: Benoit Ganne (bganne) Отправлено: 22 марта 2021 г. 17:00 Кому: Юрий Иванов ; vpp-dev@lists.fd.io Тема: RE: 40G Mellanox NIC not working Hi, If possible, the preferred way

Re: [vpp-dev] NAT44 how to control external address assignment from pool?

2021-03-19 Thread Юрий Иванов
Hi, It is done 18 days ago ;-) nat: pick outside addr based on local addr ・ FDio/vpp@dc243ee ・ GitHub Thanks once more.

[vpp-dev] 40G Mellanox NIC not working

2021-03-19 Thread Юрий Иванов
Hi, VPP doesn't see mellanox 40G card. I've try to compile based on summary instruction https://lists.fd.io/g/vpp-dev/message/16211 But after recompilation it doesn't see NIC in show interface The main problem that there is no message in log like for intel card /usr/bin/vpp[394111]: pci:

Re: [vpp-dev] NAT44 how to control external address assignment from pool?

2021-02-22 Thread Юрий Иванов
Sekera -X (ksekera - PANTHEON TECH SRO at Cisco) Отправлено: 16 февраля 2021 г. 19:03 Кому: Юрий Иванов Копия: Filip Varga -X (fivarga - PANTHEON TECH SRO at Cisco) ; vpp-dev@lists.fd.io Тема: Re: [vpp-dev] NAT44 how to control external address assignment from pool? I see, so you’re not using

Re: [vpp-dev] NAT44 how to control external address assignment from pool?

2021-02-16 Thread Юрий Иванов
il the end of the session, second client 10.0.0.5 -> next random address etc. Thanks in advance. От: Klement Sekera -X (ksekera - PANTHEON TECH SRO at Cisco) Отправлено: 16 февраля 2021 г. 14:01 Кому: Юрий Иванов Копия: Filip Varga -X (fivarga - PANTHEON TECH

Re: [vpp-dev] NAT44 how to control external address assignment from pool?

2021-02-10 Thread Юрий Иванов
_ От: Filip Varga -X (fivarga - PANTHEON TECH SRO at Cisco) Отправлено: 10 февраля 2021 г. 14:25 Кому: Юрий Иванов ; vpp-dev@lists.fd.io Тема: RE: [vpp-dev] NAT44 how to control external address assignment from pool? Hello, For clarification i will explain how the nat is devided.

Re: [vpp-dev] NAT44 how to control external address assignment from pool?

2021-02-09 Thread Юрий Иванов
at Cisco) Отправлено: 9 февраля 2021 г. 13:54 Кому: Юрий Иванов ; vpp-dev@lists.fd.io Тема: RE: [vpp-dev] NAT44 how to control external address assignment from pool? Hi, If you are looking for option to specify exact outside translation address from a specific pool. You should try : nat44

Re: [vpp-dev] NAT44 how to control external address assignment from pool?

2021-02-08 Thread Юрий Иванов
, maybe there is some option to select different IP addres from pool? От: vpp-dev@lists.fd.io от имени Юрий Иванов Отправлено: 7 февраля 2021 г. 12:10 Кому: vpp-dev@lists.fd.io Тема: [vpp-dev] NAT44 how to control external address assignment from pool? Hi, I've

[vpp-dev] NAT44 how to control external address assignment from pool?

2021-02-07 Thread Юрий Иванов
Hi, I've got basic nat setup in a lab which works as expected except extarnat IP address allocation. My clients, behind NAT, has addresses: vpp# show ip neighbors Time IPFlags Ethernet Interface 1421.5929

Re: [vpp-dev] How to add in/out interfaces in NAT44 in vpp21

2021-02-07 Thread Юрий Иванов
f sessions and users per thread. Best regards, Elias On Sun, 2021-02-07 at 09:01 +0000, Юрий Иванов wrote: > Hi, > I'm trying to configure NAT44 feature on latest vpp: > vpp# show version > vpp v21.01-release built by root on fcb1bae62b24 at 2021-01- > 27T16:06:22 > > > Can so

[vpp-dev] How to add in/out interfaces in NAT44 in vpp21

2021-02-07 Thread Юрий Иванов
Hi, I'm trying to configure NAT44 feature on latest vpp: vpp# show version vpp v21.01-release built by root on fcb1bae62b24 at 2021-01-27T16:06:22 Can someone help to determine why adding interfaces not working like it should vpp# set interface nat44 in GigabitEthernet0/5/0 out

Re: [vpp-dev] Increase MTU from ethernet packets

2020-03-21 Thread Юрий Иванов
Hello, I think you got very strange requirement, jumbo frame can be up to 16000 but most networks use approximatly 9000. VPP has standart burned in value. От: vpp-dev@lists.fd.io от имени Алексей Отправлено: 21 марта 2020 г. 1:44:37 Кому: vpp-dev@lists.fd.io

Re: [vpp-dev] NAT overload example

2020-01-27 Thread Юрий Иванов
Hi, look at https://wiki.fd.io/view/VPP/NAT And my 5 cents : cat /etc/setup.gate set int ip address GigabitEthernet0/3/0 10.0.0.1/31 set int state GigabitEthernet0/3/0 up bfd udp session add interface GigabitEthernet0/3/0 local-addr 10.0.0.1 peer-addr 10.0.0.0 desired-min-tx 10

[vpp-dev] NAT44 does not use all addresses uniformly

2019-12-04 Thread Юрий Иванов
NAT44 does not use all addresses uniformly Hi, I use nat output address space: nat44 add address 19.246.159.5 - 19.246.159.100 Configuration: nat { translation hash buckets 1048576 translation hash memory 268435456 user hash buckets 250 max translations per user 2 } Looks like

Re: [vpp-dev] NAT stops processing for big amount of users

2019-12-02 Thread Юрий Иванов
Hi Filip Simple NAT. Regards Yurii От: Filip Varga -X (fivarga - PANTHEON TECH SRO at Cisco) Отправлено: 2 декабря 2019 г. 13:21:26 Кому: Юрий Иванов ; vpp-dev@lists.fd.io Копия: Ole Troan (otroan) Тема: RE: [vpp-dev] NAT stops processing for big amount

Re: [vpp-dev] NAT stops processing for big amount of users

2019-12-01 Thread Юрий Иванов
busy udp ports 0 busy tcp ports 0 busy icmp ports 19.246.159.10 tenant VRF independent 1350 busy udp ports 8801 busy tcp ports 89 busy icmp ports Port utilization in attached image. От: vpp-dev@lists.fd.io от имени Юрий Иванов Отправлено: 27 ноября

Re: [vpp-dev] NAT stops processing for big amount of users

2019-11-27 Thread Юрий Иванов
users Hi Filip, Mind answering this one? Cheers, Ole Begin forwarded message: From: Юрий Иванов mailto:format_...@outlook.com>> Subject: [vpp-dev] NAT stops processing for big amount of users Date: 26 November 2019 at 09:17:52 CET To: "vpp-dev@lists.fd.io<

Re: [vpp-dev] NAT stops processing for big amount of users

2019-11-26 Thread Юрий Иванов
26 ноября 2019 г. 15:56 Кому: Юрий Иванов Копия: vpp-dev@lists.fd.io Тема: Re: [vpp-dev] NAT stops processing for big amount of users The symptoms you describe seem similar to https://gerrit.fd.io/r/#/c/vpp/+/23461/ - so if not yet running that fix, you might wanna give it a try... --a On 26

[vpp-dev] NAT stops processing for big amount of users

2019-11-26 Thread Юрий Иванов
Hi I'm try to use VPP NAT feature. For several users it works fine but when I try to NAT more (about 5 000 users and more) it simply stops processing about several seconds. Strange thing than such load is processed with iptables without problems. VPP Process is on and default log file shown

Re: [vpp-dev] Need help to configure NAT44, reply packets not working

2019-09-30 Thread Юрий Иванов
Thanks, this really helped to resolve issue От: Dave Barach (dbarach) Отправлено: 30 сентября 2019 г. 14:35:57 Кому: Юрий Иванов ; Vpp-dev@lists.fd.io Тема: RE: Need help to configure NAT44, reply packets not working I’d suggest using the packet tracer to see

[vpp-dev] Need help to configure NAT44, reply packets not working

2019-09-30 Thread Юрий Иванов
Hi, I've configured NAT44 in lab to test it out before using it in production: set interface nat44 in GigabitEthernet0/3/0 set interface nat44 out GigabitEthernet0/4/0 set int ip address GigabitEthernet0/3/0 10.0.0.1/31 set int state GigabitEthernet0/3/0 up bfd udp session add interface