Hoi,

I think the crash is not our good way to demonstrate your config error, but
you should consider creating the GENEVE tunnel in "l3-mode" if you want to
use it as an L3 interface - by default the tunnel will be an L2 device (and
as such, should not be able to receive an IP address).

vpp# create geneve tunnel ?
  create geneve tunnel                     create geneve tunnel local
<local-vtep-addr> {remote <remote-vtep-addr>|group <mcast-vtep-addr>
<intf-name>} vni <nn> [encap-vrf-id <nn>] [decap-next [l2|node <name>]]
[l3-mode] [del]

groet,
Pim

On Tue, Oct 4, 2022 at 12:23 PM BAUER Stephan <stephan.ba...@sz-ybbs.ac.at>
wrote:

> Hello,
>
> I need to configure a geneve tunnel.
> I have a physical interface passed to VPP which should be used for the
> tunnel.
>
> I have the following configuration:
>
>
>
>
>
>
>
>
>
>
>
>
> *set int state GigabitEthernet2/6/0 upset int ip address
> GigabitEthernet2/6/0 10.10.1.1/24 <http://10.10.1.1/24>create
> host-interface name vpp1outset int state host-vpp1out upset int ip address
> host-vpp1out 10.10.4.2/24 <http://10.10.4.2/24>ip route add 10.10.5.0/24
> <http://10.10.5.0/24> via 10.10.1.2ip route add 10.10.2.0/24
> <http://10.10.2.0/24> via 10.10.1.2create geneve tunnel local 10.10.1.1
> remote 10.10.2.1 vni 13set int state geneve_tunnel0 upset int ip address
> geneve_tunnel0 10.10.3.1/24 <http://10.10.3.1/24>*
>
> When trying to ping something over the geneve tunnel (ping 10.10.3.2) VPP
> crashes with a SIGSEGV.
>
> From gdb i get the following message (gdb):
>
>
>
>
>
>
>
>
>
>
>
> *Thread 1 "vpp_main" received signal SIGSEGV, Segmentation
> fault.0x00007f259b440ce3 in ip4_glean_node_fn () from
> /lib/x86_64-linux-gnu/libvnet.so.22.06(gdb) bt#0  0x00007f259b440ce3 in
> ip4_glean_node_fn () from /lib/x86_64-linux-gnu/libvnet.so.22.06#1
>  0x00007f259ae73f02 in ?? () from /lib/x86_64-linux-gnu/libvlib.so.22.06#2
>  0x00007f259ae72465 in vlib_main () from
> /lib/x86_64-linux-gnu/libvlib.so.22.06#3  0x00007f259aedff4b in ?? () from
> /lib/x86_64-linux-gnu/libvlib.so.22.06#4  0x00007f259adc7c94 in
> clib_calljmp () from /lib/x86_64-linux-gnu/libvppinfra.so.22.06#5
>  0x00007fff0d2c5ff0 in ?? ()#6  0x00007f259aedfd55 in vlib_unix_main ()
> from /lib/x86_64-linux-gnu/libvlib.so.22.06*
> Any Idea, why this happens?
> I am using Ubuntu 20.04 LTS with VPP Version 22.06 (also tested with VPP
> 21.06 and 20.09).
>
> Thanks in advance,
> Stephan
>
> 
>
>

-- 
Pim van Pelt <p...@ipng.nl>
PBVP1-RIPE - http://www.ipng.nl/
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21966): https://lists.fd.io/g/vpp-dev/message/21966
Mute This Topic: https://lists.fd.io/mt/94110356/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to