Hi, We have a problem when test IPSEC GRE tunnnel,I want to send a stream into VPP,and forwarding via ipsec-gre interface, But VPP hang up, Maybe our configure has something wrong or someting wrong with ipsec-gre fowarding , can you help me?
our configure as follow: VPP1 create host-interface name eth2 mac 00:0c:29:6d:b0:82 set interface state host-eth2 up set interface ip address host-eth2 12.1.1.1/24 ipsec sa add 10 spi 1001 esp crypto-alg aes-cbc-128 crypto-key 4a506a794f574265564551694d653768 integ-alg sha1-96 integ-key 4339314b55523947594d6d3547666b45764e6a58 ipsec sa add 20 spi 1000 esp crypto-alg aes-cbc-128 crypto-key 4a506a794f574265564551694d653768 integ-alg sha1-96 integ-key 4339314b55523947594d6d3547666b45764e6a58 create ipsec gre tunnel src 12.1.1.1 dst 12.1.1.2 local-sa 10 remote-sa 20 set interface state ipsec-gre0 up create bridge-domain 1 create host-interface name eth3 mac 00:0c:29:6d:b0:8c set interface state host-eth3 up set interface l2 bridge host-eth3 1 set interface l2 bridge ipsec-gre0 1 vpp2 create host-interface name eth2 mac 2c:53:4a:03:93:31 create host-interface name eth3 mac 08:57:00:e8:b9:b5 set interface state host-eth2 up set interface state host-eth3 up set interface ip address host-eth3 12.1.1.2/24 ipsec sa add 10 spi 1001 esp crypto-alg aes-cbc-128 crypto-key 4a506a794f574265564551694d653768 integ-alg sha1-96 integ-key 4339314b55523947594d6d3547666b45764e6a58 ipsec sa add 20 spi 1000 esp crypto-alg aes-cbc-128 crypto-key 4a506a794f574265564551694d653768 integ-alg sha1-96 integ-key 4339314b55523947594d6d3547666b45764e6a58 create ipsec gre tunnel src 12.1.1.2 dst 12.1.1.1 local-sa 20 remote-sa 10 set interface state ipsec-gre0 up create bridge-domain 1 set interface l2 bridge host-eth2 1 set interface l2 bridge ipsec-gre0 1 when I send a stream into VPP1 host-eth3, VPP1 hang up, and the call stack as follow: VPP# /home/li/vpp18.01/build-data/../src/vnet/fib/ip4_fib.h:107 (ip4_fib_get) assertion `! pool_is_free (ip4_main.v4_fibs, _e)' fails (gdb) c Continuing. (gdb) bt #0 0x00002b7e3c0a0c37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x00002b7e3c0a4028 in __GI_abort () at abort.c:89 #2 0x0000000000406e5b in os_panic () at /home/li/vpp18.01/build-data/../src/vpp/vnet/main.c:294 #3 0x00002b7e3b9beb98 in debugger () at /home/li/vpp18.01/build-data/../src/vppinfra/error.c:84 #4 0x00002b7e3b9bef9f in _clib_error (how_to_die=2, function_name=0x0, line_number=0, fmt=0x2b7e3b5baf40 "%s:%d (%s) assertion `%s' fails") at /home/li/vpp18.01/build-data/../src/vppinfra/error.c:143 #5 0x00002b7e3b1395a6 in ip4_fib_get (index=1) at /home/li/vpp18.01/build-data/../src/vnet/fib/ip4_fib.h:107 #6 0x00002b7e3b13afea in ip4_lookup_inline (vm=0x2b7e3af457e0 <vlib_global_main>, node=0x2b7e3d1bb580, frame=0x2b7e3d63dbc0, lookup_for_responses_to_locally_received_packets=0) at /home/li/vpp18.01/build-data/../src/vnet/ip/ip4_forward.c:353 #7 0x00002b7e3b13b483 in ip4_lookup (vm=0x2b7e3af457e0 <vlib_global_main>, node=0x2b7e3d1bb580, frame=0x2b7e3d63dbc0) at /home/li/vpp18.01/build-data/../src/vnet/ip/ip4_forward.c:465 #8 0x00002b7e3acc6df0 in dispatch_node (vm=0x2b7e3af457e0 <vlib_global_main>, node=0x2b7e3d1bb580, type=VLIB_NODE_TYPE_INTERNAL, dispatch_state=VLIB_NODE_STATE_POLLING, frame=0x2b7e3d63dbc0, last_time_stamp=10282141928898) at /home/li/vpp18.01/build-data/../src/vlib/main.c:1010 #9 0x00002b7e3acc73d3 in dispatch_pending_node (vm=0x2b7e3af457e0 <vlib_global_main>, pending_frame_index=9, last_time_stamp=10282141928898) at /home/li/vpp18.01/build-data/../src/vlib/main.c:1160 #10 0x00002b7e3acc9583 in vlib_main_or_worker_loop (vm=0x2b7e3af457e0 <vlib_global_main>, is_main=1) at /home/li/vpp18.01/build-data/../src/vlib/main.c:1629 #11 0x00002b7e3acc9632 in vlib_main_loop (vm=0x2b7e3af457e0 <vlib_global_main>) at /home/li/vpp18.01/build-data/../src/vlib/main.c:1648 #12 0x00002b7e3acc9d7b in vlib_main (vm=0x2b7e3af457e0 <vlib_global_main>, input=0x2b7e3d034fb0) at /home/li/vpp18.01/build-data/../src/vlib/main.c:1806 #13 0x00002b7e3ad0c321 in thread0 (arg=47821154965472) at /home/li/vpp18.01/build-data/../src/vlib/unix/main.c:617 #14 0x00002b7e3b9d3570 in clib_calljmp () at /home/li/vpp18.01/build-data/../src/vppinfra/longjmp.S:128 #15 0x00007ffcb902dd70 in ?? () #16 0x00002b7e3ad0c7cb in vlib_unix_main (argc=4, argv=0x7ffcb902f008) at /home/li/vpp18.01/build-data/../src/vlib/unix/main.c:681 #17 0x0000000000406b37 in main (argc=4, argv=0x7ffcb902f008) at /home/li/vpp18.01/build-data/../src/vpp/vnet/main.c:233 (gdb) Thanks, Xyxue
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev