Re: [vpp-dev] Multipoint GRE support

2020-12-26 Thread Paul Vinciguerra
Hi Vijay.

Those cli commands come from the wiki url provided.
The wiki was actually incorrect. The command is:

create teib  peer  nh  [nh-table-id ]

(Which I just updated)



On Fri, Dec 25, 2020 at 11:19 AM Vijay Kumar  wrote:

> Hi Paul,
>
> Thanks for the response.
> Could you clarify the below two points based out of your response?
>
> 1) Can the TEIB entry be filled by CLI and does TEIB concept apply for GRE
> also(besides IPIP)?
>
> 2) I assume the address 192.168.0.2  points to the GRE destination that's
> dynamically discovered. While the 10.1.1.1 address in your example below
> refer to the tunnel src address hosted in VPP?
>
>
>
> Regards
>
>
>
> On Fri, 25 Dec 2020, 04:49 Paul Vinciguerra, 
> wrote:
>
>> Hi Vijay,
>>
>> The Tunnel Endpoint Information Base (TEIB), is the database of
>> mappings.  It was formerly called NHRP in VPP.
>> It can be populated:
>>
>>1. via the 'tieb ipip0 peer 192.168.0.2 nh 10.1.1.1' command
>>2. or when the SA is established, via 'ipsec tunnel protect ipip0
>>sa-in 20 sa-out 30 nh 192.168.0.2'
>>
>> See the ipsec wiki page [0] for more info.
>>
>> [0] https://wiki.fd.io/view/VPP/IPSec
>>
>> On Thu, Dec 24, 2020 at 1:59 PM Vijay Kumar 
>> wrote:
>>
>>> Hi Paul,
>>>
>>> If you know about the below two questions that I asked in my last reply,
>>> could you plz answer?
>>>
>>>
>>> Regards.
>>>
>>> On Thu, 24 Dec 2020, 00:02 Vijay Kumar via lists.fd.io, >> gmail@lists.fd.io> wrote:
>>>
 Hi Paul,

 Question 1
 By physical addresses you mean the routable public IPs that form the
 tunnel src and tunnel dst addresses?

 In my use case there is a GRE traffic that is originating from 5G
 mobiles and is received by the N3IWF (wifi gateway) as shown in the below
 topo. The GRE traffic generated by UE is over IPSEC (the GRE pkts have ESP
 encap). In the production, there can be several thousands of 5G UEs that
 generate gre-over-ipsec traffic that will terminate on a single p2mp
 (multipoint) GRE interface on the N3IWF gateway as shown below.

 Question 2
 Since GRE is always encapsulated in IPSEC tunnel, do we still need to
 need to map the GRE tunnel addresses to physical addresses. I thought we
 would not be need GRE physical addresses in our use-case as there is the
 IPSEC that is always outermost hdr and would be used for routing


 Topo
 
 UE --(gre-over-ipsec traffic)--N3IWF

 On Wed, Dec 23, 2020 at 10:12 AM Paul Vinciguerra <
 pvi...@vinciconsulting.com> wrote:

> Hi Vijay,
>
> How are you planning to map the tunnel addresses to the
> physical addresses?
>
> On Tue, Dec 22, 2020 at 9:04 PM Vijay Kumar 
> wrote:
>
>> Hi Paul,
>>
>> Thanks for the information.
>>
>> Your script is talking about nhrp protocol.
>> Is NHRP protocol mandatory to support mGRE?
>>
>>
>> Regards
>>
>> On Wed, 23 Dec 2020, 01:24 Paul Vinciguerra, <
>> pvi...@vinciconsulting.com> wrote:
>>
>>> Hi Vijay.
>>>
>>> Does this help any?
>>> https://github.com/vpp-dev/vpp/blob/master/test/test_gre.py#L998
>>>
>>>
>>> On Tue, Dec 22, 2020 at 12:47 PM Vijay Kumar 
>>> wrote:
>>>
 Hi,

 Can someone help me understand if multipoint GRE (one gre interface
 that can communicate with multiple peers) is supported in the fd.ip GRE
 plugin?

 If yes, could you please share with me an example config for
 multi-point GRE. In the fd.io wiki pages, I am only seeing *p2mp 
 *configuration
 (point to multipoint) for IP-in-IP but not for GRE


 Please share me an example config that I can use to test


 Regards




 



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18430): https://lists.fd.io/g/vpp-dev/message/18430
Mute This Topic: https://lists.fd.io/mt/79154511/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [vpp-dev] VPP crashes when route is not reachable

