[vpp-dev] Minimal efforts to run vpp on new VM

2022-01-15 Thread Gulakh
Hi all Suppose that i have virtual machine VM1 that i installed my own vpp version on it, and i have another machine (with same OS) called VM2 that has an older version of my customized code. I want to update vpp of VM2 from VM1! Is any way other than (Uninstalling vpp of VM2 by vpp-config, then,

[vpp-dev] Minimum dependencies to install own vpp debs

2022-01-15 Thread Gulakh
Hello all I successfully built and installed my customized vpp (based on 18.10) on VM1. Now i want to install it on VM2 that is a fresh Ubuntu-18.04-server So i copied build-root/*.deb from VM1 into VM2 and run "sudo dpkg -i *.deb" that raises some errors: --- .

[vpp-dev] Limit on number of interfaces

2021-01-26 Thread Gulakh
Hi all I installed vpp on a server with 58 nics, then, i specified 54 of them in startup.conf in dpdk section. However, only first 32 interfaces are shown in "show interfaces" whats the problem Thanks -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#

[vpp-dev] interface traffic rate

2018-08-13 Thread Gulakh
Hi, Is there any way in VPP to get statistics about the traffic rate passing through an interface?? Thanks -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10113): https://lists.fd.io/g/vpp-dev/message/10113 Mute This Topic: https://lists.fd.io/mt/2

Re: [vpp-dev] Traffic generator

2018-08-12 Thread Gulakh
, 2018 at 6:30 PM, Wiles, Keith wrote: > > > > On Aug 11, 2018, at 12:09 AM, Gulakh wrote: > > > > By "I couldn't run it", I don't mean that dpdk-pktgen has some issue, I > mean that It was a little complicated that I couldn't run it by a few

Re: [vpp-dev] Traffic generator

2018-08-10 Thread Gulakh
;t run it. > > I am working with dpdk-pktgen, without issues. > > What do you mean by "couldn't run it"? > Can you please post the > full command line you tried and the full log on console afterwards ? > Also - which version of dpdk-pktgen did you try ? > > Regard

[vpp-dev] Traffic generator

2018-08-08 Thread Gulakh
Hi, I have setup a VPLS scenario in VPP and now I want to test its performance to see whether it is able to handle customer traffics of 10G/s. i.e. customer is generating 10 G/s traffic I found a dpdk-based traffic generator here but

Re: [SUSPICIOUS] [vpp-dev] L3VPN in VPP

2018-08-01 Thread Gulakh
> sh ip fib index 1 5.5.5.5/32 > > and > > sh ip fib index 0 192.168.23.3/32 > > > > I suspect you are missing an out-label on the latter. > > > > /neale > > > > *From: * on behalf of Gulakh > *Date: *Tuesday, 31 July 2018 at 14:53 > *T

[vpp-dev] L3VPN in VPP

2018-07-31 Thread Gulakh
ion: why does it say Drop?? I expect to see something that shows next-hop is resolved in VRF 0. On Tue, Jul 31, 2018 at 4:18 PM, Neale Ranns (nranns) wrote: > > > Hi, > > > > You are correct on all points. > > > > regards > > /neale > > > > *From:

Re: [vpp-dev] L3VPN in VPP

2018-07-31 Thread Gulakh
to do with lower level configurations. Thanks in advance On Mon, Jul 30, 2018 at 1:31 PM, Neale Ranns (nranns) wrote: > Hi, > > > > Answers inline marked [nr] > > > > /neale > > > > *From: * on behalf of Gulakh > *Date: *Saturday, 28 July 2018 at 13:45

[vpp-dev] L3VPN in VPP

2018-07-28 Thread Gulakh
Hi, I have setup a *VPLS *scenario successfully and now I want to setup a *L3VPN *scenario in VPP (L3VPN topology is in attachment). My configuration for VPLS is some how like this link

[vpp-dev] DPDK and VPP Relationship

2018-07-11 Thread Gulakh
Hi, I have a question about DPDK and VPP. As far as I know, DPDK has some NIC drivers developed for some types of NICs. These drivers are Linux device drivers that are installed as kernel module e.g. uio_pci_generic and ixgbe (yes?). In Linux , kernel modules have the as privilege as the Linux ker

Re: [vpp-dev] arp request

2018-06-28 Thread Gulakh
Hi, The problem fixed but I don't know how. maybe it was a configuration problem or something else. Just to aware you that it was not a problem to take care of On Mon, Jun 25, 2018 at 6:56 PM, Holoo Gulakh wrote: > Hi, > I have configured VPP to have VPLS base on this li

Re: [vpp-dev] How to use VPP API?

2018-06-26 Thread Gulakh
Hi Jeff, Here is a sample code for python API. On Tue, Jun 26, 2018 at 4:39 AM, Jeff Bushman wrote: > Is there any documentation, examples or discussion of how to use the VPP > API Modules beyond the short documentation here? > https://docs.fd.io/vpp/18.07/vapi_doc.html > _._,_._,_ > ---

[vpp-dev] arp request

2018-06-25 Thread Gulakh
Hi, I have configured VPP to have VPLS base on this link somehow. Now at the first time, a computer in the first LAN send an ARP request to find the MAC address of the other computer in the second LAN. By capturing received packets in the second

Re: [vpp-dev] mpls tunnel

2018-06-21 Thread Gulakh
a recursive path. It will resolve via the adjacency for 1.1.1.1 on > GigE13/0/0 and thus will attempt to ARP for 1.1.1.1 out of that interface. > Since 1.1.1.1 is not an address on that interface’s configured subnet, this > won’t work, unless the peer is running proxy ARP, which we

Re: [vpp-dev] tcp connection

2018-06-20 Thread Gulakh
t; > On 17 Jun 2018, at 15:11, Gulakh wrote: > > Hi, > I am having a problem when LDP attempts to setup a session. > According to Wikipedia's LDP page > <https://en.wikipedia.org/wiki/Label_Distribution_Protocol>, LDP first > exchanges packets on UDP and then start a

[vpp-dev] mpls tunnel

2018-06-20 Thread Gulakh
Hi, My topology is: *R1 (192.168.1.1/24 )* <-->* R2 (192.168.1.2/24 )* and *R1 loopback interface* has IP address of *1.1.1.1/32 * == I have configured VPP's mpls tunnel as

Re: [vpp-dev] tcp connection

2018-06-17 Thread Gulakh
My VPP commit number : d05b926dc2971552edca2ad510fb7437698c4aad My VPPSB commit number : 042a782c530ceb58507d697726e68ad7fe4fe023 On Sun, Jun 17, 2018 at 5:41 PM, Holoo Gulakh wrote: > Hi, > I am having a problem when LDP attempts to setup a session. > According to Wikipedia&#

[vpp-dev] tcp connection

2018-06-17 Thread Gulakh
Hi, I am having a problem when LDP attempts to setup a session. According to Wikipedia's LDP page , LDP first exchanges packets on UDP and then start a session by setting up TCP connection. UDP packets from control plane to data plane are

[vpp-dev] nat

2018-05-07 Thread Gulakh
Hi, I have used linux iptables for NAT, but now I want VPP nat. could you please give me some examples corresponding to the iptables one on how to use VPP nat? e.g. iptables rule : ,vpp rule: yy thanks

[vpp-dev] router plugin ISIS

2018-04-30 Thread Gulakh
psb/router/router/tap_inject.c file! However, the problem remained unsolved. Is there a special issue related to is-is that i should know? Anyone can help me? Regards, Gulakh

[vpp-dev] control plane

2018-03-11 Thread Gulakh
Hi, I want to know how can I use FRR as control plane with VPP as data plane?? I have searched and found a plugin named Router_Plugin from VPPSB project. As the project stated and I tested it, It seems that this plugin only supports OSPF as routing protocol, but I need support for ISIS, BGP and et

[vpp-dev] router_plugin

2018-03-04 Thread Gulakh
Hi, I am using vppsb router plugin with vpp. there is a problem when I use tap-inject. The problem is that after I enable tap-inject and set interfaces' and taps' IP address, I want to make taps' state up but at this point vpp crashes and everything rolls back to its first state (No tap, No IP addr

Re: [vpp-dev] router_plugin

2018-03-02 Thread Gulakh
_ROUTE_PATH_FLAG_NONE); } then I build the code again and test it to see add and delete works perfectly. On Mon, Feb 26, 2018 at 3:28 PM, Ray Kinsella wrote: > Hi Gulakh, > > Are you using the router plugin from the VPPSB? > > Ray K > > On 25/02/2018 11:36, Gulakh

[vpp-dev] router_plugin

2018-02-25 Thread Gulakh
Hi, I'm using VPP as data plane with router plugin installed and FRR as control plane. I set a new static ip route and check that it is inserted in both linux kernel and vpp (sh ip fib) but then I delete this route by FRR and check that this route is deleted from kernel and FRR but it is still in

[vpp-dev] vpp rspan

2018-02-19 Thread Gulakh
Hi I'm wondering if VPP supports RSPAN. I've found the documentation about SPAN (port mirroring) but nothing about RemoteSPAN. I would appreciate if you could help. thnks

[vpp-dev] mpls delete

2018-02-17 Thread Gulakh
Hi, I want to delete the whole entry of an specific local label. for example: 1) mpls local-label 80 via 4.4.4.4 out-labels 90 2) mpls local-label 80 via 4.4.4.5 out-labels 90 3) show mpls fib 80:neos/21 fib:0 index:13 locks:2 src:CLI refs:1 src-flags:added,

[vpp-dev] dpdk binding interface

2018-02-13 Thread Gulakh
Hi, I want to use the python code accompanying with dpdk code to bind/unbind an interface to dpdk drivers. In virtualbox, I have no problem binding/unbinding interfaces to uio_pci_generic driver But in vmware, I can't bind an interface to dpdk. How should I do that?? Thanks in advance

Re: [vpp-dev] packet capture

2018-01-09 Thread Holoo Gulakh
trace frame-queuetrace frame-queue (on|off) > vpp# > > I hope that it will help. > > -br > Mohsin > > > -- > *From:* vpp-dev-boun...@lists.fd.io on > behalf of Holoo Gulakh > *Sent:* Tuesday, January 9, 2018 11

[vpp-dev] packet capture

2018-01-09 Thread Holoo Gulakh
Hi, In a typical scenario, we usually use wireshark or tcpdump to capture input/output packets from interfaces and we can use filters to filter them base on different criteria such as protocol. My question is that : when VPP handles one interface, then this interface is out of kernel's control so w

[vpp-dev] mpls routing

2017-12-26 Thread Holoo Gulakh
Hi, I want to test a scenario in which I have two host and a VPP router. host1(10.0.10.2)<-->(10.0.10.1)(Gb4/0/0)VPP(Gbb/0/0)(10.0.20.1)<-->(10.0.20.2)host2 host1 and host2 are two mpls-enabled ubuntu server. Goal: To ping host1 from host2 using mpls label = VPP vers

Re: [vpp-dev] get mpls info from kernel

2017-12-25 Thread Holoo Gulakh
we can use iproute2 python library to have network information such as interface names, mpls table(of course in mpls-enabled linux kernel), ip table and so on here is the link for library: https://pypi.python.org/pypi/pyroute2 On Sun, Dec 24, 2017 at 2:47 PM, Holoo Gulakh wrote: >

[vpp-dev] get mpls info from kernel

2017-12-24 Thread Holoo Gulakh
Hi, I want to make a program that reads mpls information from a mpls-enabled linux kernel and then uses VPP API to configure VPP mpls fib. I can use iproute2 to configure kernel mpls fib, but it is CLI command. for iproute2, I use below link: http://www.samrussell.nz/2015/12/mpls-testbed-on-ubunt

Re: [vpp-dev] ip routing by mpls

2017-12-19 Thread Holoo Gulakh
; Thanks, > > neale > > > > *From: * on behalf of Holoo Gulakh < > holoogul...@gmail.com> > *Date: *Tuesday, 19 December 2017 at 13:39 > *To: *"vpp-dev@lists.fd.io" > *Subject: *[vpp-dev] ip routing by mpls > > > > Hi, > > I used the fol

[vpp-dev] VPP Design Documents

2017-12-19 Thread Holoo Gulakh
Hi, I want to analyze and understand VPP code, but as you know getting insight into how things are implemented from the source code is difficult. Can I have VPP design documents (software engineering) to understand: +how project is structured and divided in multiple parts?? +how different parts co

[vpp-dev] ip routing by mpls

2017-12-19 Thread Holoo Gulakh
Hi, I used the following command to enter an entry into IP FIB so that I can route incoming packets by their mpls label: " vppctl ip route add 5.6.7.8/32 via 10.10.10.10 GigabitEthernet0/9/0 out-label 46 " Now IP FIB has a new entry like this: 5.6.7.8/32 unicast-ip4-chain [@0]: dp

[vpp-dev] mpls API

2017-12-17 Thread Holoo Gulakh
Hi, I want to add an entry to mpls fib. How can I do that??? What are essential parameters?? thanks in advance ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] vpp api

2017-12-12 Thread Holoo Gulakh
sts.fd.io [mailto:vpp-dev-boun...@lists.fd.io] > On > > Behalf Of Holoo Gulakh > > Sent: Tuesday, December 12, 2017 10:49 AM > > To: vpp-dev@lists.fd.io > > Subject: [vpp-dev] vpp api > > > > Hi, > > > > In order to use VPP API in python, I use

[vpp-dev] vpp api

2017-12-12 Thread Holoo Gulakh
Hi, In order to use VPP API in python, I use this command "sudo –E LD_LIBRARY_PATH=/vpp/build-root/install-vpp_debug-native/vpp/lib64/libvppapiclient.so python testAPI.py" As you can see in the above command, I should link libvppapiclient.so to my code *** My question is that "where is the source

[vpp-dev] VPP high level working flowchart

2017-12-03 Thread Holoo Gulakh
Hi, According to my researches around VPP and its workflow, I have prepared a flowchart showing VPP's workflow. This flowchart says that all ingress packet to interfaces handled by VPP are sent to VPP without Linux network stack intervention. afterward based on the packet type/destination one of t

Re: [vpp-dev] Papi usage example

2017-11-29 Thread Holoo Gulakh
As far as I understand, VPP class defined in vpp_papi.py opens json files and iterate over it, extracting messages and makes functions which are dynamicallt added to our object that has been created earlier from VPP class. some functions like "ip_fib_dump" do not need any argument which is logicall

[vpp-dev] Papi usage example

2017-11-28 Thread Holoo Gulakh
Hi, I want to do the following vpp command with python api: ip route add table 1 1.2.3.4/24 10.0.0.2 GigabitEthernet2/0/1 weight 7" So, how can i know the name and where to find the definition of the corresponding api? Thanks ___ vpp-dev mailing list vpp-

[vpp-dev] vpp start fails

2017-11-27 Thread Holoo Gulakh
Hi I am trying to run the example here (https://wiki.fd.io/view/VPP/Python_API) to test VPP API usage. after entering command (make run) vpp fails to start and indicate an error saying "min heap allocation failure!" using command "sudo service vpp status" shows that vpp service is dead. How to fix

[vpp-dev] VPP API

2017-11-27 Thread Holoo Gulakh
Here in this link (https://wiki.fd.io/view/VPP/Code_Walkthrough_VoDs), there is a video (Code Walkthrough VoD: Chapter 4 | VPP API ) in which the lecturer is using a program named (vpe_api_test). Now I just need a program like that (preferably in C) so t

[vpp-dev] vpp api test

2017-11-26 Thread Holoo Gulakh
Hello I am working on VPP and now need to use its API to communicate with it. I want to know how I can use its API?? Is there any example in source code or any where else? (if yes, how should I use it?) thanks in advance ___ vpp-dev mailing list vpp-dev@l

[vpp-dev] Why vagrant?

2017-11-23 Thread Holoo Gulakh
Hi What would occur if i download vpp on a regular VM (e.g. ubuntu 1604 on vmware or vbox) and install it, without using special Vagrantfile on vpp/extra/vagrant? ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] Must vpp be installled at root ?

2017-11-23 Thread Holoo Gulakh
Hi, Does it differ that where we "git clone" then make vpp? Should it be at root (/) ? ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] Return NIC back to linux

2017-11-20 Thread Holoo Gulakh
Hi I bound 2 NICs to vpp in /etc/vpp/startup.conf file in dpdk{} block! Now, how can i return NIC handling from vpp to Linux? Regards ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] some error in < make test TEST=test_papi >

2017-11-03 Thread Holoo Gulakh
Hi I have got some errors when i use *make test TEST=test_api*, while all other *tests are ok:* == PAPI Message parsing Test Case == test_add_new_

[vpp-dev] make test

2017-11-03 Thread Holoo Gulakh
Hi I want to know is there any *make <...>* command to make just one special test (for example test bmpls) instead of using *make test*, because this command makes all tests. Best regards Holoo ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.f

[vpp-dev] WHERE IS libpneum.so ???

2017-11-02 Thread Holoo Gulakh
Hi I am installing VPP Python API Here https://wiki.fd.io/view/VPP/Python_API there is a command : export LD_LIBRARY_PATH=`find $VPP -name "libpneum.so" -exec dirname {} \; | grep python | head -n 1` but there is no libpneum.so in $VPP and anywhere else :( Please help ___

[vpp-dev] vpp building problem

2017-11-01 Thread Holoo Gulakh
Hi all i'm trying to install vpp from source on Ubuntu 16.04 server (without virtualization). I obeyed the following this link: https://wiki.fd.io/view/VPP/Pulling,_Building,_Running,_Hacking_and_Pushing_VPP_Code#Pulling_anonymously_.28https.29 So i did as such: sudo -s cd / git clone https://ge