2020-12-26 Thread Paul Vinciguerra
Hi Marcos,

I'm not sure what you're asking here.  Reinstalling VPP should give you the
same outcome.

The log you provided, points to vnet[2669]: #2 0x7f1e6cb16f11
ip4_lookup_node_fn + 0xad1.
To troubleshoot further, run gdb on the core file
 # gdb  

You may need to install the debug rpm of VPP, vpp-dbg, but do not run this
file in production.  My experience is that if you run the debug image
outside of a lab, it will likely crash.


root@ae2a2e85c5d4:/vpp/src# grep -r "ASSERT (0)" * | wc -l


127


On Thu, Dec 24, 2020 at 1:11 PM Marcos - Mgiga  wrote:

> Hi Paul,
>
>
>
> Ok, I will get the core file, but is this situation unusual ? Because if
> it is something so particular, maybe I should try reinstalling VPP.
>
>
>
> Best Regards
>
>
>
> *De:* vpp-dev@lists.fd.io  *Em nome de *Paul
> Vinciguerra
> *Enviada em:* quinta-feira, 24 de dezembro de 2020 14:26
> *Para:* Marcos - Mgiga 
> *Cc:* vpp-dev 
> *Assunto:* Re: [vpp-dev] VPP crashes when route is not reachable
>
>
>
> Hi Marcos,
>
>
>
> You can still edit the systemd service file.  That should give you a core
> file if vpp crashes.
>
>
>
>
>
>
>
> On Wed, Dec 23, 2020 at 12:46 PM Marcos - Mgiga 
> wrote:
>
> Hello Paul,
>
>
>
> No I haven’t. Actually I’ve installed VPP from packege manager. Do you
> think building VPP from source is a better way to deploy it?
>
>
>
> Best Regards
>
>
>
>
>
> Marcos
>
>
>
> *De:* vpp-dev@lists.fd.io  *Em nome de *Paul
> Vinciguerra
> *Enviada em:* quarta-feira, 23 de dezembro de 2020 13:33
> *Para:* Marcos - Mgiga 
> *Cc:* vpp-dev@lists.fd.io
> *Assunto:* Re: [vpp-dev] VPP crashes when route is not reachable
>
>
>
> Hi Marcos,
>
>
>
> Have you edited vpp.service and in commented the limitcore line?
>
>
>
>
> https://fdio-vpp.readthedocs.io/en/latest/troubleshooting/reportingissues/reportingissues.html
>
>
>
> On Dec 23, 2020, at 8:09 AM, Marcos - Mgiga  wrote:
>
> 
>
> Hi there,
>
>
>
> I’m trying to setup the attached topology (VPPTOPOLOGY.png) in order to
> work with VPP as CGN deterministic gateway.  VPP is intend to replace
> another CGN software, so the link between VPP and BGNRouter is not working
> yet.
>
>
>
> So I first linked VPP to Layer2 switch and I was able to ping border
> router from vpp and vice versa.
>
>
>
> When I add a static route on border router pointed to some of the networks
> specified as “VPP ROUTING TABLE” on the drawing and start a ping, VPP
> immediately crashes.
>
>
>
> I attached all VPP config files and a outfrom from “journalctl -u vpp” at
> the moment of the crash, called error vpp.txt.
>
>
>
> Hope that helps, I wasn’t able to get a trace since VPP stops working when
> that happens.
>
>
>
> Best Regards
>
>
>
> Marcos
>
> 
>
> 
>
> 
>
> 
>
>
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18429): https://lists.fd.io/g/vpp-dev/message/18429
Mute This Topic: https://lists.fd.io/mt/79238862/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-